2018-06-27 19:25:33 +02:00
|
|
|
#
|
|
|
|
# Copyright (C) 2018 The Android Open Source Project
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
#
|
|
|
|
|
2018-09-26 17:23:02 +02:00
|
|
|
# This makefile is the basis of a generic system image for a handheld device.
|
2018-07-10 18:25:52 +02:00
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system.mk)
|
2018-09-26 17:23:02 +02:00
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system.mk)
|
2019-01-04 14:11:55 +01:00
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_default.mk)
|
2019-01-07 15:36:12 +01:00
|
|
|
# Add adb keys to debuggable AOSP builds (if they exist)
|
|
|
|
$(call inherit-product-if-exists, vendor/google/security/adb/vendor_key.mk)
|
2018-06-27 19:25:33 +02:00
|
|
|
|
2018-09-27 14:48:17 +02:00
|
|
|
# Shared java libs
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
com.android.nfc_extras \
|
|
|
|
|
2018-09-27 12:57:08 +02:00
|
|
|
# Applications
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
LiveWallpapersPicker \
|
|
|
|
PartnerBookmarksProvider \
|
2018-10-16 18:17:36 +02:00
|
|
|
PresencePolling \
|
2018-09-27 12:57:08 +02:00
|
|
|
RcsService \
|
|
|
|
SafetyRegulatoryInfo \
|
|
|
|
Stk \
|
2019-01-03 17:48:55 +01:00
|
|
|
Tag \
|
2018-11-06 11:58:44 +01:00
|
|
|
TimeZoneUpdater \
|
2018-09-27 12:57:08 +02:00
|
|
|
|
2018-11-13 16:19:34 +01:00
|
|
|
# Binaries
|
|
|
|
PRODUCT_PACKAGES += llkd
|
|
|
|
|
2018-09-27 12:07:38 +02:00
|
|
|
# OTA support
|
2018-08-21 17:17:55 +02:00
|
|
|
PRODUCT_PACKAGES += \
|
2019-01-25 12:07:15 +01:00
|
|
|
recovery-refresh \
|
2018-08-21 17:17:55 +02:00
|
|
|
update_engine \
|
|
|
|
update_verifier \
|
|
|
|
|
2018-09-28 16:18:53 +02:00
|
|
|
# Wrapped net utils for /vendor access.
|
2018-11-13 16:19:34 +01:00
|
|
|
PRODUCT_PACKAGES += netutils-wrapper-1.0
|
2018-09-28 16:18:53 +02:00
|
|
|
|
2018-10-16 18:34:33 +02:00
|
|
|
# Charger images
|
2018-11-13 16:19:34 +01:00
|
|
|
PRODUCT_PACKAGES += charger_res_images
|
2018-10-16 18:34:33 +02:00
|
|
|
|
2018-09-27 12:07:38 +02:00
|
|
|
# system_other support
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
cppreopts.sh \
|
|
|
|
otapreopt_script \
|
|
|
|
|
2018-09-27 16:43:22 +02:00
|
|
|
# Bluetooth libraries
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
audio.a2dp.default \
|
|
|
|
audio.hearing_aid.default \
|
|
|
|
|
2018-11-06 18:29:32 +01:00
|
|
|
# For ringtones that rely on forward lock encryption
|
|
|
|
PRODUCT_PACKAGES += libfwdlockengine
|
|
|
|
|
2018-11-20 14:33:27 +01:00
|
|
|
# System libraries commonly depended on by things on the product partition.
|
|
|
|
# This list will be pruned periodically.
|
|
|
|
PRODUCT_PACKAGES += \
|
2018-11-26 17:42:57 +01:00
|
|
|
android.hardware.biometrics.fingerprint@2.1 \
|
2018-11-20 14:33:27 +01:00
|
|
|
android.hardware.radio@1.0 \
|
|
|
|
android.hardware.radio@1.1 \
|
|
|
|
android.hardware.radio@1.2 \
|
|
|
|
android.hardware.radio.config@1.0 \
|
|
|
|
android.hardware.radio.deprecated@1.0 \
|
|
|
|
android.hardware.secure_element@1.0 \
|
2019-01-04 22:39:20 +01:00
|
|
|
android.hardware.wifi@1.0 \
|
2018-11-20 14:33:27 +01:00
|
|
|
libaudio-resampler \
|
|
|
|
liblogwrap \
|
|
|
|
liblz4 \
|
|
|
|
libminui \
|
2018-11-26 17:42:57 +01:00
|
|
|
libnl \
|
2018-11-20 14:33:27 +01:00
|
|
|
libprotobuf-cpp-full \
|
|
|
|
libprotobuf-cpp-full-rtti \
|
|
|
|
|
2018-10-17 10:08:27 +02:00
|
|
|
PRODUCT_PACKAGES_DEBUG += \
|
2018-10-16 17:15:39 +02:00
|
|
|
avbctl \
|
|
|
|
bootctl \
|
|
|
|
tinyplay \
|
|
|
|
tinycap \
|
|
|
|
tinymix \
|
|
|
|
tinypcminfo \
|
|
|
|
update_engine_client \
|
|
|
|
|
2018-11-22 17:52:29 +01:00
|
|
|
# Enable stats logging in LMKD
|
|
|
|
TARGET_LMKD_STATS_LOG := true
|
|
|
|
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
|
|
|
ro.lmk.log_stats=true
|
|
|
|
|
2018-08-08 07:22:36 +02:00
|
|
|
# Enable dynamic partition size
|
|
|
|
PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
|
|
|
|
|
2018-06-27 19:25:33 +02:00
|
|
|
PRODUCT_NAME := mainline_system
|
|
|
|
PRODUCT_BRAND := generic
|
|
|
|
|
2018-08-18 01:27:01 +02:00
|
|
|
_base_mk_whitelist :=
|
2018-06-27 19:25:33 +02:00
|
|
|
|
|
|
|
_my_whitelist := $(_base_mk_whitelist)
|
|
|
|
|
2018-10-18 14:40:22 +02:00
|
|
|
# For mainline, system.img should be mounted at /, so we include ROOT here.
|
2018-07-02 16:01:35 +02:00
|
|
|
_my_paths := \
|
2018-10-15 12:35:15 +02:00
|
|
|
$(TARGET_COPY_OUT_ROOT)/ \
|
|
|
|
$(TARGET_COPY_OUT_SYSTEM)/ \
|
2018-07-02 16:01:35 +02:00
|
|
|
|
|
|
|
$(call require-artifacts-in-path, $(_my_paths), $(_my_whitelist))
|