commit | 5d46c6133b5edbd6de03ddd1440a310daf8b7f3a | [log] [tgz] |
---|---|---|
author | Cole Faust <colefaust@google.com> | Tue Apr 12 13:23:04 2022 -0700 |
committer | Cole Faust <colefaust@google.com> | Tue Apr 12 13:43:28 2022 -0700 |
tree | 78e504c6593c24e8334de1af1aa0118c93f691fe | |
parent | ea935b5ad9f19e5c44663feed3a620ea8c54c467 [diff] |
Allow setting PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS to false Some products clear PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS in order to disable it. But oftentimes this clearing relies on the fact that clearing a variable will also cause it to not inherit from any already-inherited files. Starlark doesn't support this inheritance behavior, so allow setting PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS to false so that it can be explicetly disabled instead of relying on the clearing behavior. Bug: 221312707 Test: Manually Change-Id: I03a227911c6985a65fc5d210682bbd4ac9bd6747
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.