blob: 136bb4269af6920f5ef90ba36ad362d176e395e4 [file] [log] [blame]
Adam Shihee779b92022-10-11 15:36:26 +08001BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/aoc/sepolicy
2
Adam Shih81461162022-10-20 11:23:26 +08003PRODUCT_PACKAGES += dump_aoc \
Bruce Po6b92b302023-12-26 23:27:00 +00004 aocd \
5 aocxd
Adam Shih81461162022-10-20 11:23:26 +08006
7ifeq (,$(filter aosp_%,$(TARGET_PRODUCT)))
8# IAudioMetricExt HIDL
9PRODUCT_PACKAGES += \
10 vendor.google.audiometricext@1.0-service-vendor
11endif
12
13# If AoC Daemon is not present on this build, load firmware at boot via rc
14ifeq ($(wildcard vendor/google/whitechapel/aoc/aocd),)
15PRODUCT_COPY_FILES += \
16 device/google/gs-common/aoc/conf/init.aoc.nodaemon.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.aoc.rc
17else
18PRODUCT_COPY_FILES += \
19 device/google/gs-common/aoc/conf/init.aoc.daemon.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.aoc.rc
20endif
21
22# AoC debug support
23PRODUCT_PACKAGES_DEBUG += \
24 aocdump \
25 aocutil \
26 aoc_audio_cfg \
Bruce Po6b92b302023-12-26 23:27:00 +000027 vp_util \
28 aocx_tool