Tom Cherry | c9f5353 | 2019-11-04 10:30:36 -0800 | [diff] [blame] | 1 | // Copyright 2019 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 | |
Bob Badour | d69ad69 | 2021-02-16 19:02:14 -0800 | [diff] [blame] | 15 | package { |
| 16 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 17 | } |
| 18 | |
Tom Cherry | c9f5353 | 2019-11-04 10:30:36 -0800 | [diff] [blame] | 19 | prebuilt_etc { |
Po-yao Chang | 6fe9367 | 2023-08-10 17:03:34 +0800 | [diff] [blame] | 20 | name: "init.boringssl.zygote64_32.rc", |
| 21 | src: "init.boringssl.zygote64_32.rc", |
| 22 | sub_dir: "init/hw", |
| 23 | symlinks: [ |
| 24 | "init.boringssl.zygote32.rc", |
| 25 | "init.boringssl.no_zygote.rc", |
| 26 | ], |
| 27 | } |
| 28 | |
| 29 | prebuilt_etc { |
| 30 | name: "init.boringssl.zygote64.rc", |
| 31 | src: "init.boringssl.zygote64.rc", |
| 32 | sub_dir: "init/hw", |
| 33 | } |
| 34 | |
| 35 | prebuilt_etc { |
Tom Cherry | c9f5353 | 2019-11-04 10:30:36 -0800 | [diff] [blame] | 36 | name: "init.rc", |
| 37 | src: "init.rc", |
| 38 | sub_dir: "init/hw", |
Yunkai Lim | 9292f74 | 2023-07-26 06:21:30 +0000 | [diff] [blame] | 39 | required: [ |
| 40 | "fsverity_init", |
| 41 | "platform-bootclasspath", |
Po-yao Chang | 6fe9367 | 2023-08-10 17:03:34 +0800 | [diff] [blame] | 42 | "init.boringssl.zygote64.rc", |
| 43 | "init.boringssl.zygote64_32.rc", |
Yunkai Lim | 9292f74 | 2023-07-26 06:21:30 +0000 | [diff] [blame] | 44 | ], |
Tom Cherry | c9f5353 | 2019-11-04 10:30:36 -0800 | [diff] [blame] | 45 | } |
| 46 | |
| 47 | prebuilt_etc { |
| 48 | name: "ueventd.rc", |
| 49 | src: "ueventd.rc", |
| 50 | recovery_available: true, |
| 51 | } |
Kiyoung Kim | 235ae0d | 2020-10-21 11:08:12 +0900 | [diff] [blame] | 52 | |
| 53 | // TODO(b/147210213) Generate list of libraries during build and fill in at build time |
| 54 | linker_config { |
| 55 | name: "system_linker_config", |
| 56 | src: "etc/linker.config.json", |
Kiyoung Kim | 344b46a | 2020-11-16 10:49:24 +0900 | [diff] [blame] | 57 | installable: false, |
Kiyoung Kim | 235ae0d | 2020-10-21 11:08:12 +0900 | [diff] [blame] | 58 | } |
Jooyung Han | 489cea1 | 2021-04-15 05:18:21 +0900 | [diff] [blame] | 59 | |
| 60 | // TODO(b/185211376) Scope the native APIs that microdroid will provide to the app payload |
| 61 | prebuilt_etc { |
| 62 | name: "public.libraries.android.txt", |
| 63 | src: "etc/public.libraries.android.txt", |
| 64 | filename: "public.libraries.txt", |
| 65 | installable: false, |
Inseob Kim | 2e20058 | 2021-06-11 12:58:53 +0900 | [diff] [blame] | 66 | } |
| 67 | |
| 68 | // adb_debug.prop in debug ramdisk |
| 69 | prebuilt_root { |
| 70 | name: "adb_debug.prop", |
| 71 | src: "adb_debug.prop", |
| 72 | debug_ramdisk: true, |
| 73 | } |
Jeongik Cha | 3652004 | 2024-01-24 16:33:43 +0900 | [diff] [blame] | 74 | |
| 75 | prebuilt_etc { |
| 76 | name: "init.zygote64.rc", |
| 77 | src: "init.zygote64.rc", |
| 78 | sub_dir: "init/hw", |
| 79 | } |
| 80 | |
| 81 | prebuilt_etc { |
| 82 | name: "init.zygote32.rc", |
| 83 | src: "init.zygote32.rc", |
| 84 | sub_dir: "init/hw", |
| 85 | } |
| 86 | |
| 87 | prebuilt_etc { |
| 88 | name: "init.zygote64_32.rc", |
| 89 | src: "init.zygote64_32.rc", |
| 90 | sub_dir: "init/hw", |
| 91 | } |
| 92 | |
| 93 | prebuilt_etc { |
| 94 | name: "init.usb.rc", |
| 95 | src: "init.usb.rc", |
| 96 | sub_dir: "init/hw", |
| 97 | } |
| 98 | |
| 99 | prebuilt_etc { |
| 100 | name: "init.usb.configfs.rc", |
| 101 | src: "init.usb.configfs.rc", |
| 102 | sub_dir: "init/hw", |
| 103 | } |
Inseob Kim | f1ddc62 | 2024-04-17 18:30:19 +0900 | [diff] [blame^] | 104 | |
| 105 | prebuilt_etc { |
| 106 | name: "etc_hosts", |
| 107 | src: "etc/hosts", |
| 108 | filename: "hosts", |
| 109 | } |