summaryrefslogtreecommitdiff
path: root/java/dexpreopt_config.go
diff options
context:
space:
mode:
author satayev <satayev@google.com> 2021-05-07 19:41:08 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-05-07 19:41:08 +0000
commitee7e359131b4f427ca0085f78a31dac22697d40c (patch)
tree1184d18bf84626d41ce0839d6afee04a4827336e /java/dexpreopt_config.go
parent3b755d4560d2d12b91d9648a0061e2467b120116 (diff)
parent013485bd832075821f01a2a737b14647baab3835 (diff)
Merge "Declare ConfiguredJarList in specific fragment implementations."
Diffstat (limited to 'java/dexpreopt_config.go')
-rw-r--r--java/dexpreopt_config.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/java/dexpreopt_config.go b/java/dexpreopt_config.go
index 72b61e323..e95b4cb1e 100644
--- a/java/dexpreopt_config.go
+++ b/java/dexpreopt_config.go
@@ -163,18 +163,6 @@ func defaultBootImageConfig(ctx android.PathContext) *bootImageConfig {
return genBootImageConfigs(ctx)[frameworkBootImageName]
}
-func defaultBootclasspath(ctx android.PathContext) []string {
- return ctx.Config().OnceStringSlice(defaultBootclasspathKey, func() []string {
- global := dexpreopt.GetGlobalConfig(ctx)
- image := defaultBootImageConfig(ctx)
-
- updatableBootclasspath := global.UpdatableBootJars.DevicePaths(ctx.Config(), android.Android)
-
- bootclasspath := append(copyOf(image.getAnyAndroidVariant().dexLocationsDeps), updatableBootclasspath...)
- return bootclasspath
- })
-}
-
// Updatable boot config allows to access build/install paths of updatable boot jars without going
// through the usual trouble of registering dependencies on those modules and extracting build paths
// from those dependencies.