commit | 46ea5dc99a22c71d33ce61a72eaf9a78281d2767 | [log] [tgz] |
---|---|---|
author | Zhi Dou <zhidou@google.com> | Fri Dec 09 22:17:29 2022 +0000 |
committer | Zhi Dou <zhidou@google.com> | Tue Dec 20 16:06:20 2022 +0000 |
tree | 229c693368d6e45af6890e211a38c675c304cda8 | |
parent | 2dcc38701b38bddf62e4dfc25d9e063ba5e5f203 [diff] |
Add condition check of KEEP_APEX_INHERIT Add environment variable KEEP_APEX_INHERIT condition check to set the proper value of Soong conditional variable library_linking_strategy. If the KEEP_APEX_INHERIT exists, the "min_sdk_version" in condition will be set to "apex_inherit". For more detail: https://docs.google.com/document/d/1R2vZw0cQa-haAMgFyQ682uSq9aGBNQrzMHKIsU17-XY/edit?usp=sharing&resourcekey=0-gUbs463r9LCKs7vdP_Xkmg Test: build module locally, and check the corresponding change. Presbumit Bug: 254634795 Change-Id: I0ddc999a19d9f164477d69be0e4aebc91e06a3ad Merged-In: Ic5da1c83b3b9c090bc2a24d36b1a4ac936ce1a59
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.