blob: 2eadb084b0b40ce78f76c422326aa18bfcf6749d [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 \
4 aocd
5
6ifeq (,$(filter aosp_%,$(TARGET_PRODUCT)))
7# IAudioMetricExt HIDL
8PRODUCT_PACKAGES += \
9 vendor.google.audiometricext@1.0-service-vendor
10endif
11
12# If AoC Daemon is not present on this build, load firmware at boot via rc
13ifeq ($(wildcard vendor/google/whitechapel/aoc/aocd),)
14PRODUCT_COPY_FILES += \
15 device/google/gs-common/aoc/conf/init.aoc.nodaemon.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.aoc.rc
16else
17PRODUCT_COPY_FILES += \
18 device/google/gs-common/aoc/conf/init.aoc.daemon.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.aoc.rc
19endif
20
21# AoC debug support
22PRODUCT_PACKAGES_DEBUG += \
23 aocdump \
24 aocutil \
25 aoc_audio_cfg \
26 vp_util