summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Zilka <zilka@google.com>2018-05-03 18:28:00 +0200
committerLukas Zilka <zilka@google.com>2018-05-03 18:28:00 +0200
commit83f0dac26f82afd9743f314902517c07c482489d (patch)
treef36e9f2e71e84c4103f4f9ef577ee7b41980345a
parent434442da2a906db90779c376d95aa91f5428694b (diff)
downloadlibtextclassifier-pie-qpr2-release.tar.gz
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest Test: bit CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest Bug: 79194582 Change-Id: I6fe26907122caa6db04c1e8c965abe80a95d6826
-rw-r--r--Android.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 760c4c8..4e5bbf5 100644
--- a/Android.mk
+++ b/Android.mk
@@ -85,6 +85,7 @@ LOCAL_SHARED_LIBRARIES += libz
LOCAL_STATIC_LIBRARIES += flatbuffers
LOCAL_REQUIRED_MODULES := textclassifier.en.model
+LOCAL_REQUIRED_MODULES += textclassifier.universal.model
LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/jni.lds
LOCAL_LDFLAGS += -Wl,-version-script=$(LOCAL_PATH)/jni.lds
@@ -141,6 +142,14 @@ LOCAL_SRC_FILES := ./models/textclassifier.en.model
LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/textclassifier
include $(BUILD_PREBUILT)
+include $(CLEAR_VARS)
+LOCAL_MODULE := textclassifier.universal.model
+LOCAL_MODULE_CLASS := ETC
+LOCAL_MODULE_OWNER := google
+LOCAL_SRC_FILES := ./models/textclassifier.universal.model
+LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/textclassifier
+include $(BUILD_PREBUILT)
+
# -----------------------
# Smart Selection bundles
# -----------------------