Remove unused dexpreopt UseEmbeddedDex

dexpreopt doesn't need to know about UseEmbeddedDex, it has
already been taken into account for UncompressedDex.

Test: m checkbuild
Change-Id: I5508aa43bb8bdb06e20cf93bc5171a5e78833983
This commit is contained in:
Colin Cross
2019-02-07 13:05:46 -08:00
parent 697412f058
commit 09a65ab6ca
3 changed files with 0 additions and 3 deletions

View File

@@ -91,7 +91,6 @@ type ModuleConfig struct {
DexLocation string // dex location on device
BuildPath string
DexPath string
UseEmbeddedDex bool
UncompressedDex bool
HasApkLibraries bool
PreoptFlags []string

View File

@@ -67,7 +67,6 @@ var testModuleConfig = ModuleConfig{
DexLocation: "",
BuildPath: "",
DexPath: "",
UseEmbeddedDex: false,
UncompressedDex: false,
HasApkLibraries: false,
PreoptFlags: nil,

View File

@@ -149,7 +149,6 @@ func (d *dexpreopter) dexpreopt(ctx android.ModuleContext, dexJarFile android.Mo
DexLocation: dexLocation,
BuildPath: android.PathForModuleOut(ctx, "dexpreopt", ctx.ModuleName()+".jar").String(),
DexPath: dexJarFile.String(),
UseEmbeddedDex: false,
UncompressedDex: d.uncompressedDex,
HasApkLibraries: false,
PreoptFlags: nil,