move aoc settings to gs-common

Bug: 248426917
Test: boot with aoc launched
Change-Id: If1bebaf185071efcb9477d16aec7f9a518e6d785
This commit is contained in:
Adam Shih 2022-10-20 11:24:47 +08:00
parent 353f2be720
commit 03063d506b
4 changed files with 0 additions and 33 deletions

View file

@ -1 +0,0 @@
# AoC firmware will be loaded by Daemon

View file

@ -1,3 +0,0 @@
# Load AoC firmware and boot
on property:vendor.all.modules.ready=1
write /sys/devices/platform/19000000.aoc/firmware aoc.bin

View file

@ -1,26 +0,0 @@
PRODUCT_PACKAGES += \
aocd
BOARD_VENDOR_SEPOLICY_DIRS += device/google/zuma-sepolicy/aoc
ifeq (,$(filter aosp_%,$(TARGET_PRODUCT)))
# IAudioMetricExt HIDL
PRODUCT_PACKAGES += \
vendor.google.audiometricext@1.0-service-vendor
endif
# If AoC Daemon is not present on this build, load firmware at boot via rc
ifeq ($(wildcard vendor/google/whitechapel/aoc/aocd),)
PRODUCT_COPY_FILES += \
device/google/zuma/aoc/conf/init.aoc.nodaemon.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.aoc.rc
else
PRODUCT_COPY_FILES += \
device/google/zuma/aoc/conf/init.aoc.daemon.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.aoc.rc
endif
# AoC debug support
PRODUCT_PACKAGES_DEBUG += \
aocdump \
aocutil \
aoc_audio_cfg \
vp_util

View file

@ -435,9 +435,6 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
android.hardware.dumpstate-service.zuma
# AoC support
include device/google/zuma/aoc/device.mk
#
# Audio HALs
#