platform_build/tools/releasetools
Alex Klyubin b05b62df2e Sign APKs using SHA-256 instead of SHA-1 when possible.
This changes the build system to provide the signapk tool with the
minSdkVersion of the APK being signed. signapk in turn will then use
SHA-256 instead of SHA-1 if minSdkVersion is 18 (JB MR2) or higher
(see c2c49ed0c1).

To avoid increasing incremental OTA update package sizes for already
released platforms, release build scripts disable the above logic when
signing target files ZIPs for pre-N platforms.

Bug: 25643280

(cherry picked from commit 2cfd1d108c)

Change-Id: I38450d07ddc05c705de40313f843beada8db7d98
2016-02-10 17:19:08 -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 releasetools: Pack updatable images into IMAGES/ for A/B update. 2015-11-16 16:42:43 -08:00
blockimgdiff.py releasetools: Add two new entries to metadata. 2016-02-10 09:37:40 -08:00
build_image.py Fix metadata location when file system doesn't span the partition 2016-02-10 10:53:47 -08:00
check_target_files_signatures Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
check_target_files_signatures.py Fix the broken signing script 2015-06-03 17:36:12 -07:00
common.py Sign APKs using SHA-256 instead of SHA-1 when possible. 2016-02-10 17:19:08 -08:00
edify_generator.py releasetools: Add two new entries to metadata. 2016-02-10 09:37:40 -08: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 Honor TARGET_NO_RECOVERY flag. 2015-10-27 20:00:10 -07:00
make_recovery_patch Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
make_recovery_patch.py Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
ota_from_target_files Fix build. 2015-09-15 07:50:10 +00:00
ota_from_target_files.py releasetools: Add two new entries to metadata. 2016-02-10 09:37:40 -08:00
pylintrc Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
rangelib.py rangelib.py: Remove the obsolete comment line. 2015-09-08 12:08:24 -07:00
sign_target_files_apks Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
sign_target_files_apks.py Sign APKs using SHA-256 instead of SHA-1 when possible. 2016-02-10 17:19:08 -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 Do not diff .odex files 2016-02-03 10:46:39 -08:00
test_common.py Fix the permission setting in common.ZipWriteStr() 2015-05-20 13:29:03 -07:00
test_rangelib.py rangelib.py: Fix the bug in monotonic check. 2015-08-26 21:16:43 -07:00