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
35#
36# Special settings to skip mount product and system_ext on the device,
37# so this product can be tested isolated from those partitions.
38#
39$(call inherit-product, device/generic/common/mgsi/mgsi_release.mk)
40
41# Don't build super.img.
42PRODUCT_BUILD_SUPER_PARTITION := false
43
44# Instruct AM to enable framework's fallback home activity
45PRODUCT_SYSTEM_EXT_PROPERTIES += ro.system_user_home_needed=true
46# Add RRO needed by CSI
47PRODUCT_PACKAGE_OVERLAYS := device/generic/common/mgsi/overlay
48
49PRODUCT_SOONG_NAMESPACES += device/generic/goldfish
50
51PRODUCT_NAME := csi_x86
52PRODUCT_DEVICE := dummy_x86
53PRODUCT_BRAND := Android
54PRODUCT_MODEL := x86 CSI
55