2020-01-06 16:53:16 +08:00
|
|
|
#
|
|
|
|
# Copyright (C) 2017 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.
|
|
|
|
#
|
|
|
|
|
2020-05-29 16:50:03 +08:00
|
|
|
# PRODUCT_VENDOR_PROPERTIES cannot be used here because sysprops will be at
|
2020-01-06 16:53:16 +08:00
|
|
|
# /vendor/[build|default].prop when build split is on. In order to have sysprops
|
|
|
|
# on the generic system image, place them in build/make/target/board/
|
|
|
|
# gsi_system.prop.
|
|
|
|
|
|
|
|
# aosp_arm64_ab-userdebug is a Legacy GSI for the devices with:
|
|
|
|
# - ARM 64 bits user space
|
|
|
|
# - 64 bits binder interface
|
|
|
|
# - system-as-root
|
|
|
|
|
|
|
|
#
|
|
|
|
# All components inherited here go to system image
|
|
|
|
# (The system image of Legacy GSI is not CSI)
|
|
|
|
#
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
2020-08-11 10:37:01 +08:00
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk)
|
2020-01-06 16:53:16 +08:00
|
|
|
|
|
|
|
# Enable mainline checking for excat this product name
|
|
|
|
ifeq (aosp_arm64_ab,$(TARGET_PRODUCT))
|
|
|
|
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
|
|
|
|
endif
|
|
|
|
|
|
|
|
#
|
|
|
|
# All components inherited here go to system_ext image
|
|
|
|
#
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk)
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk)
|
|
|
|
|
|
|
|
#
|
|
|
|
# All components inherited here go to product image
|
|
|
|
#
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk)
|
|
|
|
|
|
|
|
#
|
|
|
|
# Special settings for GSI releasing
|
|
|
|
#
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/legacy_gsi_release.mk)
|
|
|
|
|
|
|
|
PRODUCT_NAME := aosp_arm64_ab
|
|
|
|
PRODUCT_DEVICE := generic_arm64_ab
|
|
|
|
PRODUCT_BRAND := Android
|
|
|
|
PRODUCT_MODEL := AOSP on ARM64
|