Hai Zhang | 7871c78 | 2019-10-09 14:58:52 -0700 | [diff] [blame] | 1 | // Copyright (C) 2019 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 | |
| 15 | apex { |
| 16 | name: "com.android.permission", |
Hai Zhang | cf2fed6 | 2019-11-08 15:23:40 -0800 | [diff] [blame] | 17 | defaults: ["com.android.permission-defaults"], |
Hai Zhang | 7871c78 | 2019-10-09 14:58:52 -0700 | [diff] [blame] | 18 | manifest: "apex_manifest.json", |
Hai Zhang | cf2fed6 | 2019-11-08 15:23:40 -0800 | [diff] [blame] | 19 | } |
Hai Zhang | 7871c78 | 2019-10-09 14:58:52 -0700 | [diff] [blame] | 20 | |
Hai Zhang | cf2fed6 | 2019-11-08 15:23:40 -0800 | [diff] [blame] | 21 | apex_defaults { |
| 22 | name: "com.android.permission-defaults", |
Jiyong Park | 8201bdf | 2020-02-24 18:36:46 +0900 | [diff] [blame] | 23 | updatable: true, |
Jooyung Han | db38a2d | 2020-03-30 13:23:01 +0900 | [diff] [blame] | 24 | min_sdk_version: "R", |
Hai Zhang | 7871c78 | 2019-10-09 14:58:52 -0700 | [diff] [blame] | 25 | key: "com.android.permission.key", |
| 26 | certificate: ":com.android.permission.certificate", |
Hai Zhang | 82a6227 | 2020-01-14 21:56:34 -0800 | [diff] [blame] | 27 | java_libs: [ |
| 28 | "framework-permission", |
| 29 | "service-permission", |
| 30 | ], |
Hai Zhang | 4dca026 | 2019-12-12 15:07:01 -0800 | [diff] [blame] | 31 | apps: ["PermissionController"], |
Hai Zhang | 7871c78 | 2019-10-09 14:58:52 -0700 | [diff] [blame] | 32 | } |
| 33 | |
| 34 | apex_key { |
| 35 | name: "com.android.permission.key", |
| 36 | public_key: "com.android.permission.avbpubkey", |
| 37 | private_key: "com.android.permission.pem", |
| 38 | } |
| 39 | |
| 40 | android_app_certificate { |
| 41 | name: "com.android.permission.certificate", |
| 42 | certificate: "com.android.permission", |
| 43 | } |