commit | 3df4d5eb6d0ac484e13905480ac1e6c991749fd5 | [log] [tgz] |
---|---|---|
author | xunchang <xunchang@google.com> | Thu Dec 06 15:03:45 2018 -0800 |
committer | xunchang <xunchang@google.com> | Wed Dec 19 20:21:25 2018 -0800 |
tree | 8c00b744dcbf71f1b9da526e5a491b313cc637c0 | |
parent | 632d154393f4455e90c5de1189de4ca476cc9e78 [diff] |
blockimgdiff: add a function to select and convert 'diff' to new Package size will be unintended large if we stash more blocks than the stash limit specified by the cache size. To reduce the maximum size of simultaneous stashed blocks, we will inevitably convert some 'diff' commands to 'new' commands. To mitigate the impact, we add a new function to smartly select the transfers to convert based on their patch size and compressed size. This cl converts the transfers that have a larger patch size than the compressed target sizes. And there's a slightly improvement in the final package size: from 194M -> 185M. Bug: 120561199 Test: build a non-A/B incremental package, run simulator Change-Id: Id73ff736ba4e6901d245ad5549d42310d0740284
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.