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
|
||||
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/checksum_cache 0770 system system
|
||||
mkdir /data/vendor/edgetpu 0770 system system
|
||||
mkdir /data/vendor/edgetpu/cache 0770 system system
|
||||
|
||||
on zygote-start
|
||||
# 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
|
||||
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
|
||||
ifeq ($(wildcard vendor/google/whitechapel/aoc/aocd),)
|
||||
PRODUCT_COPY_FILES += \
|
||||
|
@ -1090,18 +1086,18 @@ PRODUCT_PACKAGES += \
|
|||
PRODUCT_PACKAGES += \
|
||||
android.hardware.edgetpu.logging@service-edgetpu-logging
|
||||
|
||||
# TPU HAL service
|
||||
# TPU application service
|
||||
PRODUCT_PACKAGES += \
|
||||
vendor.google.edgetpu@1.0-service
|
||||
|
||||
# TPU vendor service
|
||||
PRODUCT_PACKAGES += \
|
||||
vendor.google.edgetpu_vendor_service@1.0-service
|
||||
|
||||
# TPU HAL client library
|
||||
PRODUCT_PACKAGES += \
|
||||
libedgetpu_client.google
|
||||
|
||||
# TPU HAL client library vendor variant
|
||||
PRODUCT_PACKAGES += \
|
||||
libedgetpu_client.google.vendor
|
||||
|
||||
# Connectivity Thermal Power Manager
|
||||
PRODUCT_PACKAGES += \
|
||||
ConnectivityThermalPowerManager
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue