platform_build/tools
Alex Klyubin c2c49ed0c1 Unconditionally use SHA-256 when minSdkVersion is 18 or higher.
SHA-1 is deprecated, but the replacement SHA-256 is only supported
for JAR/APK and OTA update package signatures on API Level 18 and
newer. This change thus adds a --min-sdk-version command-line
parameter to signapk. When this parameter is set to 18 or higher,
SHA-256 is used instead of SHA-1. When the parameter is not provided,
SHA-1 is used same as before.

This change also removes any other digests from the MANIFEST.MF.
This is to ignore any MANIFEST.MF digests already there in the APK,
such as when re-signing an already signed APK.

Build scripts will be modified to provide the --min-sdk-version
parameter in a follow-up change. This is not done in this change
because of prebuilts which require a prebuilt version of signapk
to support this parameter before the build scripts can be modified.

Bug: 25643280
Change-Id: I6a2782e465600fe2a3ad0c10bd80db2b80a6fb76
2016-01-12 13:31:59 -08:00
..
acp Clean up Mac OS hacks in acp slightly. 2016-01-05 09:32:42 -08:00
apicheck
atree Clean up Mac OS hacks in acp slightly. 2016-01-05 09:32:42 -08:00
droiddoc Docs: Shorten feedback button text. 2016-01-12 10:55:44 -08:00
fs_config am a69dcefd: am 74a81e66: fix device specific fs_config on build server 2015-07-10 19:26:24 +00:00
fs_get_stats fix device specific fs_config on build server 2015-07-10 10:55:54 -07:00
ijar Remove warnings from ijar/classfile.cc 2015-12-01 16:44:32 +09:00
makeparallel makeparallel: prepend flags to ninja command line 2015-10-20 17:05:49 -07:00
releasetools Merge "Check block0 for remounting partition R/W" 2016-01-08 00:49:49 +00:00
rgb2565
signapk Unconditionally use SHA-256 when minSdkVersion is 18 or higher. 2016-01-12 13:31:59 -08:00
signtos Add SignTos tool 2014-08-08 13:18:53 -07:00
zipalign Use explicitly sized types in zipalign/ziptime 2015-11-04 23:52:52 +00:00
ziptime Use explicitly sized types in zipalign/ziptime 2015-11-04 23:52:52 +00:00
adbs ADBS now uses stack_core code to parse traces. 2014-07-07 15:14:41 -07:00
Android.mk Remove unneccessary TARGET_BUILD_APPS conditional 2015-12-15 15:49:53 -08:00
buildinfo.sh resolved conflicts for merge of 05fae7e0 to mnc-dev-plus-aosp 2015-08-17 20:50:48 -07:00
check_builds.sh
check_radio_versions.py
compare_fileslist.py
diff_package_overlays.py
dump-package-stats
event_log_tags.py
fileslist.py
filter-product-graph.py
findleaves.py
fixlinebreaks.sh
generate-notice-files.py Create reproducible NOTICE collections 2015-11-10 12:37:23 -08:00
java-event-log-tags.py Add float support to binary event log. 2015-04-28 18:21:09 -07:00
java-layers.py
merge-event-log-tags.py
mktarball.sh fix device specific fs_config on build server 2015-07-10 10:55:54 -07:00
normalize_path.py Normalize the product makefile path in inherit-product. 2015-10-28 15:20:41 -07:00
parsedeps.py
post_process_props.py Do not add 'adb' to persist.sys.usb.config if already there 2015-05-29 07:46:40 +00:00
print_module_licenses.sh
product_debug.py Remove support of factory ramdisk/bundle. 2015-02-04 11:00:01 -08:00
warn.py