summaryrefslogtreecommitdiff
path: root/java/bootclasspath_fragment.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2024-12-18 17:08:07 -0800
committer Colin Cross <ccross@android.com> 2025-02-03 22:19:24 -0800
commite5c7d7c59e63919e9b6ccd655c35fc5371a8bce9 (patch)
tree2c4013f5e3b6a9aab8824dd53fa3384d3f1fad55 /java/bootclasspath_fragment.go
parent09dbc010b0dd9055f919e639467691269fb15264 (diff)
Use unique apex variations for bootclasspath fragments
Upcoming changes to the ApexInfo mutator will require unique apex variations for the bootclasspath fragments, change them now to simplify comparisons. Test: go test ./... Change-Id: Ia8880fe5ac22a7bd2fb9ddaeb3b04b9ae90b1701
Diffstat (limited to 'java/bootclasspath_fragment.go')
-rw-r--r--java/bootclasspath_fragment.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/bootclasspath_fragment.go b/java/bootclasspath_fragment.go
index 8fb8ba9a4..f6d6cad4a 100644
--- a/java/bootclasspath_fragment.go
+++ b/java/bootclasspath_fragment.go
@@ -290,6 +290,10 @@ func testBootclasspathFragmentFactory() android.Module {
return m
}
+func (m *BootclasspathFragmentModule) UniqueApexVariations() bool {
+ return true
+}
+
func (m *BootclasspathFragmentModule) bootclasspathFragmentPropertyCheck(ctx android.ModuleContext) {
contents := m.properties.Contents.GetOrDefault(ctx, nil)
if len(contents) == 0 {