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-08-21 17:17:55 +02:00
|
|
|
# OTA support.
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
update_engine \
|
|
|
|
update_verifier \
|
|
|
|
|
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
|
|
|
|
PRODUCT_SHIPPING_API_LEVEL := 28
|
|
|
|
|
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-07-02 16:01:35 +02:00
|
|
|
# Both /system and / are in system.img when PRODUCT_SHIPPING_API_LEVEL>=28.
|
|
|
|
_my_paths := \
|
|
|
|
$(TARGET_COPY_OUT_ROOT) \
|
|
|
|
$(TARGET_COPY_OUT_SYSTEM) \
|
|
|
|
|
|
|
|
$(call require-artifacts-in-path, $(_my_paths), $(_my_whitelist))
|