commit | 2c583744cbe5f60370eb8879c310df37b290ff98 | [log] [tgz] |
---|---|---|
author | Justin Yun <justinyun@google.com> | Wed Nov 29 18:09:39 2023 +0900 |
committer | Justin Yun <justinyun@google.com> | Thu Nov 30 05:30:48 2023 +0000 |
tree | bd6826acbf6dbb33475da82d0857011e05085309 | |
parent | 4605c0ec76f9b27741814090bf1841835384f8d7 [diff] |
Define __ANDROID_VENDOR_API__ cc modules can use __ANDROID_VENDOR_API__ to read BOARD_API_LEVEL that is the API level of the vendor surface. Bug: 313822931 Test: check ninja commands to have -D__ANDROID_VENDOR_API__=<version> Change-Id: I868b88ae72b4f60bc3d5ad567fbacd2222dd62d7
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.