Hai Zhang | 82a6227 | 2020-01-14 21:56:34 -0800 | [diff] [blame] | 1 | // 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 Zhang | 76f0def | 2020-01-16 01:42:58 -0800 | [diff] [blame] | 15 | filegroup { |
| 16 | name: "service-permission-sources", |
Hai Zhang | 82a6227 | 2020-01-14 21:56:34 -0800 | [diff] [blame] | 17 | srcs: [ |
| 18 | "java/**/*.java", |
| 19 | ], |
Hai Zhang | 76f0def | 2020-01-16 01:42:58 -0800 | [diff] [blame] | 20 | } |
| 21 | |
| 22 | java_library { |
| 23 | name: "service-permission", |
| 24 | srcs: [ |
| 25 | ":service-permission-sources", |
| 26 | ], |
Anton Hansson | 9003745 | 2020-02-08 13:49:17 +0000 | [diff] [blame^] | 27 | sdk_version: "module_current", |
Hai Zhang | 82a6227 | 2020-01-14 21:56:34 -0800 | [diff] [blame] | 28 | libs: [ |
Hai Zhang | 76f0def | 2020-01-16 01:42:58 -0800 | [diff] [blame] | 29 | "framework-annotations-lib", |
Hai Zhang | 82a6227 | 2020-01-14 21:56:34 -0800 | [diff] [blame] | 30 | "framework-permission", |
| 31 | ], |
| 32 | apex_available: [ |
| 33 | "com.android.permission", |
| 34 | "test_com.android.permission", |
| 35 | ], |
| 36 | installable: true, |
| 37 | } |