blob: 8d0611f62c55da1a83a5cf60901631899eab09da [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 Hanssondeec2802018-09-27 11:07:38 +010043# system_other support
44PRODUCT_PACKAGES += \
45 cppreopts.sh \
46 otapreopt_script \
47
Anton Hanssonc9410072018-09-27 15:43:22 +010048# Bluetooth libraries
49PRODUCT_PACKAGES += \
50 audio.a2dp.default \
51 audio.hearing_aid.default \
52
SzuWei Lind7ae1bc2018-08-08 13:22:36 +080053# Enable dynamic partition size
54PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
55
Anton Hanssoncf27a3d2018-06-27 18:25:33 +010056PRODUCT_NAME := mainline_system
57PRODUCT_BRAND := generic
58PRODUCT_SHIPPING_API_LEVEL := 28
59
Tao Bao696bb332018-08-17 16:27:01 -070060_base_mk_whitelist :=
Anton Hanssoncf27a3d2018-06-27 18:25:33 +010061
62_my_whitelist := $(_base_mk_whitelist)
63
Anton Hansson173b5e72018-07-02 15:01:35 +010064# Both /system and / are in system.img when PRODUCT_SHIPPING_API_LEVEL>=28.
Tom Cherry16f45d62018-09-26 15:56:49 -070065# Though we do have a new ramdisk partition for logical partitions.
Anton Hansson173b5e72018-07-02 15:01:35 +010066_my_paths := \
Anton Hansson46bf4b52018-10-15 10:13:35 +000067 $(TARGET_COPY_OUT_ROOT) \
68 $(TARGET_COPY_OUT_SYSTEM) \
69 $(TARGET_COPY_OUT_RAMDISK) \
Anton Hansson173b5e72018-07-02 15:01:35 +010070
71$(call require-artifacts-in-path, $(_my_paths), $(_my_whitelist))