diff options
author | 2020-05-29 15:35:06 +0100 | |
---|---|---|
committer | 2020-06-01 12:51:38 +0100 | |
commit | c9af538c906e9c1b8e8875e2fcc0d38c88665e03 (patch) | |
tree | 93efb07f32cf949915116a75297a9a2a3a02045c /java/testing.go | |
parent | 16fdea928ba6dccbe8cf11bdad999eaec1c8ebec (diff) |
Add android.test.base to class loader context for API version < 30.
Test: lunch aosp_cf_x86_phone-userdebug && m
Change-Id: Id2ece4b2a6317998e1dd177e853848cc3956f39f
Diffstat (limited to 'java/testing.go')
-rw-r--r-- | java/testing.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/java/testing.go b/java/testing.go index 196714852..faf4d32b4 100644 --- a/java/testing.go +++ b/java/testing.go @@ -230,6 +230,22 @@ func GatherRequiredDepsForTest() string { system_modules: "core-platform-api-stubs-system-modules", installable: true, } + + java_library { + name: "android.test.base", + srcs: ["a.java"], + sdk_version: "none", + system_modules: "core-platform-api-stubs-system-modules", + installable: true, + } + + java_library { + name: "android.test.mock", + srcs: ["a.java"], + sdk_version: "none", + system_modules: "core-platform-api-stubs-system-modules", + installable: true, + } ` systemModules := []string{ |