summaryrefslogtreecommitdiff
path: root/java/dexpreopt_config.go
diff options
context:
space:
mode:
author Artur Satayev <satayev@google.com> 2021-04-07 15:17:14 +0100
committer Artur Satayev <satayev@google.com> 2021-04-14 15:03:23 +0100
commit97259dc62549cecddfb2f1d8872a3caa3433a450 (patch)
treefda02ae45282e37c55e233b3315ec3a13d7d4481 /java/dexpreopt_config.go
parent21fb92d7f6f033f556c5270c702bbcab80c861c1 (diff)
Generate classpaths.proto config for *CLASSPATH variables.
Instead of embedding "raw" values from PRODUCT_*_CLASSPATH variables into /etc/classpath, encode them into classpaths.proto binary format. Existing platform_bootclasspath{} module is used to generate the whole monolithic config to begin with. Later, the config will be split among individual bootclasspath_fragment and systemserverclasspath_fragment modules. Bug: 180105615 Test: m && launch_cvd Change-Id: Ia66f521f8976ff78a62ecf91131d26db21064de7
Diffstat (limited to 'java/dexpreopt_config.go')
-rw-r--r--java/dexpreopt_config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/dexpreopt_config.go b/java/dexpreopt_config.go
index 64b265640..656f5ef71 100644
--- a/java/dexpreopt_config.go
+++ b/java/dexpreopt_config.go
@@ -26,7 +26,7 @@ import (
// systemServerClasspath returns the on-device locations of the modules in the system server classpath. It is computed
// once the first time it is called for any ctx.Config(), and returns the same slice for all future calls with the same
// ctx.Config().
-func systemServerClasspath(ctx android.MakeVarsContext) []string {
+func systemServerClasspath(ctx android.PathContext) []string {
return ctx.Config().OnceStringSlice(systemServerClasspathKey, func() []string {
global := dexpreopt.GetGlobalConfig(ctx)
var systemServerClasspathLocations []string