add the LOCAL_DISABLE_TEST_CONFIG variable
Introduce and set the variable LOCAL_DISABLE_TEST_CONFIG varaible to be true for the `android_test_helper_app` type modules. Bug: 188927912 Test: rum 'm module-name' (`android_test_helper_app` type module) Test: TreeHugger Change-Id: I5db1029f31d8afe1ca5e9fab95e39d751971058d
This commit is contained in:
@@ -460,6 +460,8 @@ func (a *AndroidTestHelperApp) AndroidMkEntries() []android.AndroidMkEntries {
|
||||
entries := &entriesList[0]
|
||||
entries.ExtraEntries = append(entries.ExtraEntries, func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
|
||||
testSuiteComponent(entries, a.appTestHelperAppProperties.Test_suites)
|
||||
// introduce a flag variable to control the generation of the .config file
|
||||
entries.SetString("LOCAL_DISABLE_TEST_CONFIG", "true")
|
||||
})
|
||||
|
||||
return entriesList
|
||||
|
Reference in New Issue
Block a user