commit | 877586c8c8d394fe32f54c300ba28a4e5eff9764 | [log] [tgz] |
---|---|---|
author | yangbill <yangbill@google.com> | Mon Apr 19 20:30:17 2021 +0800 |
committer | yangbill <yangbill@google.com> | Mon Apr 19 20:34:07 2021 +0800 |
tree | a3f7e7cfe600f997f94f66dc8096099808161412 | |
parent | 2c80511bd60b2f9844fb49d7152f7c265cbe7155 [diff] |
Only allow LOCAL_IS_UNIT_TEST set to ALL_MODULES if defined. To prevent the argument be cleaned if the same module name with different unit_test value, treat it as unit test if one of the module is treated as unit tests. Bug: 176096135 Test: m out/target/product/generic/module-info.json Change-Id: Iee4ee1063d47dcba1aaf915ec9e4e56f8c7df787
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.