diff options
| author | 2021-03-11 15:20:39 +0000 | |
|---|---|---|
| committer | 2021-03-11 15:20:39 +0000 | |
| commit | cc285a8253aa0a5a53c6c98f6cc8b3e45730554f (patch) | |
| tree | e99c1a92d8f548f3e35f1c420e683f9c8663b415 /android/variable.go | |
| parent | 8bbbff16d9177982e072445c318877718dd82e4f (diff) | |
| parent | c371cbb33dd6747607dd9a977dca8234847cd7a2 (diff) | |
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
Diffstat (limited to 'android/variable.go')
| -rw-r--r-- | android/variable.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/android/variable.go b/android/variable.go index dd000ad22..be12a0ad9 100644 --- a/android/variable.go +++ b/android/variable.go @@ -24,11 +24,17 @@ import ( ) func init() { - PreDepsMutators(func(ctx RegisterMutatorsContext) { + registerVariableBuildComponents(InitRegistrationContext) +} + +func registerVariableBuildComponents(ctx RegistrationContext) { + ctx.PreDepsMutators(func(ctx RegisterMutatorsContext) { ctx.BottomUp("variable", VariableMutator).Parallel() }) } +var PrepareForTestWithVariables = FixtureRegisterWithContext(registerVariableBuildComponents) + type variableProperties struct { Product_variables struct { Platform_sdk_version struct { |