Merge "Add preparer for test with variables" am: 8c004c6c04
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1626512 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I25e2d4b3d00f1a97e80197231a92792342eb49f9
This commit is contained in:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user