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", |
| 23 | required: ["fsverity_init"], |
| 24 | } |
| 25 | |
| 26 | prebuilt_etc { |
| 27 | name: "ueventd.rc", |
| 28 | src: "ueventd.rc", |
| 29 | recovery_available: true, |
| 30 | } |
Kiyoung Kim | 235ae0d | 2020-10-21 11:08:12 +0900 | [diff] [blame] | 31 | |
| 32 | // TODO(b/147210213) Generate list of libraries during build and fill in at build time |
| 33 | linker_config { |
| 34 | name: "system_linker_config", |
| 35 | src: "etc/linker.config.json", |
Kiyoung Kim | 344b46a | 2020-11-16 10:49:24 +0900 | [diff] [blame] | 36 | installable: false, |
Kiyoung Kim | 235ae0d | 2020-10-21 11:08:12 +0900 | [diff] [blame] | 37 | } |
Jooyung Han | 489cea1 | 2021-04-15 05:18:21 +0900 | [diff] [blame^] | 38 | |
| 39 | // TODO(b/185211376) Scope the native APIs that microdroid will provide to the app payload |
| 40 | prebuilt_etc { |
| 41 | name: "public.libraries.android.txt", |
| 42 | src: "etc/public.libraries.android.txt", |
| 43 | filename: "public.libraries.txt", |
| 44 | installable: false, |
| 45 | } |