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
diff --git a/dexpreopt/config.go b/dexpreopt/config.go
index 3725146..319e36e 100644
--- a/dexpreopt/config.go
+++ b/dexpreopt/config.go
@@ -91,7 +91,6 @@
DexLocation string // dex location on device
BuildPath string
DexPath string
- UseEmbeddedDex bool
UncompressedDex bool
HasApkLibraries bool
PreoptFlags []string
diff --git a/dexpreopt/dexpreopt_test.go b/dexpreopt/dexpreopt_test.go
index 6e520f1..d949852 100644
--- a/dexpreopt/dexpreopt_test.go
+++ b/dexpreopt/dexpreopt_test.go
@@ -67,7 +67,6 @@
DexLocation: "",
BuildPath: "",
DexPath: "",
- UseEmbeddedDex: false,
UncompressedDex: false,
HasApkLibraries: false,
PreoptFlags: nil,
diff --git a/java/dexpreopt.go b/java/dexpreopt.go
index 33c46f4..55662cf 100644
--- a/java/dexpreopt.go
+++ b/java/dexpreopt.go
@@ -149,7 +149,6 @@
DexLocation: dexLocation,
BuildPath: android.PathForModuleOut(ctx, "dexpreopt", ctx.ModuleName()+".jar").String(),
DexPath: dexJarFile.String(),
- UseEmbeddedDex: false,
UncompressedDex: d.uncompressedDex,
HasApkLibraries: false,
PreoptFlags: nil,