| # |
| # Copyright (C) 2020 The Android Open Source Project |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| # |
| |
| # Audio HAL |
| LOCAL_AUDIO_PRODUCT_PACKAGE ?= \ |
| audio.primary.trout \ |
| audio.r_submix.default \ |
| android.hardware.audio@6.0-impl:32 \ |
| android.hardware.audio.effect@6.0-impl:32 \ |
| android.hardware.audio.service \ |
| android.hardware.soundtrigger@2.3-impl |
| LOCAL_AUDIO_DEVICE_PACKAGE_OVERLAYS ?= device/google/trout/hal/audio/6.0/overlay |
| |
| # Audio Control HAL |
| LOCAL_AUDIOCONTROL_HAL_PRODUCT_PACKAGE ?= android.hardware.audiocontrol@2.0-service.trout |
| |
| # Dumpstate HAL |
| LOCAL_DUMPSTATE_PRODUCT_PACKAGE ?= android.hardware.dumpstate@1.1-service.trout |
| LOCAL_DUMPSTATE_PROPERTIES ?= \ |
| ro.vendor.dumpstate.server.cid=2 \ |
| ro.vendor.dumpstate.server.port=9310 \ |
| ro.vendor.helpersystem.log_loc=/data/bugreport_test \ |
| |
| # Vehicle HAL |
| LOCAL_VHAL_PRODUCT_PACKAGE ?= android.hardware.automotive.vehicle@2.0-virtualization-service |
| |
| BOARD_SEPOLICY_DIRS += device/google/trout/sepolicy/vendor/google |
| |
| # Disable Vulkan feature flag as it is not supported on trout |
| TARGET_VULKAN_SUPPORT := false |
| |
| PRODUCT_PROPERTY_OVERRIDES += \ |
| ro.hardware.type=automotive \ |
| ${LOCAL_AUDIOCONTROL_PROPERTIES} \ |
| ${LOCAL_DUMPSTATE_PROPERTIES} |
| |
| TARGET_BOARD_INFO_FILE ?= device/google/trout/board-info.txt |
| |
| LOCAL_AUDIO_PRODUCT_COPY_FILES ?= \ |
| device/google/trout/hal/audio/6.0/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ |
| device/google/trout/hal/audio/6.0/car_audio_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/car_audio_configuration.xml \ |
| frameworks/native/data/etc/android.hardware.broadcastradio.xml:system/etc/permissions/android.hardware.broadcastradio.xml \ |
| frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \ |
| frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml |
| |
| # TODO(b/162901005): Include computepipe once this project points to main. |
| # include packages/services/Car/cpp/computepipe/products/computepipe.mk |