Move angler to default preopt.
We can now remove the no preopt list.
bug:33799337
bug:36534079
Test: m -j32 angler
Change-Id: I310b3811ba75a0c4247c4c982b955b8831eb71a2
diff --git a/device.mk b/device.mk
index c95c6a5..9251b08 100644
--- a/device.mk
+++ b/device.mk
@@ -550,35 +550,6 @@
$(call add-product-dex-preopt-module-config,wifi-service,--generate-mini-debug-info)
endif
-# Get rid of dex preoptimization to save space within system.img at the one
-# time cost of dexing on first boot. This list can be found by running:
-# grep odex $ANDROID_PRODUCT_OUT/installed-files.txt
-# Sorted by *.odex size
-ANGLER_DONT_DEXPREOPT_MODULES := \
- BetterBug \
- CloudPrint2 \
- GoogleHindiIME \
- GooglePinyinIME \
- KoreanIME \
- Photos \
- PlayGames \
- Videos \
- Volta \
- Wallet \
-
-# Get rid of dex preoptimization for additional modules for sanitized builds.
-ifneq (,$(filter asan,$(PRODUCT_NAME)))
-ANGLER_DONT_DEXPREOPT_MODULES += \
- Chrome \
- com.google.android.camera.experimental2016 \
- Hangouts \
- Maps \
- Music2 \
- Youtube
-endif
-
-$(call add-product-dex-preopt-module-config,$(ANGLER_DONT_DEXPREOPT_MODULES),disable)
-
# setup dalvik vm configs.
$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)