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