"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
This commit is contained in:
Victor Chang
2021-06-29 22:05:58 +01:00
parent 22fd032ccb
commit b54f5aa359
3 changed files with 19 additions and 4 deletions

View File

@@ -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",
}