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 | 889018d | 2018-09-26 16:23:02 +0100 | [diff] [blame] | 17 | # This makefile is the basis of a generic system image for a handheld device. |
Anton Hansson | cac1fc8 | 2018-07-10 17:25:52 +0100 | [diff] [blame] | 18 | $(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system.mk) |
Anton Hansson | 889018d | 2018-09-26 16:23:02 +0100 | [diff] [blame] | 19 | $(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system.mk) |
Anton Hansson | cf27a3d | 2018-06-27 18:25:33 +0100 | [diff] [blame] | 20 | |
Anton Hansson | bfa4338 | 2018-09-27 13:48:17 +0100 | [diff] [blame] | 21 | # Shared java libs |
| 22 | PRODUCT_PACKAGES += \ |
| 23 | com.android.nfc_extras \ |
| 24 | |
Anton Hansson | 017e68e | 2018-09-27 11:57:08 +0100 | [diff] [blame] | 25 | # Applications |
| 26 | PRODUCT_PACKAGES += \ |
| 27 | DMService \ |
| 28 | LiveWallpapersPicker \ |
| 29 | PartnerBookmarksProvider \ |
| 30 | RcsService \ |
| 31 | SafetyRegulatoryInfo \ |
| 32 | Stk \ |
| 33 | |
Anton Hansson | deec280 | 2018-09-27 11:07:38 +0100 | [diff] [blame] | 34 | # OTA support |
Anton Hansson | 33611b1 | 2018-08-21 16:17:55 +0100 | [diff] [blame] | 35 | PRODUCT_PACKAGES += \ |
| 36 | update_engine \ |
| 37 | update_verifier \ |
| 38 | |
Anton Hansson | 2df4bce | 2018-09-28 15:18:53 +0100 | [diff] [blame] | 39 | # Wrapped net utils for /vendor access. |
| 40 | PRODUCT_PACKAGES += \ |
| 41 | netutils-wrapper-1.0 \ |
| 42 | |
Anton Hansson | aa23688 | 2018-10-16 17:34:33 +0100 | [diff] [blame] | 43 | # Charger images |
| 44 | PRODUCT_PACKAGES += \ |
| 45 | charger_res_images \ |
| 46 | |
Anton Hansson | deec280 | 2018-09-27 11:07:38 +0100 | [diff] [blame] | 47 | # system_other support |
| 48 | PRODUCT_PACKAGES += \ |
| 49 | cppreopts.sh \ |
| 50 | otapreopt_script \ |
| 51 | |
Anton Hansson | c941007 | 2018-09-27 15:43:22 +0100 | [diff] [blame] | 52 | # Bluetooth libraries |
| 53 | PRODUCT_PACKAGES += \ |
| 54 | audio.a2dp.default \ |
| 55 | audio.hearing_aid.default \ |
| 56 | |
Anton Hansson | 36c5d0d | 2018-10-16 16:15:39 +0100 | [diff] [blame] | 57 | PRODUCT_PACKAGES_DEBUG := \ |
| 58 | avbctl \ |
| 59 | bootctl \ |
| 60 | tinyplay \ |
| 61 | tinycap \ |
| 62 | tinymix \ |
| 63 | tinypcminfo \ |
| 64 | update_engine_client \ |
| 65 | |
SzuWei Lin | d7ae1bc | 2018-08-08 13:22:36 +0800 | [diff] [blame] | 66 | # Enable dynamic partition size |
| 67 | PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true |
| 68 | |
Anton Hansson | cf27a3d | 2018-06-27 18:25:33 +0100 | [diff] [blame] | 69 | PRODUCT_NAME := mainline_system |
| 70 | PRODUCT_BRAND := generic |
Anton Hansson | cf27a3d | 2018-06-27 18:25:33 +0100 | [diff] [blame] | 71 | |
Tao Bao | 696bb33 | 2018-08-17 16:27:01 -0700 | [diff] [blame] | 72 | _base_mk_whitelist := |
Anton Hansson | cf27a3d | 2018-06-27 18:25:33 +0100 | [diff] [blame] | 73 | |
| 74 | _my_whitelist := $(_base_mk_whitelist) |
| 75 | |
Anton Hansson | b65a5ba | 2018-10-18 13:40:22 +0100 | [diff] [blame^] | 76 | # For mainline, system.img should be mounted at /, so we include ROOT here. |
Anton Hansson | 173b5e7 | 2018-07-02 15:01:35 +0100 | [diff] [blame] | 77 | _my_paths := \ |
Anton Hansson | 46bf4b5 | 2018-10-15 10:13:35 +0000 | [diff] [blame] | 78 | $(TARGET_COPY_OUT_ROOT) \ |
| 79 | $(TARGET_COPY_OUT_SYSTEM) \ |
Anton Hansson | 173b5e7 | 2018-07-02 15:01:35 +0100 | [diff] [blame] | 80 | |
| 81 | $(call require-artifacts-in-path, $(_my_paths), $(_my_whitelist)) |