Build permission against the module SDK
Bug: 146757305 Test: m Change-Id: I6a2f8c9340051497770811f631ffb72debbf0b23
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user