From b54f5aa3599196cfed8c32d3e52e1c35b51b8473 Mon Sep 17 00:00:00 2001 From: Victor Chang Date: Tue, 29 Jun 2021 22:05:58 +0100 Subject: "module_current" and "system_server_current" should contain ART's @SystemApi(MODULE_LIBRARIES) Before this fix, compiling a java_library against sdk_version: "module_current" can't use the @SystemApi(MODULE_LIBRARIES) provided by the ART module because the system module "core-current-stubs-system-modules" contains only the public APIs. Use the new system module with module lib APIs. Bug: 183097033 Test: m droid Change-Id: I274e2710d1ff34e896aa620bfafb4481180c53b5 --- java/testing.go | 1 + 1 file changed, 1 insertion(+) (limited to 'java/testing.go') diff --git a/java/testing.go b/java/testing.go index c3803c8d4..e2ff5cd12 100644 --- a/java/testing.go +++ b/java/testing.go @@ -312,6 +312,7 @@ func gatherRequiredDepsForTest() string { systemModules := []string{ "core-current-stubs-system-modules", + "core-module-lib-stubs-system-modules", "legacy-core-platform-api-stubs-system-modules", "stable-core-platform-api-stubs-system-modules", } -- cgit v1.2.3-59-g8ed1b