Merge "Support cc code coverage for mixed build"

This commit is contained in:
Yu Liu
2022-06-13 18:57:50 +00:00
committed by Gerrit Code Review
7 changed files with 101 additions and 13 deletions

View File

@@ -139,7 +139,7 @@ func runMixedModeBuild(configuration android.Config, ctx *android.Context, extra
bazelHook := func() error {
ctx.EventHandler.Begin("bazel")
defer ctx.EventHandler.End("bazel")
return configuration.BazelContext.InvokeBazel()
return configuration.BazelContext.InvokeBazel(configuration)
}
ctx.SetBeforePrepareBuildActionsHook(bazelHook)