1# 2# Copyright 2020 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#### 18#### This file should be included at the bottom of the aosp_PHONE_car.mk file 19#### 20 21# Auto modules 22PRODUCT_PACKAGES += \ 23 android.hardware.automotive.audiocontrol-service.example 24 25ifneq ($(PIXEL_2023_GEN),) 26 PRODUCT_PACKAGES += android.hardware.automotive.can 27else 28 PRODUCT_PACKAGES += android.hardware.automotive.can@1.0-service 29endif 30 31PRODUCT_PACKAGES_DEBUG += \ 32 canhalctrl \ 33 canhaldump \ 34 canhalsend \ 35 android.hardware.automotive.occupant_awareness@1.0-service \ 36 android.hardware.automotive.occupant_awareness@1.0-service_mock 37 38BOARD_SEPOLICY_DIRS += device/google_car/common/sepolicy 39 40# Sepolicy for occupant awareness system 41include packages/services/Car/car_product/occupant_awareness/OccupantAwareness.mk 42 43# Sepolicy for compute pipe system 44include packages/services/Car/cpp/computepipe/products/computepipe.mk 45 46PRODUCT_COPY_FILES += \ 47 device/google_car/common/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \ 48 49PRODUCT_PROPERTY_OVERRIDES += \ 50 ro.boot.wificountrycode=00 \ 51 ro.config.media_vol_default=0 \ 52 log.tag.CarTrustAgentUnlockEvent=I 53 54# Phone car targets don't support ramdump 55PRODUCT_PACKAGES += \ 56 ExcludeRamdumpUploader 57 58# Disable RCS and EAB for phone car targets 59PRODUCT_PRODUCT_PROPERTIES += \ 60 persist.rcs.supported=0 \ 61 persist.eab.supported=0 62 63# Explicitly disable support for some Bluetooth profiles included in base phone builds 64PRODUCT_PRODUCT_PROPERTIES += \ 65 bluetooth.profile.asha.central.enabled=false \ 66 bluetooth.profile.bap.broadcast.assist.enabled=false \ 67 bluetooth.profile.bap.unicast.client.enabled=false \ 68 bluetooth.profile.bas.client.enabled=false \ 69 bluetooth.profile.csip.set_coordinator.enabled=false \ 70 bluetooth.profile.hap.client.enabled=false \ 71 bluetooth.profile.hfp.ag.enabled=false \ 72 bluetooth.profile.hid.device.enabled=false \ 73 bluetooth.profile.hid.host.enabled=false \ 74 bluetooth.profile.map.server.enabled=false \ 75 bluetooth.profile.mcp.server.enabled=false \ 76 bluetooth.profile.opp.enabled=false \ 77 bluetooth.profile.pbap.server.enabled=false \ 78 bluetooth.profile.sap.server.enabled=false \ 79 bluetooth.profile.ccp.server.enabled=false \ 80 bluetooth.profile.vcp.controller.enabled=false 81