| 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 { | 
|  | 20 | name: "init.rc", | 
|  | 21 | src: "init.rc", | 
|  | 22 | sub_dir: "init/hw", | 
| Artur Satayev | a2631eb | 2021-04-12 15:28:13 +0100 | [diff] [blame] | 23 | required: [ | 
|  | 24 | "fsverity_init", | 
|  | 25 | "platform-bootclasspath", | 
|  | 26 | ], | 
| Tom Cherry | c9f5353 | 2019-11-04 10:30:36 -0800 | [diff] [blame] | 27 | } | 
|  | 28 |  | 
|  | 29 | prebuilt_etc { | 
|  | 30 | name: "ueventd.rc", | 
|  | 31 | src: "ueventd.rc", | 
|  | 32 | recovery_available: true, | 
|  | 33 | } | 
| Kiyoung Kim | 235ae0d | 2020-10-21 11:08:12 +0900 | [diff] [blame] | 34 |  | 
|  | 35 | // TODO(b/147210213) Generate list of libraries during build and fill in at build time | 
|  | 36 | linker_config { | 
|  | 37 | name: "system_linker_config", | 
|  | 38 | src: "etc/linker.config.json", | 
| Kiyoung Kim | 344b46a | 2020-11-16 10:49:24 +0900 | [diff] [blame] | 39 | installable: false, | 
| Kiyoung Kim | 235ae0d | 2020-10-21 11:08:12 +0900 | [diff] [blame] | 40 | } | 
| Jooyung Han | 489cea1 | 2021-04-15 05:18:21 +0900 | [diff] [blame] | 41 |  | 
|  | 42 | // TODO(b/185211376) Scope the native APIs that microdroid will provide to the app payload | 
|  | 43 | prebuilt_etc { | 
|  | 44 | name: "public.libraries.android.txt", | 
|  | 45 | src: "etc/public.libraries.android.txt", | 
|  | 46 | filename: "public.libraries.txt", | 
|  | 47 | installable: false, | 
| Inseob Kim | 2e20058 | 2021-06-11 12:58:53 +0900 | [diff] [blame] | 48 | } | 
|  | 49 |  | 
|  | 50 | // adb_debug.prop in debug ramdisk | 
|  | 51 | prebuilt_root { | 
|  | 52 | name: "adb_debug.prop", | 
|  | 53 | src: "adb_debug.prop", | 
|  | 54 | debug_ramdisk: true, | 
|  | 55 | } |