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
17# Auto modules
18PRODUCT_PACKAGES += \
19    android.hardware.automotive.vehicle@2.0-service
20
21# Emulator configuration
22PRODUCT_COPY_FILES += \
23    device/generic/car/common/config.ini:config.ini
24
25# Car init.rc
26PRODUCT_COPY_FILES += \
27    packages/services/Car/car_product/init/init.bootstat.rc:root/init.bootstat.rc \
28    packages/services/Car/car_product/init/init.car.rc:root/init.car.rc
29
30# Enable landscape
31PRODUCT_COPY_FILES += \
32    frameworks/native/data/etc/android.hardware.screen.landscape.xml:system/etc/permissions/android.hardware.screen.landscape.xml
33
34# Overwrite handheld_core_hardware.xml with a dummy config.
35PRODUCT_COPY_FILES += \
36    device/generic/car/common/android.hardware.dummy.xml:system/etc/permissions/handheld_core_hardware.xml \
37    device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml \
38    device/sample/etc/old-apns-conf.xml:system/etc/old-apns-conf.xml \
39    device/generic/car/common/car_core_hardware.xml:system/etc/permissions/car_core_hardware.xml \
40    frameworks/native/data/etc/android.hardware.type.automotive.xml:system/etc/permissions/android.hardware.type.automotive.xml
41
42# Vendor Interface Manifest
43PRODUCT_COPY_FILES += \
44    device/generic/car/common/manifest.xml:$(TARGET_COPY_OUT_VENDOR)/manifest.xml
45
46PRODUCT_PROPERTY_OVERRIDES += \
47    android.car.hvac.demo=true
48
49TARGET_USES_CAR_FUTURE_FEATURES := true
50
51$(call inherit-product, packages/services/Car/car_product/build/car.mk)
52