diff options
| author | 2023-03-31 14:59:30 +0000 | |
|---|---|---|
| committer | 2023-03-31 14:59:30 +0000 | |
| commit | 2d704998f4f1d8c0fdda1ecb34b825fe798f0521 (patch) | |
| tree | cd50b267cadde3232393864ed048c306cf68c5e2 /java/bootclasspath_fragment.go | |
| parent | b72610665cea143f470e02b2230b3e8f198acbd2 (diff) | |
| parent | 877f39d535edfb58d75eac843a818234d1c56657 (diff) | |
Merge changes I1ed3ab24,I68678ddf
* changes:
Use stubs from .txt files for hiddenapi
Rename JavaLibraryNameFromText function
Diffstat (limited to 'java/bootclasspath_fragment.go')
| -rw-r--r-- | java/bootclasspath_fragment.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/java/bootclasspath_fragment.go b/java/bootclasspath_fragment.go index c07a94a0b..f69256347 100644 --- a/java/bootclasspath_fragment.go +++ b/java/bootclasspath_fragment.go @@ -499,6 +499,8 @@ func (b *BootclasspathFragmentModule) DepsMutator(ctx android.BottomUpMutatorCon for _, apiScope := range hiddenAPISdkLibrarySupportedScopes { // Add a dependency onto a possibly scope specific stub library. scopeSpecificDependency := apiScope.scopeSpecificStubModule(ctx, additionalStubModule) + // Use JavaApiLibraryName function to be redirected to stubs generated from .txt if applicable + scopeSpecificDependency = android.JavaApiLibraryName(ctx.Config(), scopeSpecificDependency) tag := hiddenAPIStubsDependencyTag{apiScope: apiScope, fromAdditionalDependency: true} ctx.AddVariationDependencies(nil, tag, scopeSpecificDependency) } |