Disable modemml-tflite-service for aosp build
For aosp build, the vendor module `modemml-tflite-service` is not included so it shouldn't be added as a system_server jar. Bug: 343341492 Bug: 343367700 Test: Build with target non-aosp targets in presubmit and aosp targets following the reproduce steps in b/343341492 Change-Id: Ib32ec2c31570eb3566c80de4ed510f17ec9e9a39
This commit is contained in:
parent
be1d9ec9f4
commit
6f9888658d
1 changed files with 2 additions and 0 deletions
|
@ -970,11 +970,13 @@ PRODUCT_PACKAGES += modem_svc_sit
|
|||
# modem_ml_svc_sit daemon
|
||||
PRODUCT_PACKAGES += modem_ml_svc_sit
|
||||
|
||||
ifeq (,$(filter aosp_%,$(TARGET_PRODUCT)))
|
||||
# Modem ML TFLite service.
|
||||
PRODUCT_PACKAGES += modemml-tflite-service \
|
||||
libtensorflowlite_jni
|
||||
|
||||
PRODUCT_SYSTEM_SERVER_JARS += modemml-tflite-service
|
||||
endif
|
||||
|
||||
# modem ML models configs
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue