1#
2# Copyright (C) 2016 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
16PRODUCT_PACKAGE_OVERLAYS := device/generic/car/common/overlay
17
18QEMU_USE_SYSTEM_EXT_PARTITIONS := true
19PRODUCT_USE_DYNAMIC_PARTITIONS := true
20
21ifneq ($(EMULATOR_DYNAMIC_MULTIDISPLAY_CONFIG),true)
22# Emulator configuration
23PRODUCT_COPY_FILES += \
24    device/generic/car/common/config.ini:config.ini
25endif # EMULATOR_DYNAMIC_MULTIDISPLAY_CONFIG
26
27#
28# All components inherited here go to system image
29#
30$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk)
31$(call inherit-product, packages/services/Car/car_product/build/car_generic_system.mk)
32
33PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := strict
34
35#
36# All components inherited here go to system_ext image
37#
38$(call inherit-product, packages/services/Car/car_product/build/car_system_ext.mk)
39
40#
41# All components inherited here go to product image
42#
43$(call inherit-product, device/generic/car/emulator/car_emulator_product.mk)
44
45#
46# All components inherited here go to vendor image
47#
48$(call inherit-product, device/generic/car/emulator/car_emulator_vendor.mk)
49$(call inherit-product, device/generic/goldfish/board/emu64a/details.mk)
50
51EMULATOR_VENDOR_NO_SOUND := true
52PRODUCT_NAME := sdk_car_arm64
53PRODUCT_DEVICE := emulator_car64_arm64
54PRODUCT_BRAND := Android
55PRODUCT_MODEL := Car on arm64 emulator
56