[Refactor] Include edgetpu targets in final image

Make the EdgeTPU targets defined in <soc>/proprietary visible by product packages included in edgetpu.mk.

Bug: 323601370

Tested:
No functionality change. Edgetpu services still work.

Change-Id: Ia8846b929b21e9fbcfd1f091779c57d4fed3da0b
This commit is contained in:
Richard Hsu 2024-02-05 15:07:44 -08:00
parent 9d2f9e089f
commit 4a865f66f8

View file

@ -1081,6 +1081,14 @@ PRODUCT_PROPERTY_OVERRIDES += persist.vendor.enable.thermal.genl=true
include device/google/gs-common/edgetpu/edgetpu.mk
# Config variables for TPU chip on device.
$(call soong_config_set,edgetpu_config,chip,rio_pro)
# Include the edgetpu targets defined the namespaces below into the final image.
PRODUCT_SOONG_NAMESPACES += \
vendor/google_devices/zumapro/proprietary/gchips/tpu/metrics \
vendor/google_devices/zumapro/proprietary/gchips/tpu/tflite_delegate \
vendor/google_devices/zumapro/proprietary/gchips/tpu/darwinn_logging_service \
vendor/google_devices/zumapro/proprietary/gchips/tpu/nnapi_stable_aidl \
vendor/google_devices/zumapro/proprietary/gchips/tpu/aidl \
vendor/google_devices/zumapro/proprietary/gchips/tpu/hal
# TPU firmware
PRODUCT_PACKAGES += edgetpu-rio.fw