Additional dex preopt blacklist for ASAN targets.
Adds a bunch of extra apps to the dex preopt blacklist for ASAN Angler
builds (now possible with ag/2008823). This looks a little extreme,
but Angler builds are under much tighter space pressure than other
devices that support ASAN, and this only incurs a one-time cost at
first boot - so this seems like an acceptable (somewhat)
future-proofed solution.
Bug: 36458146
Test: lunch angler_asan-userdebug && m -j40 && m -j40 SANITIZE_TARGET=address
Change-Id: I8261c0a85f0a1c0b5ecf0e2125e161a5cd810d04
diff --git a/device.mk b/device.mk
index 529f578..7cd29a4 100644
--- a/device.mk
+++ b/device.mk
@@ -568,10 +568,15 @@
Volta \
Wallet \
-ifneq (,$(filter address,$(SANITIZE_TARGET)))
-# Blacklist more apps in ASANitized builds.
+# Get rid of dex preoptimization for additional modules for sanitized builds.
+ifneq (,$(filter asan,$(PRODUCT_NAME)))
ANGLER_DONT_DEXPREOPT_MODULES += \
- Hangouts
+ Chrome \
+ com.google.android.camera.experimental2016 \
+ Hangouts \
+ Maps \
+ Music2 \
+ Youtube
endif
$(call add-product-dex-preopt-module-config,$(ANGLER_DONT_DEXPREOPT_MODULES),disable)