Merge "Pass auto_gen_config setting in Android.bp to makefile"

This commit is contained in:
Dan Shi
2020-01-07 06:23:04 +00:00
committed by Gerrit Code Review
4 changed files with 16 additions and 0 deletions

View File

@@ -99,6 +99,9 @@ func (test *testDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidM
if test.testConfig != nil {
fmt.Fprintln(w, "LOCAL_FULL_TEST_CONFIG :=", test.testConfig.String())
}
if !BoolDefault(test.Properties.Auto_gen_config, true) {
fmt.Fprintln(w, "LOCAL_DISABLE_AUTO_GENERATE_TEST_CONFIG := true")
}
})
// TODO(chh): add test data with androidMkWriteTestData(test.data, ctx, ret)
}