blob: c68899a24effe82d27e5d8630d1e8710098377f5 [file] [log] [blame]
Victor Hsieha51c2f12021-05-10 16:09:38 -07001// 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 Badoure80ee752021-05-12 12:41:18 -070014package {
15 default_applicable_licenses: ["Android-Apache-2.0"],
16}
17
Victor Hsieha51c2f12021-05-10 16:09:38 -070018apex_key {
19 name: "com.android.compos.key",
20 public_key: "com.android.compos.avbpubkey",
21 private_key: "com.android.compos.pem",
22}
23
24android_app_certificate {
25 name: "com.android.compos.certificate",
26 certificate: "com.android.compos",
27}
28
29apex {
30 name: "com.android.compos",
31 manifest: "manifest.json",
32 file_contexts: ":com.android.compos-file_contexts",
33 key: "com.android.compos.key",
Alan Stokes493cd8a2021-07-26 16:09:20 +010034 certificate: ":com.android.compos.certificate",
Victor Hsieha51c2f12021-05-10 16:09:38 -070035
36 // TODO(victorhsieh): make it updatable
37 updatable: false,
Jiyong Parkb6c45e72021-06-22 20:24:56 +090038 platform_apis: true,
Victor Hsiehb5f465a2021-05-11 13:45:15 -070039
Alan Stokes1c6f91c2021-11-19 14:11:30 +000040 system_ext_specific: true,
41
Victor Hsiehb5f465a2021-05-11 13:45:15 -070042 binaries: [
Victor Hsiehf8213712021-10-01 10:49:39 -070043 // Used in Android
Alan Stokesc3bab542021-07-06 15:48:33 +010044 "compos_key_cmd",
Alan Stokeseb97d4a2021-08-26 14:24:32 +010045 "compos_verify_key",
Alan Stokes3ef78d92021-09-08 11:51:06 +010046 "composd",
Alan Stokesb2cc79e2021-09-14 14:08:46 +010047 "composd_cmd",
Victor Hsieh23bcbfe2021-11-18 10:32:50 -080048 "pvm_exec", // deprecated
Victor Hsiehf8213712021-10-01 10:49:39 -070049
50 // Used in VM
Victor Hsiehb5f465a2021-05-11 13:45:15 -070051 "compsvc",
Victor Hsiehf8213712021-10-01 10:49:39 -070052 ],
53
Jooyung Hanaeefda42021-06-15 16:59:00 +090054 apps: [
55 "CompOSPayloadApp",
56 ],
57
58 prebuilts: [
Jooyung Hanadfb76c2021-06-28 17:29:30 +090059 "CompOSPayloadApp.apk.idsig",
Alan Stokes3ef78d92021-09-08 11:51:06 +010060 "com.android.compos.init.rc",
Jooyung Hanaeefda42021-06-15 16:59:00 +090061 ],
Victor Hsieha51c2f12021-05-10 16:09:38 -070062}
Alan Stokes3ef78d92021-09-08 11:51:06 +010063
64prebuilt_etc {
65 name: "com.android.compos.init.rc",
66 src: "composd.rc",
67 filename: "init.rc",
68 installable: false,
69}