From 1b82e6a108ce8104c3f7ed7e63d6b0a88cd8a918 Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Tue, 3 Dec 2019 18:06:47 +0000 Subject: 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 --- java/java_test.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'java/java_test.go') 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") -- cgit v1.2.3-59-g8ed1b