fugu: stop dex preopt'ing
Instead of selectively dex preopt'ing apps, don't do so for any apps.
Bug: 34637939
Bug: 34692070
Bug: 34732774
Test: rm -rf $OUT/system; make;
Change-Id: I1d3f278029c71e09f008aee2d452c0ffd5516b5c
diff --git a/device.mk b/device.mk
index 675b589..13bbc60 100644
--- a/device.mk
+++ b/device.mk
@@ -295,36 +295,9 @@
PRODUCT_COPY_FILES += \
device/asus/fugu/init.fugu.countrycode.sh:system/bin/init.fugu.countrycode.sh
-# Get rid of dex preoptimization to save space for the system.img
-# Sorted by *.odex size
-FUGU_DONT_DEXPREOPT_MODULES := \
- NoTouchAuthDelegate \
- ConfigUpdater \
- SecondScreenSetup \
- SecondScreenSetupAuthBridge \
- TvSettings \
- SetupWraith \
- GooglePackageInstaller \
- GoogleContactsSyncAdapter \
- BugReportSender \
- ContactsProvider \
- PrintSpooler \
- CalendarProvider \
- CanvasPackageInstaller \
- SettingsProvider \
- ituxd \
- StatementService \
- ExternalStorageProvider \
- FrameworkPackageStubs \
- CertInstaller \
- KeyChain \
- UserDictionaryProvider \
- DownloadProvider \
- Shell \
- Overscan \
- RemoteControlService
-
-$(call add-product-dex-preopt-module-config,$(FUGU_DONT_DEXPREOPT_MODULES),disable)
+# Get rid of dex preoptimization to save space within system.img at the one
+# time cost of dexing on first boot.
+WITH_DEXPREOPT_BOOT_IMG_ONLY := true
# Some CTS tests will be skipped based on what the initial API level that
# shipped on device was.