blob: 13d849c73bc228d28332d59b77b33d834378c242 [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
Adam Shih81461162022-10-20 11:23:26 +08007# If AoC Daemon is not present on this build, load firmware at boot via rc
8ifeq ($(wildcard vendor/google/whitechapel/aoc/aocd),)
9PRODUCT_COPY_FILES += \
10 device/google/gs-common/aoc/conf/init.aoc.nodaemon.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.aoc.rc
11else
12PRODUCT_COPY_FILES += \
13 device/google/gs-common/aoc/conf/init.aoc.daemon.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.aoc.rc
14endif
15
bowenlaie93068e2024-10-22 16:59:20 +080016ifneq ($(wildcard vendor/google/whitechapel/aoc/aocx/aidl/aocx/framework_compatibility_matrix.xml),)
17DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE += \
18 vendor/google/whitechapel/aoc/aocx/aidl/aocx/framework_compatibility_matrix.xml
19endif
20
Adam Shih81461162022-10-20 11:23:26 +080021# AoC debug support
22PRODUCT_PACKAGES_DEBUG += \
23 aocdump \
24 aocutil \
25 aoc_audio_cfg \
Bruce Po6b92b302023-12-26 23:27:00 +000026 vp_util \
27 aocx_tool