platform_build/tools/releasetools
Dan Willemsen 2ee00d5f66 Allow add_img_to_target_files to work on a directory
In addition to the current behavior of add_img_to_target_files working
on an existing zip file, allow passing in a directory where the target
files have already been extracted. When in this mode, it writes the
images out to that directory instead of the zip file.

This allows us to call add_img_to_target_files on the temp directory
used during the build to create the target files package, saving the
time and space of unzipping what we just zipped. This also allows us to
use the parallel soong_zip, which compresses the images much faster.

Test: aosp_marlin target_files zip is the same before/after this change
Test: marlin target_files zip is the same before/after this change
Test: bullhead target_files zip is the same before/after this change
Change-Id: I155654cdc7ad7754ba4ef76ec69c31f504a58198
2017-03-07 14:37:52 -08:00
..
add_img_to_target_files store images in target-files 2014-07-31 11:06:30 -07:00
add_img_to_target_files.py Allow add_img_to_target_files to work on a directory 2017-03-07 14:37:52 -08:00
blockimgdiff.py releasetools: Fix an equality check bug when asserting stash size. 2017-02-26 10:58:22 -08:00
build_image.py Pass flash erase & logical block size to mke2fs 2017-01-13 12:17:05 -08:00
check_ota_package_signature.py Change the default parameter values in common.MakeTempFile(). 2016-09-19 13:58:49 -07:00
check_target_files_signatures Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
check_target_files_signatures.py Revert "Revert "releasetools: Use pattern filter when unzipping."" 2017-03-05 13:11:42 -08:00
common.py Allow add_img_to_target_files to work on a directory 2017-03-07 14:37:52 -08:00
edify_generator.py releasetools: allow for multiple OEM property values. 2017-02-21 16:09:34 +00:00
img_from_target_files Allow to build the update.zip for emulator build. 2014-06-04 17:04:14 +00:00
img_from_target_files.py releasetools: Replace print stmt with print(). 2017-01-13 14:55:14 -08:00
make_recovery_patch Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
make_recovery_patch.py releasetools: Replace print stmt with print(). 2017-01-13 14:55:14 -08:00
ota_from_target_files Fix build. 2015-09-15 07:50:10 +00:00
ota_from_target_files.py Merge "releasetools: Remove the obsolete path in GetImage()." 2017-03-07 06:20:04 +00:00
pylintrc Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
rangelib.py Analyze unchanged blocks in odex files. 2016-09-23 12:15:23 -07:00
sign_target_files_apks Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
sign_target_files_apks.py releasetools: Use java_path in sign_target_files_apks.py. 2016-11-08 12:48:43 -08:00
sparse_img.py Fix metadata location when file system doesn't span the partition 2016-02-10 10:53:47 -08:00
target_files_diff.py target_files_diff: Fix the issue with file type change. 2016-04-25 18:35:20 +00:00
test_blockimgdiff.py blockimgdiff.py: Add a test case for ReviseStashSize(). 2016-12-19 11:17:12 -08:00
test_common.py Fix the permission setting in common.ZipWriteStr() 2015-05-20 13:29:03 -07:00
test_rangelib.py Analyze unchanged blocks in odex files. 2016-09-23 12:15:23 -07:00