summaryrefslogtreecommitdiff
path: root/java/classpath_fragment.go
diff options
context:
space:
mode:
author satayev <satayev@google.com> 2021-05-18 19:37:32 +0100
committer satayev <satayev@google.com> 2021-05-18 19:37:32 +0100
commit7d22657c458b7cf7f79cdd3c298bfec13be93533 (patch)
tree12946387c0aa267173bad8ba02201a06fc2d3b2d /java/classpath_fragment.go
parentf1d8819d7df17ab5d168f7d9d638c98b32da5765 (diff)
Use absolute paths in classpaths.proto.
The intention before was to use relative paths to a partition where a config is defined. However, jars in /system_ext partition are planned to be declared in /system's classpaths.proto config. Bug: 180105615 Test: derive_classpath_test, CtsClasspathsTestCases Change-Id: Icc3e1a903c34187cfcd67a3ae7bc3dd746445c03
Diffstat (limited to 'java/classpath_fragment.go')
-rw-r--r--java/classpath_fragment.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/classpath_fragment.go b/java/classpath_fragment.go
index 740809093..bc0416a47 100644
--- a/java/classpath_fragment.go
+++ b/java/classpath_fragment.go
@@ -136,7 +136,7 @@ func writeClasspathsJson(ctx android.ModuleContext, output android.WritablePath,
for idx, jar := range jars {
fmt.Fprintf(&content, "{\n")
- fmt.Fprintf(&content, "\"relativePath\": \"%s\",\n", jar.path)
+ fmt.Fprintf(&content, "\"path\": \"%s\",\n", jar.path)
fmt.Fprintf(&content, "\"classpath\": \"%s\"\n", jar.classpath)
if idx < len(jars)-1 {