diff options
author | Paul Duffin <paulduffin@google.com> | 2019-12-03 18:06:47 +0000 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2019-12-31 15:08:59 +0000 |
commit | 1b82e6a108ce8104c3f7ed7e63d6b0a88cd8a918 (patch) | |
tree | 78204e6d78a7688c7a31d012dbee6728a879addf /java/java_test.go | |
parent | e602918294cdfdb50dd2e9f246808adae932b5ce (diff) |
Add support for java_test in sdk
Adds java_test_import module type for use by the sdk snapshot and
adds java_tests property to the sdk and sdk_snapshot module type.
This is needed for the conscrypt test sdk.
Bug: 143678475
Test: m nothing
Change-Id: Ied4c56c978dac2f92a9b3bc34b3235d7eeba2fd3
Diffstat (limited to 'java/java_test.go')
-rw-r--r-- | java/java_test.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/java/java_test.go b/java/java_test.go index 2f67cdaaa..30a8ca682 100644 --- a/java/java_test.go +++ b/java/java_test.go @@ -486,6 +486,13 @@ func TestPrebuilts(t *testing.T) { name: "stubs-source", srcs: ["stubs/sources"], } + + java_test_import { + name: "test", + jars: ["a.jar"], + test_suites: ["cts"], + test_config: "AndroidTest.xml", + } `) fooModule := ctx.ModuleForTests("foo", "android_common") |