Added EdgeTPU vendor service into P21. am: 395ae043ba
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14341379 Change-Id: Iab1492156dbfec027cd9606badf65fb67cbbf7ae
This commit is contained in:
commit
5036d99404
3 changed files with 8 additions and 14 deletions
|
@ -275,9 +275,11 @@ on post-fs-data
|
||||||
# Audio dump and debug
|
# Audio dump and debug
|
||||||
mkdir /data/vendor/audio 0770 audio audio
|
mkdir /data/vendor/audio 0770 audio audio
|
||||||
|
|
||||||
# Create the directories for Darwinn HAL.
|
# Create the directories for Darwinn HAL.
|
||||||
mkdir /data/vendor/hal_neuralnetworks_darwinn 0770 system system
|
mkdir /data/vendor/hal_neuralnetworks_darwinn 0770 system system
|
||||||
mkdir /data/vendor/hal_neuralnetworks_darwinn/checksum_cache 0770 system system
|
mkdir /data/vendor/hal_neuralnetworks_darwinn/checksum_cache 0770 system system
|
||||||
|
mkdir /data/vendor/edgetpu 0770 system system
|
||||||
|
mkdir /data/vendor/edgetpu/cache 0770 system system
|
||||||
|
|
||||||
on zygote-start
|
on zygote-start
|
||||||
# For PixelLogger configuration file.
|
# For PixelLogger configuration file.
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
on post-fs-data
|
|
||||||
# EdgeTPU data directory
|
|
||||||
mkdir /data/edgetpu 0770 system system encryption=Require
|
|
||||||
mkdir /data/edgetpu/cache 0770 system system
|
|
14
device.mk
14
device.mk
|
@ -193,10 +193,6 @@ PRODUCT_COPY_FILES += \
|
||||||
device/google/gs101/conf/init.debug.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.debug.rc
|
device/google/gs101/conf/init.debug.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.debug.rc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Init files for /system_ext
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
device/google/gs101/conf/init.system_ext.rc:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/init/init.system_ext.rc
|
|
||||||
|
|
||||||
# If AoC Daemon is not present on this build, load firmware at boot via rc
|
# If AoC Daemon is not present on this build, load firmware at boot via rc
|
||||||
ifeq ($(wildcard vendor/google/whitechapel/aoc/aocd),)
|
ifeq ($(wildcard vendor/google/whitechapel/aoc/aocd),)
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
|
@ -1090,18 +1086,18 @@ PRODUCT_PACKAGES += \
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.edgetpu.logging@service-edgetpu-logging
|
android.hardware.edgetpu.logging@service-edgetpu-logging
|
||||||
|
|
||||||
# TPU HAL service
|
# TPU application service
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
vendor.google.edgetpu@1.0-service
|
vendor.google.edgetpu@1.0-service
|
||||||
|
|
||||||
|
# TPU vendor service
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
vendor.google.edgetpu_vendor_service@1.0-service
|
||||||
|
|
||||||
# TPU HAL client library
|
# TPU HAL client library
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
libedgetpu_client.google
|
libedgetpu_client.google
|
||||||
|
|
||||||
# TPU HAL client library vendor variant
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
libedgetpu_client.google.vendor
|
|
||||||
|
|
||||||
# Connectivity Thermal Power Manager
|
# Connectivity Thermal Power Manager
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
ConnectivityThermalPowerManager
|
ConnectivityThermalPowerManager
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue