summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
authorSongchun Fan <schfan@google.com>2020-03-26 17:48:20 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-03-26 17:48:20 +0000
commit0ed9a7d67462fc55dff3d22fc6939dd308ab82f7 (patch)
treea98f53850ebf7f719deb9055bf199206489c3462 /java/java.go
parentc3e9263d7efe8ca7638a21ebbeb4f724033409f7 (diff)
parent688de9af5d4089f58a8f98ad8594595bd7ff3688 (diff)
Merge "[soong] new field in Android.bp to request APK signing V4" into rvc-dev
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 46adedcd1..dc0b27244 100644
--- a/java/java.go
+++ b/java/java.go
@@ -319,6 +319,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 {