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 | |
Alan Stokes | 611cc94 | 2022-02-01 10:16:21 +0000 | [diff] [blame] | 36 | // TODO(b/206618706): make it updatable |
Victor Hsieh | a51c2f1 | 2021-05-10 16:09:38 -0700 | [diff] [blame] | 37 | updatable: false, |
Jiyong Park | 1c8f14c | 2021-11-29 11:29:16 +0900 | [diff] [blame] | 38 | future_updatable: true, |
Jiyong Park | b6c45e7 | 2021-06-22 20:24:56 +0900 | [diff] [blame] | 39 | platform_apis: true, |
Victor Hsieh | b5f465a | 2021-05-11 13:45:15 -0700 | [diff] [blame] | 40 | |
Alan Stokes | 1c6f91c | 2021-11-19 14:11:30 +0000 | [diff] [blame] | 41 | system_ext_specific: true, |
| 42 | |
Victor Hsieh | b5f465a | 2021-05-11 13:45:15 -0700 | [diff] [blame] | 43 | binaries: [ |
Victor Hsieh | f821371 | 2021-10-01 10:49:39 -0700 | [diff] [blame] | 44 | // Used in Android |
Alan Stokes | eb97d4a | 2021-08-26 14:24:32 +0100 | [diff] [blame] | 45 | "compos_verify_key", |
Alan Stokes | 3ef78d9 | 2021-09-08 11:51:06 +0100 | [diff] [blame] | 46 | "composd", |
Alan Stokes | b2cc79e | 2021-09-14 14:08:46 +0100 | [diff] [blame] | 47 | "composd_cmd", |
Victor Hsieh | f821371 | 2021-10-01 10:49:39 -0700 | [diff] [blame] | 48 | |
| 49 | // Used in VM |
Alan Stokes | 38221fa | 2022-02-09 14:36:00 +0000 | [diff] [blame] | 50 | "compos_key_helper", |
Victor Hsieh | b5f465a | 2021-05-11 13:45:15 -0700 | [diff] [blame] | 51 | "compsvc", |
Victor Hsieh | f821371 | 2021-10-01 10:49:39 -0700 | [diff] [blame] | 52 | ], |
| 53 | |
Alan Stokes | e54f330 | 2021-10-18 12:30:31 +0100 | [diff] [blame] | 54 | systemserverclasspath_fragments: ["com.android.compos-systemserverclasspath-fragment"], |
| 55 | |
Jooyung Han | aeefda4 | 2021-06-15 16:59:00 +0900 | [diff] [blame] | 56 | apps: [ |
| 57 | "CompOSPayloadApp", |
| 58 | ], |
| 59 | |
| 60 | prebuilts: [ |
Alan Stokes | 3ef78d9 | 2021-09-08 11:51:06 +0100 | [diff] [blame] | 61 | "com.android.compos.init.rc", |
Jooyung Han | aeefda4 | 2021-06-15 16:59:00 +0900 | [diff] [blame] | 62 | ], |
Victor Hsieh | a51c2f1 | 2021-05-10 16:09:38 -0700 | [diff] [blame] | 63 | } |
Alan Stokes | 3ef78d9 | 2021-09-08 11:51:06 +0100 | [diff] [blame] | 64 | |
Alan Stokes | e54f330 | 2021-10-18 12:30:31 +0100 | [diff] [blame] | 65 | systemserverclasspath_fragment { |
| 66 | name: "com.android.compos-systemserverclasspath-fragment", |
| 67 | contents: ["service-compos"], |
| 68 | apex_available: ["com.android.compos"], |
| 69 | } |
| 70 | |
Alan Stokes | 3ef78d9 | 2021-09-08 11:51:06 +0100 | [diff] [blame] | 71 | prebuilt_etc { |
| 72 | name: "com.android.compos.init.rc", |
| 73 | src: "composd.rc", |
| 74 | filename: "init.rc", |
| 75 | installable: false, |
| 76 | } |