commit | 45433e44ddd8a4628f650832c5eeee8f1d1ba8be | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Fri Jan 18 13:55:25 2019 -0800 |
committer | Yifan Hong <elsk@google.com> | Fri Jan 18 17:09:33 2019 -0800 |
tree | e5c760edefe89a5e7635d3c43b027d83058c4c02 | |
parent | 7cda7650da0088192531e6c5fafd524365ce3774 [diff] |
Really support removing / adding partitions. - When removing a partition, BlockDifference() object will have tgt=EmptyImage(). Fix the asserts accordingly. Also, BlockDifference object now allow tgt=None case. - When adding a partition, BlockDifference() object will have src=None. Fix the asserts accordingly. Also, add unit tests to DynamicPartitionsDifference. Test: create incremental OTA Test: test_common.DynamicPartitionsDifferenceTest Bug: 111801737 Change-Id: I3a35378ecf93111b8f44545cff6ae9696b6b4851
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.