blob: eddda9f61b046b8e8af2b3ba865bb204f610d21b [file] [log] [blame]
Aidan Wolterbb91a6b2024-07-01 15:42:20 +00001// Copyright (C) 2024 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.
14
15package {
16 default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19apex {
20 name: "com.android.microfuchsia",
21 manifest: "manifest.json",
22 key: "com.android.microfuchsia.key",
23
24 // Allows us to specify a file_contexts in our own repository.
25 system_ext_specific: true,
26 file_contexts: "com.android.microfuchsia-file_contexts",
27
28 updatable: false,
29 future_updatable: false,
30 platform_apis: true,
31
32 binaries: [
33 // A daemon that starts on bootup that launches microfuchsia in AVF.
34 "microfuchsiad",
35 ],
36
37 prebuilts: [
38 // An init script to launch the microfuchsiad daemon on bootup which
39 // launches the microfuchsia VM in AVF.
40 "com.android.microfuchsia.init.rc",
41 ],
42}
43
44apex_key {
45 name: "com.android.microfuchsia.key",
46 public_key: "com.android.microfuchsia.avbpubkey",
47 private_key: "com.android.microfuchsia.pem",
48}
49
50prebuilt_etc {
51 name: "com.android.microfuchsia.init.rc",
52 src: "microfuchsia.rc",
53 filename: "init.rc",
54 installable: false,
55}