diff options
author | Jiyong Park <jiyong@google.com> | 2020-01-30 18:00:15 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2020-01-31 23:01:34 +0900 |
commit | 50146e9c8eadac8f71ab4e1ae689a0545aaed5a4 (patch) | |
tree | 846325f7e029db0e72ab150a32495ecfb2627311 /java/sdk_test.go | |
parent | 67edce7adbe4bbaeced39bc10df6157ede6b3826 (diff) |
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
Diffstat (limited to 'java/sdk_test.go')
-rw-r--r-- | java/sdk_test.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/java/sdk_test.go b/java/sdk_test.go index 9cabd7772..c815fe3c1 100644 --- a/java/sdk_test.go +++ b/java/sdk_test.go @@ -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 { |