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 16 PRODUCT_COPY_FILES += \ 17 device/generic/car/common/bootanimations/bootanimation-832.zip:system/media/bootanimation.zip \ 18 device/generic/car/common/init.car-emulator.rc:root/init.goldfish.rc 19 20 $(call inherit-product, device/generic/car/common/product/aosp_x86_64.mk) 21 $(call inherit-product, packages/services/Car/car_product/build/car.mk) 22 PRODUCT_PACKAGE_OVERLAYS := packages/services/Car/car_product/overlay 23 24 # Overrides 25 PRODUCT_BRAND := google 26 PRODUCT_MODEL := Car on x86 emulator 27 PRODUCT_NAME := car_emu_x86_64 28 PRODUCT_DEVICE := car-x86_64 29 30 PRODUCT_RESTRICT_VENDOR_FILES := false 31 32 PRODUCT_PACKAGES += \ 33 vehicle.default 34 # Replace framework versions with dummy one, which is essentially 35 # the same as removing the xml. Needs this as there is no easy 36 # way to remove PRODUCT_COPY_FILES from inherited products. 37 PRODUCT_COPY_FILES += \ 38 device/generic/car/common/android.hardware.dummy.xml:system/etc/permissions/handheld_core_hardware.xml \ 39 packages/services/Car/car_product/init/init.car.rc:root/init.car.rc \ 40 packages/services/Car/car_product/init/init.bootstat.rc:root/init.bootstat.rc 41 42 PRODUCT_COPY_FILES += \ 43 frameworks/native/data/etc/android.hardware.type.automotive.xml:system/etc/permissions/android.hardware.type.automotive.xml \ 44 frameworks/native/data/etc/android.hardware.screen.landscape.xml:system/etc/permissions/android.hardware.screen.landscape.xml 45 46 PRODUCT_PROPERTY_OVERRIDES += \ 47 android.car.drawer.unlimited=true \ 48 android.car.hvac.demo=true \ 49 com.android.car.radio.demo=true \ 50 com.android.car.radio.demo.dual=true 51