blob: 679c98ddcbb53d46bd46ca6091d0ab990885c480 [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 ],
Anton Hansson90037452020-02-08 13:49:17 +000027 sdk_version: "module_current",
Hai Zhang82a62272020-01-14 21:56:34 -080028 libs: [
Hai Zhang76f0def2020-01-16 01:42:58 -080029 "framework-annotations-lib",
Hai Zhang82a62272020-01-14 21:56:34 -080030 "framework-permission",
31 ],
32 apex_available: [
33 "com.android.permission",
34 "test_com.android.permission",
35 ],
36 installable: true,
37}
Anton Hansson1db33162020-03-23 13:30:15 +000038
39droidstubs {
40 name: "service-permission-stubs-srcs",
41 srcs: [ ":service-permission-sources" ],
42 defaults: ["service-module-stubs-srcs-defaults"],
43 visibility: ["//visibility:private"]
44}
45
46java_library {
47 name: "service-permission-stubs",
48 srcs: [":service-permission-stubs-srcs"],
49 defaults: ["service-module-stubs-defaults"],
50 visibility: ["//visibility:private"]
51}