blob: 7638c41902268bdefcfe1046e578c599eb07ca2f [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",
34
35 // TODO(victorhsieh): make it updatable
36 updatable: false,
Jiyong Parkb6c45e72021-06-22 20:24:56 +090037 platform_apis: true,
Victor Hsiehb5f465a2021-05-11 13:45:15 -070038
39 binaries: [
Alan Stokesc3bab542021-07-06 15:48:33 +010040 "compos_key_cmd",
Alan Stokesb15c93f2021-07-15 16:21:50 +010041 "compos_key_main",
Victor Hsiehb5f465a2021-05-11 13:45:15 -070042 "compsvc",
43 "compsvc_worker",
44 "pvm_exec",
45 ],
Jooyung Hanaeefda42021-06-15 16:59:00 +090046
47 apps: [
48 "CompOSPayloadApp",
49 ],
50
51 prebuilts: [
Jooyung Hanadfb76c2021-06-28 17:29:30 +090052 "CompOSPayloadApp.apk.idsig",
Jooyung Hanaeefda42021-06-15 16:59:00 +090053 ],
Victor Hsieha51c2f12021-05-10 16:09:38 -070054}