commit | bf0c0e68568a2321d1b4c0e9170b31dcfc7cdb54 | [log] [tgz] |
---|---|---|
author | Jiakai Zhang <jiakaiz@google.com> | Mon Nov 06 17:55:59 2023 +0000 |
committer | Jiakai Zhang <jiakaiz@google.com> | Thu Nov 09 16:50:18 2023 +0000 |
tree | 8a3f7f365a49ea770ea8bcebe28eea62deb64f82 | |
parent | 7707456104d035f6032cbee904745a2e33aa4701 [diff] |
Add a Make variable to disable all dexpreopt and dexopt activities. This change adds a Make variable "OVERRIDE_DISABLE_DEXOPT_ALL", which disables all dexpreopt and dexopt activities. This is for faster iteration during development and should never be enabled for production. Bug: 309011617 Test: See no dex2oat invocation during build. Test: Boot and see no dex2oat invocation during boot, except for the in-memory boot image for JIT Zygote. Change-Id: I0193b57fdb18e1fb717f44af81d1cf525f1609ee
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.