sdk_version: "module_current" is supported
module_* is a new API surface for OS modules (e.g. APEXes). It has slightly bigger API surface than the system_* SDK. Specifically, APIs with @SystemApi(client=MODULE_LIBRARIES) are added there. Bug: 146757305 Test: m Change-Id: I8980e50c0e3a4cd843048e0de1f638e854384f46
This commit is contained in:
@@ -211,6 +211,15 @@ func TestClasspath(t *testing.T) {
|
||||
java8classpath: []string{"prebuilts/sdk/29/public/android.jar", "prebuilts/sdk/tools/core-lambda-stubs.jar"},
|
||||
aidl: "-pprebuilts/sdk/29/public/framework.aidl",
|
||||
},
|
||||
{
|
||||
|
||||
name: "module_current",
|
||||
properties: `sdk_version: "module_current",`,
|
||||
bootclasspath: []string{"android_module_lib_stubs_current", "core-lambda-stubs"},
|
||||
system: "core-current-stubs-system-modules",
|
||||
java9classpath: []string{"android_module_lib_stubs_current"},
|
||||
aidl: "-p" + buildDir + "/framework.aidl",
|
||||
},
|
||||
}
|
||||
|
||||
for _, testcase := range classpathTestcases {
|
||||
|
Reference in New Issue
Block a user