commit | 4873e65c8d251a717e5d93025484b35f03ed2fb5 | [log] [tgz] |
---|---|---|
author | Vic Yang <victoryang@google.com> | Wed Jan 08 14:39:10 2020 -0800 |
committer | Vic Yang <victoryang@google.com> | Tue Jan 14 20:05:49 2020 -0800 |
tree | eb1e1e4600619738734e946d38742da8e901b61b | |
parent | 2cfd95268237959d3de55ed9dd35161a4d70d79e [diff] |
Always check VNDK variant identicalness Previously, we only check VNDK core and vendor variants are identical when a VNDK library is not declared to have different variants AND the target has TARGET_VNDK_USE_CORE_VARIANT set. Therefore, it is fairly easily to break a TARGET_VNDK_USE_CORE_VARIANT target as it needs to be tested explicitly. This change uses the new LOCAL_CHECK_SAME_VNDK_VARIANTS and expands the check to run regardless of TARGET_VNDK_USE_CORE_VARIANT. Also adds support for VNDK-in-product. Bug: 145157349 Test: Build success for targets with and without TARGET_VNDK_USE_CORE_VARIANT. Test: With the corresponding change in build/make, remove libbinder from build/soong/cc/config/vndk.go and check build fails even when TARGET_VNDK_USE_CORE_VARIANT is not set. Change-Id: Iec708b971072e6580f77a03e243b30b89b3b054d
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.