1#
2# Copyright (C) 2017 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$(call inherit-product, device/generic/car/common/car.mk)
17$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_x86_64.mk)
18$(call inherit-product, device/generic/car/emulator/audio/car_emulator_audio.mk)
19
20PRODUCT_SDK_ADDON_NAME := car_emu_x86_64
21
22# Extra files needed by the addon.
23PRODUCT_SDK_ADDON_COPY_FILES := \
24    device/generic/goldfish/data/etc/encryptionkey.img:images/${TARGET_CPU_ABI}/encryptionkey.img\
25    device/generic/car/car_x86_64/manifest.ini:manifest.ini
26
27PRODUCT_SDK_ADDON_COPY_MODULES := \
28    com.android.future.usb.accessory:libs/usb.jar
29
30DEVICE_PACKAGE_OVERLAYS += device/generic/car/car_x86_64/overlay
31
32PRODUCT_NAME := car_x86_64
33PRODUCT_DEVICE := generic_x86_64
34PRODUCT_BRAND := Google
35PRODUCT_MODEL := Car on x86_64 emulator
36PRODUCT_SDK_ADDON_NAME := car_x86_64
37
38PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := \
39    device/generic/car/car_x86_64/source.properties
40