diff options
author | Alex Klyubin <klyubin@google.com> | 2016-05-04 15:27:46 -0700 |
---|---|---|
committer | Alex Klyubin <klyubin@google.com> | 2016-12-12 12:41:26 -0800 |
commit | a96ce3418bbd07c9df96e15698a05f26b3e7d9ce (patch) | |
tree | 57f0f46a6ee4bc526c2cd1bf77f3eeeaa5441d3c /apkzlib.iml | |
parent | 6b7c4e9243cc2a224fbc6cb7f79edf9c06cbc9a0 (diff) | |
download | apkzlib-a96ce3418bbd07c9df96e15698a05f26b3e7d9ce.tar.gz |
Use apksig's ApkSignerEngine for signing APKs
This switches the new APK build pipeline from its own logic for
signing APKs to the logic provided by DefaultApkSignerEngine primitive
from apksig library.
The switch to apksig library also fixes two bugs in the APK signing
pipeline:
1. digests of named sections of MANIFEST.MF are now correct in .SF
files, and
2. signatures of DSA-signed APKs will now verify on Android platforms
with API Level 8 and lower.
Test: ./gradlew :base:integration-test:test --tests *SigningTest
Test: ./tools/base/bazel/bazel build //tools/base/build-system/builder:builder_maven
Bug: 31060257
Bug: 31306164
Change-Id: I742c1362a9eff63dc009a5419636041341cf7309
Diffstat (limited to 'apkzlib.iml')
-rw-r--r-- | apkzlib.iml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apkzlib.iml b/apkzlib.iml index dce8c3c..70ffee4 100644 --- a/apkzlib.iml +++ b/apkzlib.iml @@ -15,5 +15,6 @@ <orderEntry type="library" scope="TEST" name="mockito" level="project" /> <orderEntry type="library" name="bouncy-castle" level="project" /> <orderEntry type="module" module-name="testutils" /> + <orderEntry type="module" module-name="apksig" /> </component> </module> |