blob: 4172e95bca5bc28436457135e311315bd5b30760 [file] [log] [blame]
Hai Zhang82a62272020-01-14 21:56:34 -08001// Copyright (C) 2020 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Hai Zhang76f0def2020-01-16 01:42:58 -080015filegroup {
16 name: "service-permission-sources",
Hai Zhang82a62272020-01-14 21:56:34 -080017 srcs: [
18 "java/**/*.java",
19 ],
Hai Zhang76f0def2020-01-16 01:42:58 -080020}
21
22java_library {
23 name: "service-permission",
24 srcs: [
25 ":service-permission-sources",
26 ],
27 // TODO(b/146758669): Use "system_current" after nullability annotations are system APIs.
28 sdk_version: "core_current",
Hai Zhang82a62272020-01-14 21:56:34 -080029 libs: [
Hai Zhang76f0def2020-01-16 01:42:58 -080030 "framework-annotations-lib",
31 // TODO(b/146758669): Remove this line after nullability annotations are system APIs.
32 "android_system_stubs_current",
Hai Zhang82a62272020-01-14 21:56:34 -080033 "framework-permission",
34 ],
35 apex_available: [
36 "com.android.permission",
37 "test_com.android.permission",
38 ],
39 installable: true,
40}