diff options
author | easoncylee <easoncylee@google.com> | 2020-04-30 14:57:06 +0800 |
---|---|---|
committer | easoncylee <easoncylee@google.com> | 2020-05-15 12:50:48 +0800 |
commit | 5bcff5d1fdb127663e7acd5882d3e6462c33fbc9 (patch) | |
tree | 234a082bfcd663b76710bce03a19fe69339e7fa1 /java/java.go | |
parent | 2bdf0da9e762b4540249cd91f9f5a949e9f1090d (diff) |
Add test_mainline_modules to the auto-gen test config(AndroidJUnitTest only).
To support parameterized mainline modules in Test Mapping, we plan to
add a new parameter called test_mainline_modules in build system to
auto-generate the test config based on the parameter.
For detailed information: go/test-mapping-mainline-gcl
(search for auto-generated pattern)
Bug: 155238134
Test: add "test_mainline_modules: [some.apk]" to TetheringTests,
and build the modules, confirm the parameterized option is added
in the test config.
Change-Id: I41ba8749ce46da62db402a8b8a555d4874e1cfc0
Diffstat (limited to 'java/java.go')
-rw-r--r-- | java/java.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/java.go b/java/java.go index 9d75c74c7..7d31f669d 100644 --- a/java/java.go +++ b/java/java.go @@ -2033,6 +2033,10 @@ type testProperties struct { // doesn't exist next to the Android.bp, this attribute doesn't need to be set to true // explicitly. Auto_gen_config *bool + + // Add parameterized mainline modules to auto generated test config. The options will be + // handled by TradeFed to do downloading and installing the specified modules on the device. + Test_mainline_modules []string } type testHelperLibraryProperties struct { |