Added EdgeTPU vendor service into P21.
The original edgetpu_service is now split into two, where the original one stays under /system_ext/ and the new one, edgetpu_vendor_service, now locates under /vendor/. This change updates files including device.mk accordingly to ensure these services are setup properly on P21. Bug: 185432427 Test: Oriole + GCA Change-Id: I5b0eff64f2f044a56bc14cf5e1d92ec3463560a9
This commit is contained in:
parent
788012640b
commit
395ae043ba
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