Anton Hansson | cf27a3d | 2018-06-27 18:25:33 +0100 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2018 The Android Open Source Project |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | |
Anton Hansson | cac1fc8 | 2018-07-10 17:25:52 +0100 | [diff] [blame] | 17 | # This makefile is the basis of a generic system image for a handheld |
| 18 | # device with no telephony. |
| 19 | $(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system.mk) |
Anton Hansson | cf27a3d | 2018-06-27 18:25:33 +0100 | [diff] [blame] | 20 | |
| 21 | PRODUCT_NAME := mainline_system |
| 22 | PRODUCT_BRAND := generic |
| 23 | PRODUCT_SHIPPING_API_LEVEL := 28 |
| 24 | |
Anton Hansson | cf27a3d | 2018-06-27 18:25:33 +0100 | [diff] [blame] | 25 | _base_mk_whitelist := \ |
Anton Hansson | cf27a3d | 2018-06-27 18:25:33 +0100 | [diff] [blame] | 26 | recovery/root/etc/mke2fs.conf \ |
Tom Cherry | 12542bd | 2018-08-07 13:12:02 -0700 | [diff] [blame] | 27 | recovery/root/system/bin/init \ |
| 28 | recovery/root/system/bin/ueventd \ |
| 29 | recovery/root/system/lib64/ld-android.so \ |
| 30 | recovery/root/system/lib64/libbase.so \ |
| 31 | recovery/root/system/lib64/libc++.so \ |
| 32 | recovery/root/system/lib64/libc.so \ |
| 33 | recovery/root/system/lib64/libcrypto.so \ |
| 34 | recovery/root/system/lib64/libcutils.so \ |
| 35 | recovery/root/system/lib64/libdl.so \ |
| 36 | recovery/root/system/lib64/liblog.so \ |
| 37 | recovery/root/system/lib64/libm.so \ |
| 38 | recovery/root/system/lib64/libpackagelistparser.so \ |
| 39 | recovery/root/system/lib64/libpcre2.so \ |
| 40 | recovery/root/system/lib64/libselinux.so \ |
| 41 | recovery/root/system/lib64/libz.so \ |
Anton Hansson | cf27a3d | 2018-06-27 18:25:33 +0100 | [diff] [blame] | 42 | |
| 43 | _my_whitelist := $(_base_mk_whitelist) |
| 44 | |
Anton Hansson | 173b5e7 | 2018-07-02 15:01:35 +0100 | [diff] [blame] | 45 | # Both /system and / are in system.img when PRODUCT_SHIPPING_API_LEVEL>=28. |
| 46 | _my_paths := \ |
| 47 | $(TARGET_COPY_OUT_ROOT) \ |
| 48 | $(TARGET_COPY_OUT_SYSTEM) \ |
| 49 | |
| 50 | $(call require-artifacts-in-path, $(_my_paths), $(_my_whitelist)) |