commit | 9276cf0226d341927d0a7e682a8db677e25ae5dd | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Aug 21 16:37:04 2019 -0700 |
committer | Yifan Hong <elsk@google.com> | Wed Aug 28 11:02:26 2019 -0700 |
tree | f90d1c8c1be0d2aaa38b58d9516f4e8dd529536d | |
parent | ccb86fe7d47b01ce06a968c0d2bc8d4024b8b8a6 [diff] |
Check VINTF compatibility at OTA generation time. Instead of relying on META/{system,vendor}_{manifest,matrix}.xml and blindly copy compatibility.zip from target files package to OTA package, do a static check on the input target files package before generating the OTA package. META/{system,vendor}_{manifest,matrix} does not contain ODM manifest fragments, which is incorrect. Also, the on-device check of compatibility.zip uses a old libvintf binary on the device, which may not understand the incoming VINTF metadata. This change removes the on-device check. Hence, it removes the requirement of forwards compatibility of libvintf. This behavior can be skipped with --skip-compatibility-check. Test: build OTA package Bug: 139300422 Bug: 131425279 Change-Id: I7fb93be9eb73f578fc05a182c6c9d1f073db2800
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.