commit | 850f8b5d77d0842979cabc048387128225fc5ab1 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Dec 23 16:09:07 2019 -0800 |
committer | Yifan Hong <elsk@google.com> | Fri Jan 10 13:17:56 2020 -0800 |
tree | d85b99ae0b04cdc65d45480c78d5671be443cc81 | |
parent | 42f2c761bfd079ea9570dd8aa50cc1b64ed7e1db [diff] |
Add check-vintf-all target. Add target that checks VINTF compatibility of the current build (in $PRODUCT_OUT) properly. The target: - Doesn't require a full build - Won't run for system-only AOSP targets A verbose log is printed if `m check-vintf-compatible` is executed, but it won't show up if `m` is executed. (After this patch, adding product / system_ext matrices is as simple as defining a vintf_compatibility_matrix in Soong, and VINTF compatibility is properly checked.) Test: m check-vintf-all Test: delete */etc/vintf and m check-vintf-all Test: m Test: m check-vintf-all on device with vendor/odm and ODM SKU-specific manifests Test: change manifest.xml to be incompatible and m check-vintf-all fails Bug: 140280874 Bug: 140360109 Change-Id: I6ee79910d745d29cfc9b05b1435e26f91b7c10f7
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.