1#
2# Copyright (C) 2021 Google Inc.
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# CAN bus HAL
18PRODUCT_PACKAGES += android.hardware.automotive.can@1.0-service
19PRODUCT_PACKAGES += canhalconfigurator
20PRODUCT_COPY_FILES += device/generic/car/emulator/usbpt/protocan/canbus_config.pb:$(TARGET_COPY_OUT_VENDOR)/etc/canbus_config.pb
21
22# TODO(b/259994014): Remove CAN packages from here after AAOS baseline is
23# applied to all car emulators
24PRODUCT_PACKAGES_DEBUG += \
25    canhalctrl \
26    canhaldump \
27    canhalsend
28
29PRODUCT_PACKAGES += android.device.generic.car.emulator@1.0-protocanbus-service
30BOARD_SEPOLICY_DIRS += device/generic/car/emulator/usbpt/protocan/protocanbus/sepolicy
31DEVICE_MANIFEST_FILE += device/generic/car/emulator/usbpt/protocan/manifest.protocan.xml
32