| # |
| # Copyright (C) 2019 The Android Open Source Project |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| # Enable Setup Wizard. This overrides the setting in emulator_vendor.mk |
| PRODUCT_SYSTEM_EXT_PROPERTIES += \ |
| ro.setupwizard.mode?=OPTIONAL |
| |
| ifeq (,$(ENABLE_REAR_VIEW_CAMERA_SAMPLE)) |
| ENABLE_REAR_VIEW_CAMERA_SAMPLE:=true |
| endif |
| |
| $(call inherit-product, device/generic/car/common/car.mk) |
| # This overrides device/generic/car/common/car.mk |
| $(call inherit-product, device/generic/car/emulator/audio/car_emulator_audio.mk) |
| $(call inherit-product, device/generic/car/emulator/rotary/car_rotary.mk) |
| |
| PRODUCT_COPY_FILES += \ |
| frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml |
| |
| ifeq (true,$(BUILD_EMULATOR_CLUSTER_DISPLAY)) |
| PRODUCT_COPY_FILES += \ |
| device/generic/car/emulator/cluster/display_settings.xml:system/etc/display_settings.xml |
| PRODUCT_PRODUCT_PROPERTIES += \ |
| hwservicemanager.external.displays=1,400,600,120,0 \ |
| persist.service.bootanim.displays=8140900251843329 |
| ifeq (true,$(ENABLE_CLUSTER_OS_DOUBLE)) |
| DEVICE_PACKAGE_OVERLAYS += device/generic/car/emulator/cluster/osdouble_overlay |
| else |
| DEVICE_PACKAGE_OVERLAYS += device/generic/car/emulator/cluster/overlay |
| endif # ENABLE_CLUSTER_OS_DOUBLE |
| endif # BUILD_EMULATOR_CLUSTER_DISPLAY |