Merge "Build permission against the module SDK"

This commit is contained in:
Anton Hansson
2020-02-12 16:56:46 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 11 deletions

View File

@@ -26,13 +26,7 @@ java_library {
srcs: [
":framework-permission-sources",
],
// TODO(b/146758669): Use "system_current" after nullability annotations are system APIs.
sdk_version: "core_current",
libs: [
"framework-annotations-lib",
// TODO(b/146758669): Remove this line after nullability annotations are system APIs.
"android_system_stubs_current",
],
sdk_version: "module_current",
apex_available: [
"com.android.permission",
"test_com.android.permission",

View File

@@ -24,12 +24,9 @@ java_library {
srcs: [
":service-permission-sources",
],
// TODO(b/146758669): Use "system_current" after nullability annotations are system APIs.
sdk_version: "core_current",
sdk_version: "module_current",
libs: [
"framework-annotations-lib",
// TODO(b/146758669): Remove this line after nullability annotations are system APIs.
"android_system_stubs_current",
"framework-permission",
],
apex_available: [