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 android.hardware.automotive.audiocontrol@1.0-service \ 21 android.hardware.bluetooth@1.0-service.sim \ 22 android.hardware.bluetooth.audio@2.0-impl \ 23 android.hardware.broadcastradio@2.0-service 24 25# Emulator configuration 26PRODUCT_COPY_FILES += \ 27 device/generic/car/common/config.ini:config.ini 28 29# Car init.rc 30PRODUCT_COPY_FILES += \ 31 packages/services/Car/car_product/init/init.bootstat.rc:root/init.bootstat.rc \ 32 packages/services/Car/car_product/init/init.car.rc:root/init.car.rc 33 34# Copy car_core_hardware and overwrite handheld_core_hardware.xml with a dummy config. 35PRODUCT_COPY_FILES += \ 36 device/generic/car/common/android.hardware.dummy.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml \ 37 device/generic/car/common/car_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/car_core_hardware.xml 38 39# Enable landscape 40PRODUCT_COPY_FILES += \ 41 frameworks/native/data/etc/android.hardware.screen.landscape.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.screen.landscape.xml 42 43# Used to embed a map in an activity view 44PRODUCT_COPY_FILES += \ 45 frameworks/native/data/etc/android.software.activities_on_secondary_displays.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.activities_on_secondary_displays.xml 46 47# Permission for Wi-Fi passpoint support 48PRODUCT_COPY_FILES += \ 49 frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml 50 51# Additional permissions 52PRODUCT_COPY_FILES += \ 53 frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \ 54 frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \ 55 frameworks/native/data/etc/android.hardware.broadcastradio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.broadcastradio.xml \ 56 frameworks/native/data/etc/android.hardware.type.automotive.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.type.automotive.xml \ 57 58# Copy APN configs 59PRODUCT_COPY_FILES += \ 60 device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml \ 61 device/sample/etc/old-apns-conf.xml:system/etc/old-apns-conf.xml 62 63# Vendor Interface Manifest 64PRODUCT_COPY_FILES += \ 65 device/generic/car/common/manifest.xml:$(TARGET_COPY_OUT_VENDOR)/manifest.xml 66 67$(call inherit-product, packages/services/Car/car_product/build/car.mk) 68