blob: 7f3187949712f160f04d5a4ef286581135ceaf8b [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 ],
Anton Hansson442fcf42020-03-27 15:09:26 +000020 path: "java",
Hai Zhang76f0def2020-01-16 01:42:58 -080021}
22
Paul Duffinbace9a12020-06-02 17:48:57 +010023java_sdk_library {
Hai Zhang76f0def2020-01-16 01:42:58 -080024 name: "service-permission",
Paul Duffinbace9a12020-06-02 17:48:57 +010025 defaults: ["framework-system-server-module-defaults"],
26 visibility: [
27 "//frameworks/base/services/core",
28 "//frameworks/base/apex/permission",
29 "//frameworks/base/apex/permission/testing",
30 "//frameworks/base/apex/permission/tests",
31 "//frameworks/base/services/tests/mockingservicestests",
32 ],
33 impl_library_visibility: [
34 "//visibility:override",
35 "//frameworks/base/apex/permission/tests",
36 "//frameworks/base/services/tests/mockingservicestests",
37 "//frameworks/base/services/tests/servicestests",
38 ],
Hai Zhang76f0def2020-01-16 01:42:58 -080039 srcs: [
40 ":service-permission-sources",
41 ],
Hai Zhang82a62272020-01-14 21:56:34 -080042 libs: [
Hai Zhang82a62272020-01-14 21:56:34 -080043 "framework-permission",
44 ],
45 apex_available: [
46 "com.android.permission",
47 "test_com.android.permission",
48 ],
49 installable: true,
50}