diff options
author | Alex Light <allight@google.com> | 2014-08-04 17:09:41 -0700 |
---|---|---|
committer | Alex Light <allight@google.com> | 2014-08-11 16:40:23 +0000 |
commit | 440cc769a3617bf99546bdc7599c949e1e858943 (patch) | |
tree | 8870760119505930a6e3cb961f151ac9ea0b6b2d /core/product.mk | |
parent | ce06199a047f81d6afe522ab4e6f489deecb46f3 (diff) | |
download | build-440cc769a3617bf99546bdc7599c949e1e858943.zip build-440cc769a3617bf99546bdc7599c949e1e858943.tar.gz build-440cc769a3617bf99546bdc7599c949e1e858943.tar.bz2 |
Add a WITH_DEXOPT_BOOT_IMG_ONLY configuration option.
If WITH_DEXOPT_BOOT_IMG_ONLY=true and WITH_DEXPREOPT=true then we will
only preopt the boot.art and boot.oat files, leaving everything else to
be compiled at first boot. This has fast startup times of WITH_DEXPREOPT
but has a smaller space usage and allows one to update the non-image
parts of /system without reflashing.
Bug: 16938924
Change-Id: Ib366b6b5ad80f7078f01bf51f9fbc29ea7e5d777
Diffstat (limited to 'core/product.mk')
-rw-r--r-- | core/product.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/product.mk b/core/product.mk index fd405ad..dbf49b5 100644 --- a/core/product.mk +++ b/core/product.mk @@ -253,7 +253,8 @@ _product_stash_var_list += \ _product_stash_var_list += \ DEFAULT_SYSTEM_DEV_CERTIFICATE \ - WITH_DEXPREOPT + WITH_DEXPREOPT \ + WITH_DEXPREOPT_BOOT_IMG_ONLY # # Stash values of the variables in _product_stash_var_list. |