1#
2# Copyright (C) 2022 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$(call inherit-product, packages/services/Car/car_product/build/car_product.mk)
17
18# Install automotive specific battery health HAL
19PRODUCT_PACKAGES += \
20    android.hardware.health-service.automotive \
21    android.hardware.health-service.automotive_recovery \
22
23# Runtime Resource Overlay for Connectivity
24PRODUCT_PACKAGES += \
25    CarConnectivityOverlay
26
27# Allowed packages per user type
28PRODUCT_COPY_FILES += \
29    device/generic/car/common/preinstalled-packages-product-car-emulator.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/preinstalled-packages-product-car-emulator.xml
30
31# This file is used by qemu to provide supported VHAL property list.
32PRODUCT_COPY_FILES += hardware/interfaces/automotive/vehicle/aidl/emu_metadata/android.hardware.automotive.vehicle-types-meta.json:android.hardware.automotive.vehicle-types-meta.json
33
34# TODO(b/253459812): find a better way to handle it.
35DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += \
36    device/generic/car/common/device_framework_matrix_product.xml
37