commit | 512165564316a45746e06c26e9b60153f22e9446 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Sun Aug 26 11:53:15 2018 -0700 |
committer | Tao Bao <tbao@google.com> | Wed Aug 29 11:53:19 2018 -0700 |
tree | 048de43dc7100e78bc11aad95535e0b4911ff998 | |
parent | 04552fed3b254c239204459ca769d7c1478c873d [diff] |
releasetools: Track edify function API changes. In particular, it replaces the generated calls to edify function of `apply_patch()` and `apply_patch_check()` with `patch_partition()` and `patch_partition_check()` instead. It adds two functions to EdifyGenerator: PatchPartition() and PatchPartitionCheck() for Python releasetools callers. It also tries to handle the callers of obsolete EdifyGenerator.PatchCheck() and EdifyGenerator.ApplyPatch(), if their inputs are in known format. Otherwise it raises an exception to avoid generating an OTA that updater doesn't understand. It requires the matching updater changes in the same topic. Bug: 110106408 Test: Generate an incremental package with the new script and updater. Apply the package on device. Test: Revert the change in ota_from_target_files.py, so that it calls the obsolete EdifyGenerator functions. Check that it generates the same incremental package. Change-Id: Ifc55cb40d3a45116fd4d408536d037eca249effa
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.