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:
@@ -91,7 +91,6 @@ type ModuleConfig struct {
|
|||||||
DexLocation string // dex location on device
|
DexLocation string // dex location on device
|
||||||
BuildPath string
|
BuildPath string
|
||||||
DexPath string
|
DexPath string
|
||||||
UseEmbeddedDex bool
|
|
||||||
UncompressedDex bool
|
UncompressedDex bool
|
||||||
HasApkLibraries bool
|
HasApkLibraries bool
|
||||||
PreoptFlags []string
|
PreoptFlags []string
|
||||||
|
@@ -67,7 +67,6 @@ var testModuleConfig = ModuleConfig{
|
|||||||
DexLocation: "",
|
DexLocation: "",
|
||||||
BuildPath: "",
|
BuildPath: "",
|
||||||
DexPath: "",
|
DexPath: "",
|
||||||
UseEmbeddedDex: false,
|
|
||||||
UncompressedDex: false,
|
UncompressedDex: false,
|
||||||
HasApkLibraries: false,
|
HasApkLibraries: false,
|
||||||
PreoptFlags: nil,
|
PreoptFlags: nil,
|
||||||
|
@@ -149,7 +149,6 @@ func (d *dexpreopter) dexpreopt(ctx android.ModuleContext, dexJarFile android.Mo
|
|||||||
DexLocation: dexLocation,
|
DexLocation: dexLocation,
|
||||||
BuildPath: android.PathForModuleOut(ctx, "dexpreopt", ctx.ModuleName()+".jar").String(),
|
BuildPath: android.PathForModuleOut(ctx, "dexpreopt", ctx.ModuleName()+".jar").String(),
|
||||||
DexPath: dexJarFile.String(),
|
DexPath: dexJarFile.String(),
|
||||||
UseEmbeddedDex: false,
|
|
||||||
UncompressedDex: d.uncompressedDex,
|
UncompressedDex: d.uncompressedDex,
|
||||||
HasApkLibraries: false,
|
HasApkLibraries: false,
|
||||||
PreoptFlags: nil,
|
PreoptFlags: nil,
|
||||||
|
Reference in New Issue
Block a user