commit | c4dc1f69c563f6c59158e9bdfcc400340f329f5e | [log] [tgz] |
---|---|---|
author | Jihoon Kang <jihoonkang@google.com> | Thu Mar 14 20:43:37 2024 +0000 |
committer | Jihoon Kang <jihoonkang@google.com> | Thu Mar 14 20:43:37 2024 +0000 |
tree | cff49c2e982d54caff7079f68c6c71c3159910b4 | |
parent | a0a131aa3dee359fdab0f6cf7cd7c96f23c8b325 [diff] |
Disable WITHOUT_CHECK_API for SDK products SDK products, which are required to build the SDK, require checkapi to run in order to generate the exportable artifacts, which are copied to the dist directory. Thus, this change adds a conditional to emit an error when WITHOUT_CHECK_API environment variable is set when the target product is a SDK variant. Test: lunch sdk-trunk_staging-eng && m WITHOUT_CHECK_API=true and observe the expected error being emitted Bug: 329374072 Change-Id: I0dc628742c49845792b03f9af1ea60cd9eb4b8c3
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.