Merge "mixed build targets need transitive tidy files"

This commit is contained in:
Sam Delmerico
2023-02-08 20:11:30 +00:00
committed by Gerrit Code Review
13 changed files with 318 additions and 24 deletions

View File

@@ -1913,12 +1913,6 @@ func (c *Module) IsMixedBuildSupported(ctx android.BaseModuleContext) bool {
func (c *Module) ProcessBazelQueryResponse(ctx android.ModuleContext) {
bazelModuleLabel := c.getBazelModuleLabel(ctx)
bazelCtx := ctx.Config().BazelContext
if ccInfo, err := bazelCtx.GetCcInfo(bazelModuleLabel, android.GetConfigKey(ctx)); err == nil {
c.tidyFiles = android.PathsForBazelOut(ctx, ccInfo.TidyFiles)
}
c.bazelHandler.ProcessBazelQueryResponse(ctx, bazelModuleLabel)
c.Properties.SubName = GetSubnameProperty(ctx, c)