Merge "Add preparer for test with variables" am: 8c004c6c04 am: c371cbb33d

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1626512

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7d959c9b1c80ccc8ba367fe27ca1a4734fd6d7eb
This commit is contained in:
Paul Duffin
2021-03-11 15:20:39 +00:00
committed by Automerger Merge Worker

View File

@@ -24,11 +24,17 @@ import (
) )
func init() { func init() {
PreDepsMutators(func(ctx RegisterMutatorsContext) { registerVariableBuildComponents(InitRegistrationContext)
}
func registerVariableBuildComponents(ctx RegistrationContext) {
ctx.PreDepsMutators(func(ctx RegisterMutatorsContext) {
ctx.BottomUp("variable", VariableMutator).Parallel() ctx.BottomUp("variable", VariableMutator).Parallel()
}) })
} }
var PrepareForTestWithVariables = FixtureRegisterWithContext(registerVariableBuildComponents)
type variableProperties struct { type variableProperties struct {
Product_variables struct { Product_variables struct {
Platform_sdk_version struct { Platform_sdk_version struct {