OSDN Git Service

Build: Add asanwrapper in SANITIZE_LITE
authorAndreas Gampe <agampe@google.com>
Wed, 30 Nov 2016 18:20:20 +0000 (10:20 -0800)
committerAndreas Gampe <agampe@google.com>
Wed, 30 Nov 2016 18:20:20 +0000 (10:20 -0800)
Add asanwrapper helper binary to PRODUCT_PACKAGES when building with
SANITIZE_LITE=true.

Bug: 33224213
Test: m SANITIZE_TARGET=address SANITIZE_LITE=true && ls $OUT/system/bin/asanwrapper
Change-Id: Ic4d8973b9e9ddfd9ef8663735bf5f70d8f9f70e1

target/product/base.mk

index 1909546..e0ceedc 100644 (file)
@@ -131,6 +131,11 @@ PRODUCT_PACKAGES += \
 
 # In SANITIZE_LITE, we have a specialized modules that are sanitized.
 ifeq ($(SANITIZE_LITE),true)
+# Pull in the asan wrapper binary.
+PRODUCT_PACKAGES += \
+    asanwrapper \
+
+# Pull in the specialized binaries.
 PRODUCT_PACKAGES += \
     app_process__asan \