1# 2# Copyright (C) 2019 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# Enable Setup Wizard. This overrides the setting in emulator_vendor.mk 17PRODUCT_SYSTEM_EXT_PROPERTIES += \ 18 ro.setupwizard.mode?=OPTIONAL 19 20ifeq (,$(ENABLE_REAR_VIEW_CAMERA_SAMPLE)) 21ENABLE_REAR_VIEW_CAMERA_SAMPLE:=true 22endif 23 24$(call inherit-product, device/generic/car/common/car.mk) 25# This overrides device/generic/car/common/car.mk 26$(call inherit-product, device/generic/car/emulator/audio/car_emulator_audio.mk) 27$(call inherit-product, device/generic/car/emulator/rotary/car_rotary.mk) 28 29PRODUCT_COPY_FILES += \ 30 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml 31 32ifeq (true,$(BUILD_EMULATOR_CLUSTER_DISPLAY)) 33PRODUCT_COPY_FILES += \ 34 device/generic/car/emulator/cluster/display_settings.xml:system/etc/display_settings.xml 35PRODUCT_PRODUCT_PROPERTIES += \ 36 hwservicemanager.external.displays=1,400,600,120,0 \ 37 persist.service.bootanim.displays=8140900251843329 38ifeq (true,$(ENABLE_CLUSTER_OS_DOUBLE)) 39DEVICE_PACKAGE_OVERLAYS += device/generic/car/emulator/cluster/osdouble_overlay 40else 41DEVICE_PACKAGE_OVERLAYS += device/generic/car/emulator/cluster/overlay 42endif # ENABLE_CLUSTER_OS_DOUBLE 43endif # BUILD_EMULATOR_CLUSTER_DISPLAY 44 45# Define the host tools and libs that are parts of the SDK. 46$(call inherit-product, sdk/build/product_sdk.mk) 47$(call inherit-product, development/build/product_sdk.mk) 48