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)
|
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 += \
|
|
|
|
DMService \
|
|
|
|
LiveWallpapersPicker \
|
|
|
|
PartnerBookmarksProvider \
|
2018-10-16 18:17:36 +02:00
|
|
|
PresencePolling \
|
2018-09-27 12:57:08 +02:00
|
|
|
RcsService \
|
|
|
|
SafetyRegulatoryInfo \
|
|
|
|
Stk \
|
|
|
|
|
2018-09-27 12:07:38 +02:00
|
|
|
# OTA support
|
2018-08-21 17:17:55 +02:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
update_engine \
|
|
|
|
update_verifier \
|
|
|
|
|
2018-09-28 16:18:53 +02:00
|
|
|
# Wrapped net utils for /vendor access.
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
netutils-wrapper-1.0 \
|
|
|
|
|
2018-10-16 18:34:33 +02:00
|
|
|
# Charger images
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
charger_res_images \
|
|
|
|
|
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-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-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))
|