commit | 74dc00b88f22df69659ffde13acb047ef7116858 | [log] [tgz] |
---|---|---|
author | Anton Hansson <hansson@google.com> | Wed Feb 27 14:38:27 2019 +0000 |
committer | Anton Hansson <hansson@google.com> | Wed Feb 27 15:03:23 2019 +0000 |
tree | bb1352380f04f8301825b39c8253e62b7a81d99b | |
parent | 72e36f0278228b5f540b3c26f8c0cb1d05842c2a [diff] |
Move WITH_DEXPREOPT default value This allows setting the variable READONLY after reading the BoardConfig. This is safe to do because this flag is only set in BoardConfig.mk files. The same is not true for many of the other default preopt flags, like DEX_PREOPT_DEFAULT or WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY which are set in mixture of product / board config files. Test: boot blueline Change-Id: I961ba581f9790bcdc7cf6b36d8b53bcdb8861a92
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.