summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2017-10-19 23:01:02 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-10-19 23:01:02 +0000
commit38cd9a4ec7b0b382275fbd6c68234716d67a60bd (patch)
tree1e4e19160d1d65eac20d32f047f9e7973b16f697 /java/java.go
parent16792167ad54b40eb2c11807ed993be3e4c9c5dc (diff)
parenta22116e2d947942e32ce7bda1a261889a361aa5f (diff)
Merge "Add property to prevent dex preopting"
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 5310bc800..69739155b 100644
--- a/java/java.go
+++ b/java/java.go
@@ -143,6 +143,10 @@ type CompilerDeviceProperties struct {
// If true, export a copy of the module as a -hostdex module for host testing.
Hostdex *bool
+ // If false, prevent dexpreopting and stripping the dex file from the final jar. Defaults to
+ // true.
+ Dex_preopt *bool
+
// When targeting 1.9, override the modules to use with --system
System_modules *string
}