1#
2# Copyright (C) 2020 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
17#
18# All components inherited here go to system image
19#
20$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
21$(call inherit-product, $(SRC_TARGET_DIR)/product/mainline_system.mk)
22
23# Enable mainline checking
24PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
25
26#
27# All components inherited here go to system_ext image
28#
29# VNDK snapshot is needed to support older vendor images
30$(call inherit-product, $(SRC_TARGET_DIR)/product/media_system_ext.mk)
31
32#
33# All components below go to product image
34#
35
36#
37# Special settings to skip mount product and system_ext on the device,
38# so this product can be tested isolated from those partitions.
39#
40$(call inherit-product, device/generic/common/mgsi/mgsi_release.mk)
41
42# Don't build super.img.
43PRODUCT_BUILD_SUPER_PARTITION := false
44
45# Instruct AM to enable framework's fallback home activity
46PRODUCT_SYSTEM_EXT_PROPERTIES += ro.system_user_home_needed=true
47# Add RRO needed by CSI
48PRODUCT_PACKAGE_OVERLAYS := device/generic/common/mgsi/overlay
49
50PRODUCT_SOONG_NAMESPACES += device/generic/goldfish
51
52PRODUCT_NAME := csi_arm64
53PRODUCT_DEVICE := dummy_arm64
54PRODUCT_BRAND := Android
55PRODUCT_MODEL := arm64 CSI
56