commit | 749c1955a29e2f8ae525c7499ce643b9197375ca | [log] [tgz] |
---|---|---|
author | Joe Onorato <joeo@google.com> | Sun Feb 21 22:22:13 2021 -0800 |
committer | Joe Onorato <joeo@google.com> | Tue Feb 23 22:40:39 2021 -0800 |
tree | c4011cdcbeb6e6dfe40c0a82bdc92bde70aa3101 | |
parent | fbabf703948babf3ded4f80a291694f02d6c1a92 [diff] |
ALLOW_RULES_IN_PRODUCT_CONFIG If ALLOW_RULES_IN_PRODUCT_CONFIG is set, pass it to kati via .KATI_ALLOW_RULES, to issue warnings or errors about rules during product configuration. Test: CHECK_FOR_RULES=true ./build/make/tools/product_config/test.sh Test: ALLOW_RULES_IN_PRODUCT_CONFIG=error m nothing Test: ALLOW_RULES_IN_PRODUCT_CONFIG=warning m nothing Test: m nothing Change-Id: I35dd9ffe4ec71f97beaa8b8a2f10d80502088af2
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.