Merge "Make java_sdk_library phony target depend on its stub jar" into main

This commit is contained in:
Treehugger Robot
2024-08-23 03:14:53 +00:00
committed by Gerrit Code Review

View File

@@ -1548,6 +1548,8 @@ func (module *SdkLibrary) GenerateAndroidBuildActions(ctx android.ModuleContext)
scopeTag.extractDepInfo(ctx, to, scopePaths)
exportedComponents[ctx.OtherModuleName(to)] = struct{}{}
ctx.Phony(ctx.ModuleName(), scopePaths.stubsHeaderPath...)
}
if tag == implLibraryTag {