summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2020-04-05 02:14:41 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-04-05 02:14:41 +0000
commitab768cf54bb97ae17b22097509e0b67c993375cd (patch)
tree28ae6029def59c44c2cc0acf8fe57e0eca277371 /java/java.go
parentff6231920db8f2387b61035d66727e677893bcc3 (diff)
parent17d69e3484d2e74f28721e86a6554c3d0d740a51 (diff)
Merge "[soong] new field in Android.bp to request APK signing V4"
Diffstat (limited to 'java/java.go')
-rw-r--r--java/java.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/java.go b/java/java.go
index 9a9a02f52..c81b781b5 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 {