Victor Hsieh | a51c2f1 | 2021-05-10 16:09:38 -0700 | [diff] [blame] | 1 | // Copyright (C) 2021 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. |
Bob Badour | e80ee75 | 2021-05-12 12:41:18 -0700 | [diff] [blame] | 14 | package { |
| 15 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 16 | } |
| 17 | |
Victor Hsieh | a51c2f1 | 2021-05-10 16:09:38 -0700 | [diff] [blame] | 18 | apex_key { |
| 19 | name: "com.android.compos.key", |
| 20 | public_key: "com.android.compos.avbpubkey", |
| 21 | private_key: "com.android.compos.pem", |
| 22 | } |
| 23 | |
| 24 | android_app_certificate { |
| 25 | name: "com.android.compos.certificate", |
| 26 | certificate: "com.android.compos", |
| 27 | } |
| 28 | |
| 29 | apex { |
| 30 | name: "com.android.compos", |
| 31 | manifest: "manifest.json", |
| 32 | file_contexts: ":com.android.compos-file_contexts", |
| 33 | key: "com.android.compos.key", |
Alan Stokes | 493cd8a | 2021-07-26 16:09:20 +0100 | [diff] [blame] | 34 | certificate: ":com.android.compos.certificate", |
Victor Hsieh | a51c2f1 | 2021-05-10 16:09:38 -0700 | [diff] [blame] | 35 | |
| 36 | // TODO(victorhsieh): make it updatable |
| 37 | updatable: false, |
Jiyong Park | b6c45e7 | 2021-06-22 20:24:56 +0900 | [diff] [blame] | 38 | platform_apis: true, |
Victor Hsieh | b5f465a | 2021-05-11 13:45:15 -0700 | [diff] [blame] | 39 | |
| 40 | binaries: [ |
Alan Stokes | c3bab54 | 2021-07-06 15:48:33 +0100 | [diff] [blame] | 41 | "compos_key_cmd", |
Alan Stokes | eb97d4a | 2021-08-26 14:24:32 +0100 | [diff] [blame] | 42 | "compos_verify_key", |
Alan Stokes | 3ef78d9 | 2021-09-08 11:51:06 +0100 | [diff] [blame] | 43 | "composd", |
Victor Hsieh | b5f465a | 2021-05-11 13:45:15 -0700 | [diff] [blame] | 44 | "compsvc", |
Victor Hsieh | b5f465a | 2021-05-11 13:45:15 -0700 | [diff] [blame] | 45 | "pvm_exec", |
| 46 | ], |
Jooyung Han | aeefda4 | 2021-06-15 16:59:00 +0900 | [diff] [blame] | 47 | |
| 48 | apps: [ |
| 49 | "CompOSPayloadApp", |
| 50 | ], |
| 51 | |
| 52 | prebuilts: [ |
Jooyung Han | adfb76c | 2021-06-28 17:29:30 +0900 | [diff] [blame] | 53 | "CompOSPayloadApp.apk.idsig", |
Alan Stokes | 3ef78d9 | 2021-09-08 11:51:06 +0100 | [diff] [blame] | 54 | "com.android.compos.init.rc", |
Jooyung Han | aeefda4 | 2021-06-15 16:59:00 +0900 | [diff] [blame] | 55 | ], |
Victor Hsieh | a51c2f1 | 2021-05-10 16:09:38 -0700 | [diff] [blame] | 56 | } |
Alan Stokes | 3ef78d9 | 2021-09-08 11:51:06 +0100 | [diff] [blame] | 57 | |
| 58 | prebuilt_etc { |
| 59 | name: "com.android.compos.init.rc", |
| 60 | src: "composd.rc", |
| 61 | filename: "init.rc", |
| 62 | installable: false, |
| 63 | } |