"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.
(cherry picked from commit b54f5aa359
)
Bug: 183097033
Test: m droid
Merged-In: I274e2710d1ff34e896aa620bfafb4481180c53b5
Change-Id: I374bc4899ef8f60344e37a94ad3cb8492f47fb4d
This commit is contained in:
committed by
Orion Hodson
parent
fee8cf36e3
commit
2d457e1cc8
@@ -219,7 +219,7 @@ func TestClasspath(t *testing.T) {
|
||||
name: "module_current",
|
||||
properties: `sdk_version: "module_current",`,
|
||||
bootclasspath: []string{"android_module_lib_stubs_current", "core-lambda-stubs"},
|
||||
system: "core-current-stubs-system-modules",
|
||||
system: "core-module-lib-stubs-system-modules",
|
||||
java9classpath: []string{"android_module_lib_stubs_current"},
|
||||
aidl: "-pout/soong/framework_non_updatable.aidl",
|
||||
},
|
||||
@@ -227,7 +227,7 @@ func TestClasspath(t *testing.T) {
|
||||
name: "system_server_current",
|
||||
properties: `sdk_version: "system_server_current",`,
|
||||
bootclasspath: []string{"android_system_server_stubs_current", "core-lambda-stubs"},
|
||||
system: "core-current-stubs-system-modules",
|
||||
system: "core-module-lib-stubs-system-modules",
|
||||
java9classpath: []string{"android_system_server_stubs_current"},
|
||||
aidl: "-pout/soong/framework.aidl",
|
||||
},
|
||||
|
Reference in New Issue
Block a user