From e5c7d7c59e63919e9b6ccd655c35fc5371a8bce9 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Wed, 18 Dec 2024 17:08:07 -0800 Subject: 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 --- java/bootclasspath_fragment.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'java/bootclasspath_fragment.go') 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 { -- cgit v1.2.3-59-g8ed1b