diff options
author | Paul Duffin <paulduffin@google.com> | 2021-05-13 21:25:05 +0100 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2021-05-14 01:49:19 +0100 |
commit | 34827d4c0ec854bee766ec3db2be6e66b34ebb28 (patch) | |
tree | 4fdd91c94165de6fccdc3ff6e66717331a8d40a7 /java/platform_bootclasspath.go | |
parent | dfa1083fee4d1bf62c582c4e6ece20343fed6f50 (diff) |
Use java_sdk_library in bootclasspath_fragment contents as stubs
A java_sdk_library specified in the bootclasspath_fragment contents
must be providing APIs for the bootclasspath_fragment and so must be
treated as if they were specified in the stub_libs. This avoids having
to specify them in both contents and stub_libs.
Bug: 179354495
Test: m nothing
Change-Id: I535065ee1a79b439e2676f35e06a75d4626adcaf
Diffstat (limited to 'java/platform_bootclasspath.go')
-rw-r--r-- | java/platform_bootclasspath.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/platform_bootclasspath.go b/java/platform_bootclasspath.go index b5fec95fe..5880e2f0a 100644 --- a/java/platform_bootclasspath.go +++ b/java/platform_bootclasspath.go @@ -377,7 +377,7 @@ func (b *platformBootclasspathModule) generateHiddenAPIStubFlagsRules(ctx androi bootDexJars = append(bootDexJars, module.bootDexJar) } - sdkKindToStubPaths := hiddenAPIGatherStubLibDexJarPaths(ctx) + sdkKindToStubPaths := hiddenAPIGatherStubLibDexJarPaths(ctx, nil) outputPath := hiddenAPISingletonPaths(ctx).stubFlags rule := ruleToGenerateHiddenAPIStubFlagsFile(ctx, outputPath, bootDexJars, sdkKindToStubPaths) |