diff options
Diffstat (limited to 'java/system_modules_test.go')
-rw-r--r-- | java/system_modules_test.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/java/system_modules_test.go b/java/system_modules_test.go index 336dd2134..1a8d0b5d5 100644 --- a/java/system_modules_test.go +++ b/java/system_modules_test.go @@ -182,11 +182,7 @@ func TestMultipleSystemModulesPrebuilts(t *testing.T) { for _, tc := range testCases { res := android.GroupFixturePreparers( prepareForJavaTest, - android.FixtureModifyProductVariables(func(variables android.FixtureProductVariables) { - variables.BuildFlags = map[string]string{ - "RELEASE_APEX_CONTRIBUTIONS_ADSERVICES": "myapex_contributions", - } - }), + android.PrepareForTestWithBuildFlag("RELEASE_APEX_CONTRIBUTIONS_ADSERVICES", "myapex_contributions"), ).RunTestWithBp(t, fmt.Sprintf(bp, tc.selectedDependencyName)) // check that rdep gets the correct variation of system_modules |