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