platform_build/tools
Tao Bao bea20ac722 releasetools: Refactor AddImagesToTargetFiles().
Separate three functions out of AddImagesToTargetFiles(), into
AddCareMapTxtForAbOta(), AddRadioImagesForAbOta() and
AddPackRadioImages() respectively. This CL tries to apply minimal
changes for the refactoring purpose.

Also add tests for AddRadioImagesForAbOta() and AddPackRadioImages().
The tests for AddCareMapTxtForAbOta() require better testing support to
mock sparse_img.SparseImage, which will be added in later CLs.

Test: python -m unittest test_add_img_to_target_files
Test: `m dist` with aosp_marlin-userdebug. Check META/care_map.txt in
      the generated target_files.zip.
Change-Id: I1bb723c15237ff721f165cfce0ce996008ce9948
2018-01-18 23:37:23 -08:00
..
acp Use -Werror in build/make 2017-10-03 13:53:13 -07:00
apicheck PDK fix. Remove conditional that stops component from being in PDK. 2017-11-06 11:57:06 -08:00
atree Use -Werror in build/make 2017-10-03 13:53:13 -07:00
droiddoc Replace build/tools with build/make/tools 2017-12-06 16:12:40 -08:00
fs_config Convert to Android.bp 2017-09-09 13:47:34 -07:00
fs_get_stats Use -Werror in build/make 2017-10-03 13:53:13 -07:00
libhost Fix / suppress warnings for clang+mingw 2017-11-29 20:54:33 -08:00
makeparallel Add -lm to the default libs for Linux & Darwin 2017-09-26 20:26:11 -07:00
releasetools releasetools: Refactor AddImagesToTargetFiles(). 2018-01-18 23:37:23 -08:00
signapk Convert signapk to Android.bp 2017-11-09 15:11:34 -08:00
signtos Convert signtos to Android.bp 2017-11-21 03:26:31 +00:00
zipalign zipalign: Fix build failure in static_sdk_tools. 2017-11-06 11:12:08 -08:00
ziptime Use -Werror in build/make 2017-10-03 13:53:13 -07:00
Android.mk Remove the need to find Android.mk files via directory symlinks 2017-08-07 14:21:20 -07:00
auto_gen_test_config.py Test config should use manifest package attribute 2017-12-22 13:34:50 -08:00
auto_gen_test_config_test.py Test config should use manifest package attribute 2017-12-22 13:34:50 -08:00
brillo-clang-format
buildinfo.sh Split board-specific system properties into vendor partition 2017-02-27 13:35:37 +09:00
check_builds.sh Replace build/tools with build/make/tools 2017-12-06 16:12:40 -08:00
check_link_type.py Fix link_type checking 2016-09-15 14:40:39 -07:00
check_radio_versions.py
checkowners.py Accept alternative email addresses. 2017-09-07 13:07:26 -07:00
compare_fileslist.py
dump-package-stats Ignore zip comments in dump-package-stats 2017-10-03 18:57:18 -07:00
event_log_tags.py
fat16copy.py fat16copy: Allow to copy files to an existing directory. 2017-02-13 16:00:07 +00:00
fileslist_util.py build: tools: Add json collection of installed files with hashes. 2016-10-20 10:07:13 -07:00
filter-product-graph.py
findleaves.py findleaves.py: prevent recursion into symlink loops 2016-11-03 14:29:40 -07:00
fixlinebreaks.sh
generate-enforce-rro-android-manifest.py Enforce RROs for all the build-time ROs 2017-03-30 10:43:38 +09:00
generate-notice-files.py Silence superfluous build messages. 2017-11-15 10:34:01 -08:00
java-event-log-tags.py Allow converting logtags to java without merged logtags file 2017-11-16 14:58:05 -08:00
java-layers.py
merge-event-log-tags.py
mktarball.sh
normalize_path.py
OWNERS Add OWNERS in build/make 2017-06-21 16:09:56 -07:00
parsedeps.py
post_process_props.py Merge "Allow ro. properties to have arbitrary lengths" 2017-10-17 22:42:04 +00:00
print_module_licenses.sh
product_debug.py
soong_to_convert.py Add java modules to soong_to_convert.txt 2017-12-06 15:38:52 -08:00
vendor_buildinfo.sh Rename ro.vendor.product.* to ro.product.vendor.* 2017-11-01 10:11:32 +09:00
warn.py Warn: Change GuardedBy regular expressions 2018-01-17 21:28:21 -08:00