blob: aec3c882db7e043971b397f3e8c83e975fa6971d [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
Alan Stokes611cc942022-02-01 10:16:21 +000036 // TODO(b/206618706): make it updatable
Victor Hsieha51c2f12021-05-10 16:09:38 -070037 updatable: false,
Jiyong Park1c8f14c2021-11-29 11:29:16 +090038 future_updatable: true,
Jiyong Parkb6c45e72021-06-22 20:24:56 +090039 platform_apis: true,
Victor Hsiehb5f465a2021-05-11 13:45:15 -070040
Alan Stokes1c6f91c2021-11-19 14:11:30 +000041 system_ext_specific: true,
42
Victor Hsiehb5f465a2021-05-11 13:45:15 -070043 binaries: [
Victor Hsiehf8213712021-10-01 10:49:39 -070044 // Used in Android
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 Hsiehf8213712021-10-01 10:49:39 -070048
49 // Used in VM
Victor Hsiehb5f465a2021-05-11 13:45:15 -070050 "compsvc",
Victor Hsiehf8213712021-10-01 10:49:39 -070051 ],
52
Alan Stokese54f3302021-10-18 12:30:31 +010053 systemserverclasspath_fragments: ["com.android.compos-systemserverclasspath-fragment"],
54
Jooyung Hanaeefda42021-06-15 16:59:00 +090055 apps: [
56 "CompOSPayloadApp",
57 ],
58
59 prebuilts: [
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
Alan Stokese54f3302021-10-18 12:30:31 +010064systemserverclasspath_fragment {
65 name: "com.android.compos-systemserverclasspath-fragment",
66 contents: ["service-compos"],
67 apex_available: ["com.android.compos"],
68}
69
Alan Stokes3ef78d92021-09-08 11:51:06 +010070prebuilt_etc {
71 name: "com.android.compos.init.rc",
72 src: "composd.rc",
73 filename: "init.rc",
74 installable: false,
75}