dexpreopt: trim more fat
l10n builds are significantly bigger. Remove more dexpreoptimized apps.
Test: rm -rf $OUT/system/priv-app/Shell/ $OUT/system/priv-app/Overscan;
make -j;
<build success>
Bug: 32558543
Change-Id: I9d302043a113e731aae8247a2aa26ab4d3934bad
(cherry picked from commit f60a1da5a4ed52346deabb7888ae2a8d656e986e)
(cherry picked from commit 0b1563696a740f52ccf4c81aa5c19fdda1bed850)
diff --git a/device.mk b/device.mk
index b0c39eb..6b095ba 100644
--- a/device.mk
+++ b/device.mk
@@ -317,6 +317,14 @@
CertInstaller \
KeyChain \
UserDictionaryProvider
+
+# l10n builds are larger so trim further
+ifneq (,$(filter fugu_l10n, $(TARGET_PRODUCT)))
+FUGU_DONT_DEXPREOPT_MODULES += \
+ Shell \
+ Overscan
+endif
+
$(call add-product-dex-preopt-module-config,$(FUGU_DONT_DEXPREOPT_MODULES),disable)
# Some CTS tests will be skipped based on what the initial API level that