Move mixed builds request queuing to final deps

Post deps still supports creating variants, while final deps does not,
this move will ensure all variants are created prior to queuing Bazel
requests.

Test: CI
Change-Id: I92caae009ea3a8769f3f11a9b1ab80de6aac17f3
This commit is contained in:
Liz Kammer
2022-08-03 15:49:43 -04:00
parent 88e7512572
commit 337e9032c9

View File

@@ -29,6 +29,7 @@ import (
"android/soong/bazel/cquery"
"android/soong/shared"
"github.com/google/blueprint"
"android/soong/bazel"
@@ -54,7 +55,7 @@ func init() {
}
func RegisterMixedBuildsMutator(ctx RegistrationContext) {
ctx.PostDepsMutators(func(ctx RegisterMutatorsContext) {
ctx.FinalDepsMutators(func(ctx RegisterMutatorsContext) {
ctx.BottomUp("mixed_builds_prep", mixedBuildsPrepareMutator).Parallel()
})
}