blob: 3528466cbed1351de5ae324a597bda160f65ffd2 [file] [log] [blame]
Anton Hanssoncf27a3d2018-06-27 18:25:33 +01001#
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 Hansson889018d2018-09-26 16:23:02 +010017# This makefile is the basis of a generic system image for a handheld device.
Anton Hanssoncac1fc82018-07-10 17:25:52 +010018$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system.mk)
Anton Hansson889018d2018-09-26 16:23:02 +010019$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system.mk)
Anton Hanssoncf27a3d2018-06-27 18:25:33 +010020
Anton Hanssonbfa43382018-09-27 13:48:17 +010021# Shared java libs
22PRODUCT_PACKAGES += \
23 com.android.nfc_extras \
24
Anton Hansson017e68e2018-09-27 11:57:08 +010025# Applications
26PRODUCT_PACKAGES += \
27 DMService \
28 LiveWallpapersPicker \
29 PartnerBookmarksProvider \
30 RcsService \
31 SafetyRegulatoryInfo \
32 Stk \
33
Anton Hanssondeec2802018-09-27 11:07:38 +010034# OTA support
Anton Hansson33611b12018-08-21 16:17:55 +010035PRODUCT_PACKAGES += \
36 update_engine \
37 update_verifier \
38
Anton Hansson2df4bce2018-09-28 15:18:53 +010039# Wrapped net utils for /vendor access.
40PRODUCT_PACKAGES += \
41 netutils-wrapper-1.0 \
42
Anton Hanssonaa236882018-10-16 17:34:33 +010043# Charger images
44PRODUCT_PACKAGES += \
45 charger_res_images \
46
Anton Hanssondeec2802018-09-27 11:07:38 +010047# system_other support
48PRODUCT_PACKAGES += \
49 cppreopts.sh \
50 otapreopt_script \
51
Anton Hanssonc9410072018-09-27 15:43:22 +010052# Bluetooth libraries
53PRODUCT_PACKAGES += \
54 audio.a2dp.default \
55 audio.hearing_aid.default \
56
Anton Hansson36c5d0d2018-10-16 16:15:39 +010057PRODUCT_PACKAGES_DEBUG := \
58 avbctl \
59 bootctl \
60 tinyplay \
61 tinycap \
62 tinymix \
63 tinypcminfo \
64 update_engine_client \
65
SzuWei Lind7ae1bc2018-08-08 13:22:36 +080066# Enable dynamic partition size
67PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
68
Anton Hanssoncf27a3d2018-06-27 18:25:33 +010069PRODUCT_NAME := mainline_system
70PRODUCT_BRAND := generic
Anton Hanssoncf27a3d2018-06-27 18:25:33 +010071
Tao Bao696bb332018-08-17 16:27:01 -070072_base_mk_whitelist :=
Anton Hanssoncf27a3d2018-06-27 18:25:33 +010073
74_my_whitelist := $(_base_mk_whitelist)
75
Anton Hanssonb65a5ba2018-10-18 13:40:22 +010076# For mainline, system.img should be mounted at /, so we include ROOT here.
Anton Hansson173b5e72018-07-02 15:01:35 +010077_my_paths := \
Anton Hansson46bf4b52018-10-15 10:13:35 +000078 $(TARGET_COPY_OUT_ROOT) \
79 $(TARGET_COPY_OUT_SYSTEM) \
Anton Hansson173b5e72018-07-02 15:01:35 +010080
81$(call require-artifacts-in-path, $(_my_paths), $(_my_whitelist))