diff options
author | Victor Hsieh <victorhsieh@google.com> | 2019-01-29 13:00:33 -0800 |
---|---|---|
committer | Victor Hsieh <victorhsieh@google.com> | 2019-01-29 13:09:10 -0800 |
commit | d181c8ba7684b2ca787b7a0389b4c95ebec1f17c (patch) | |
tree | e8e44c08c888e920e33355c87ce71ec8a35541b7 /dexpreopt | |
parent | 910cdf95cda8dc12335972963ffc0cb44db3b5b8 (diff) | |
download | build_soong-d181c8ba7684b2ca787b7a0389b4c95ebec1f17c.tar.gz build_soong-d181c8ba7684b2ca787b7a0389b4c95ebec1f17c.tar.bz2 build_soong-d181c8ba7684b2ca787b7a0389b4c95ebec1f17c.zip |
Rename preferCodeIntegrity to useEmbeddedDex
Test: build and run testing app
Bug: 112037137
Change-Id: Ia82c2c3ba7eb32117a4be078ac31ee2ba510f9eb
Diffstat (limited to 'dexpreopt')
-rw-r--r-- | dexpreopt/config.go | 16 | ||||
-rw-r--r-- | dexpreopt/dexpreopt_test.go | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/dexpreopt/config.go b/dexpreopt/config.go index 503af7ef..3725146b 100644 --- a/dexpreopt/config.go +++ b/dexpreopt/config.go @@ -87,14 +87,14 @@ type Tools struct { } type ModuleConfig struct { - Name string - DexLocation string // dex location on device - BuildPath string - DexPath string - PreferCodeIntegrity bool - UncompressedDex bool - HasApkLibraries bool - PreoptFlags []string + Name string + DexLocation string // dex location on device + BuildPath string + DexPath string + UseEmbeddedDex bool + UncompressedDex bool + HasApkLibraries bool + PreoptFlags []string ProfileClassListing string ProfileIsTextListing bool diff --git a/dexpreopt/dexpreopt_test.go b/dexpreopt/dexpreopt_test.go index f218d015..073d4637 100644 --- a/dexpreopt/dexpreopt_test.go +++ b/dexpreopt/dexpreopt_test.go @@ -66,7 +66,7 @@ var testModuleConfig = ModuleConfig{ DexLocation: "", BuildPath: "", DexPath: "", - PreferCodeIntegrity: false, + UseEmbeddedDex: false, UncompressedDex: false, HasApkLibraries: false, PreoptFlags: nil, |