diff options
| author | 2017-10-19 14:18:58 -0700 | |
|---|---|---|
| committer | 2017-10-19 14:26:32 -0700 | |
| commit | a22116e2d947942e32ce7bda1a261889a361aa5f (patch) | |
| tree | 33958c355165262f7c7a9443a0def78436a309fe /java/java.go | |
| parent | 1ee2317555954d49086fa58d46690ef933eb1ae9 (diff) | |
Add property to prevent dex preopting
Add dex_preopt property and pass it through to make as
LOCAL_DEX_PREOPT.
Test: m checkbuild
Change-Id: I6f19d097d1769068b7e4093f011574c540c137f3
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 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 } |