• Alex Klyubin's avatar
    Sign APKs using SHA-256 instead of SHA-1 when possible. · de5bc047
    Alex Klyubin authored
    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 c2c49ed0).
    
    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
    Change-Id: I048393e0971d0d6559dbd69ea902754c6c7cab14
    de5bc047
prebuilt_internal.mk 12.3 KB