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