diff options
author | 2021-06-29 22:05:58 +0100 | |
---|---|---|
committer | 2021-06-29 22:05:58 +0100 | |
commit | b54f5aa3599196cfed8c32d3e52e1c35b51b8473 (patch) | |
tree | 7a50fec9f85daf5608f2237112fe82974a86979a /java/testing.go | |
parent | 22fd032ccbe6b8352964fc01d961f0d71b20c949 (diff) |
"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
Diffstat (limited to 'java/testing.go')
-rw-r--r-- | java/testing.go | 1 |
1 files changed, 1 insertions, 0 deletions
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", } |