Branch zuma from gs201
Branch zuma from gs201 sha1 9009acf5c217f553b45ea82aa0702607229f0347 cp/pantah/ripcurrent cp/gs201/zuma Bug: 229340586 Change-Id: Ia312c20dae892ead9bf06728b4ef5c0c260ad045 Signed-off-by: Aaron Ding <aaronding@google.com>
This commit is contained in:
parent
11b4a07f39
commit
d88f9a90bd
289 changed files with 26797 additions and 0 deletions
1
aoc/conf/init.aoc.daemon.rc
Normal file
1
aoc/conf/init.aoc.daemon.rc
Normal file
|
@ -0,0 +1 @@
|
|||
# AoC firmware will be loaded by Daemon
|
3
aoc/conf/init.aoc.nodaemon.rc
Normal file
3
aoc/conf/init.aoc.nodaemon.rc
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Load AoC firmware and boot
|
||||
on property:vendor.all.modules.ready=1
|
||||
write /sys/devices/platform/19000000.aoc/firmware aoc.bin
|
26
aoc/device.mk
Normal file
26
aoc/device.mk
Normal file
|
@ -0,0 +1,26 @@
|
|||
PRODUCT_PACKAGES += \
|
||||
aocd
|
||||
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs201-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/gs201/aoc/conf/init.aoc.nodaemon.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.aoc.rc
|
||||
else
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/gs201/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
|
Loading…
Add table
Add a link
Reference in a new issue