Go to file
Tao Bao 937847ae49 Split large files for BBOTA v3.
For BBOTA v3, we need to stash source blocks to support resumable
feature. However, with the growth of file size and the shrink of the
cache size, source blocks that represent a file are too large to be
stashed as a whole. CL in [1] solves the issue by replacing the diff
command with a "new" command. However, it may increase the generated
package size substantially (e.g. from ~100MB to ~400MB).

With this CL, if a file spans too many blocks, we split it into smaller
pieces by generating multiple commands. For the same case above, it
reduces the package size to ~150MB.

One potential downside is that after splitting, files like .jar,
.apk and .zip can no longer use imgdiff. We may lose the potential
benefit of using imgdiff for patch size reduction.

[1] commit 82c47981bd

Bug: 22430577
Change-Id: Iee1ad6543f3d40368e079e418cc31728e1ab3f48
(cherry picked from commit 9a5caf2c30)
2015-08-26 15:00:38 -07:00
core am c69aa42b: Merge "Set the Security Patch level for MNC" into mnc-dev 2015-08-26 03:49:10 +00:00
libs/host Remove HAVE_SYMLINKS. 2015-01-12 17:21:01 -08:00
target am 956e4693: Increasing MIPS emulator system image size and user-data image size 2015-08-18 18:28:45 +00:00
tools Split large files for BBOTA v3. 2015-08-26 15:00:38 -07:00
.gitignore Delete .swp file added by accident. 2014-07-22 17:42:35 -07:00
CleanSpec.mk Fix issie #23116383: Include security patch level in Settings 2015-08-12 16:29:08 -07:00
buildspec.mk.default Remove WEBCORE_INSTRUMENTATION and ENABLE_SVG 2013-07-25 15:52:17 -07:00
envsetup.sh selinux: add tools to dev path 2015-06-12 20:02:25 +00:00