diff options
| author | 2020-03-24 20:32:24 -0700 | |
|---|---|---|
| committer | 2020-04-04 12:37:45 -0700 | |
| commit | 17d69e3484d2e74f28721e86a6554c3d0d740a51 (patch) | |
| tree | d35333b987da72356c382b270b88a71acd1ecfe8 /java/java.go | |
| parent | d9578f563e65c90864d756b6876d46aaaa04582b (diff) | |
[soong] new field in Android.bp to request APK signing V4
If "v4_signature: true" is set, the v4 signature file,
named [outputApkFile].idsig
will be generated along side the outputApkFile.
Test: m nothing
Test: atest PackageManagerShellCommandIncrementalTest
BUG: 149354175
Change-Id: Ie84725a15406f96f65042ea9909460e4eb34d57f
Merged-In: Ie84725a15406f96f65042ea9909460e4eb34d57f
Diffstat (limited to 'java/java.go')
| -rw-r--r-- | java/java.go | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/java/java.go b/java/java.go index 0188cf1a2..8ce982e1a 100644 --- a/java/java.go +++ b/java/java.go @@ -325,6 +325,10 @@ type CompilerDeviceProperties struct {  	UncompressDex bool `blueprint:"mutated"`  	IsSDKLibrary  bool `blueprint:"mutated"` + +	// If true, generate the signature file of APK Signing Scheme V4, along side the signed APK file. +	// Defaults to false. +	V4_signature *bool  }  func (me *CompilerDeviceProperties) EffectiveOptimizeEnabled() bool { |