diff options
| author | 2024-12-17 13:56:26 -0800 | |
|---|---|---|
| committer | 2024-12-17 13:56:26 -0800 | |
| commit | d8c9b4edf744c8693e95aaa439d7993faec5fa87 (patch) | |
| tree | 5aaffe01658e39a566b028569543ac5c110effb8 /api | |
| parent | 99fa8dc8cd3c8d8766d091f15c2ceadd2b6a304f (diff) | |
| parent | f0040f3f124531b215ba6265b521b5b379c32ce6 (diff) | |
Merge "Convert CombinedApis's GenerateAndroidBuildActions to use ModuleProxy." into main
Diffstat (limited to 'api')
| -rw-r--r-- | api/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/api.go b/api/api.go index aa89c2450288..b8f30a242320 100644 --- a/api/api.go +++ b/api/api.go @@ -103,7 +103,7 @@ func (a *CombinedApis) DepsMutator(ctx android.BottomUpMutatorContext) { func (a *CombinedApis) GenerateAndroidBuildActions(ctx android.ModuleContext) { ctx.WalkDeps(func(child, parent android.Module) bool { - if _, ok := child.(java.AndroidLibraryDependency); ok && child.Name() != "framework-res" { + if _, ok := android.OtherModuleProvider(ctx, child, java.AndroidLibraryInfoProvider); ok && child.Name() != "framework-res" { // Stubs of BCP and SSCP libraries should not have any dependencies on apps // This check ensures that we do not run into circular dependencies when UNBUNDLED_BUILD_TARGET_SDK_WITH_API_FINGERPRINT=true ctx.ModuleErrorf( |