diff options
| author | 2021-03-11 15:45:20 +0000 | |
|---|---|---|
| committer | 2021-03-11 15:45:20 +0000 | |
| commit | a998e9806a9d5a662e56f79255e53cf01f53732c (patch) | |
| tree | adcb16620d82597032b31a638be8c07ecef5a1ae /android/variable.go | |
| parent | 3e72530cea53b0e13e807fc06ee76d28138f1337 (diff) | |
| parent | cc285a8253aa0a5a53c6c98f6cc8b3e45730554f (diff) | |
Merge "Add preparer for test with variables" am: 8c004c6c04 am: c371cbb33d am: cc285a8253
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1626512
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I46946e1448cf6e83399e46c259e8fba9e6744817
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 e17c558fa..d9c2ac237 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 { |