From a22116e2d947942e32ce7bda1a261889a361aa5f Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 19 Oct 2017 14:18:58 -0700 Subject: 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 --- java/java.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'java/java.go') 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 } -- cgit v1.2.3-59-g8ed1b