summaryrefslogtreecommitdiff
path: root/java/androidmk.go
diff options
context:
space:
mode:
author Yuntao Xu <yuntaoxu@google.com> 2021-05-27 10:30:26 -0700
committer Yuntao Xu <yuntaoxu@google.com> 2021-05-27 17:53:46 -0700
commit7a31855228d6fbc8f15694d15037568f6475b7fe (patch)
tree32809c48ca5d6a91ca6d6f2d219f6d7e393e5129 /java/androidmk.go
parentd8561166eb3c360ecd6cfbbc1356bfc70e67c0b2 (diff)
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
Diffstat (limited to 'java/androidmk.go')
-rw-r--r--java/androidmk.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/androidmk.go b/java/androidmk.go
index 015454464..04357e066 100644
--- a/java/androidmk.go
+++ b/java/androidmk.go
@@ -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