OSDN Git Service

Build: Add sanitized app_process
authorAndreas Gampe <agampe@google.com>
Wed, 30 Nov 2016 03:22:01 +0000 (19:22 -0800)
committerAndreas Gampe <agampe@google.com>
Wed, 30 Nov 2016 03:22:01 +0000 (19:22 -0800)
Add sanitized app_process module to PRODUCT_PACKAGES when building
with SANITIZE_LITE=true

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

target/product/base.mk

index 2eb20aa..1909546 100644 (file)
@@ -129,6 +129,13 @@ PRODUCT_PACKAGES += \
     vold \
     wm
 
+# In SANITIZE_LITE, we have a specialized modules that are sanitized.
+ifeq ($(SANITIZE_LITE),true)
+PRODUCT_PACKAGES += \
+    app_process__asan \
+
+endif
+
 # Packages included only for eng or userdebug builds, previously debug tagged
 PRODUCT_PACKAGES_DEBUG := \
     perfprofd