Add ANDROID_LINK_SHARED_ICU4C flag
am: a33e97ce26

Change-Id: Ic047e353fadb897ab6e3bee6c7213e577d527d1f
diff --git a/Android.mk b/Android.mk
index 4e5bbf5..fc3ffb0 100644
--- a/Android.mk
+++ b/Android.mk
@@ -89,6 +89,8 @@
 
 LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/jni.lds
 LOCAL_LDFLAGS += -Wl,-version-script=$(LOCAL_PATH)/jni.lds
+# TODO(b/119788152): Remove this when the bug is fixed
+LOCAL_CFLAGS += -DANDROID_LINK_SHARED_ICU4C
 LOCAL_CPPFLAGS_32 += -DLIBTEXTCLASSIFIER_TEST_DATA_DIR="\"/data/nativetest/libtextclassifier_tests/test_data/\""
 LOCAL_CPPFLAGS_64 += -DLIBTEXTCLASSIFIER_TEST_DATA_DIR="\"/data/nativetest64/libtextclassifier_tests/test_data/\""
 
@@ -110,6 +112,8 @@
 
 LOCAL_TEST_DATA := $(call find-test-data-in-subdirs, $(LOCAL_PATH), *, test_data)
 
+# TODO(b/119788152): Remove this when the bug is fixed
+LOCAL_CFLAGS += -DANDROID_LINK_SHARED_ICU4C
 LOCAL_CPPFLAGS_32 += -DLIBTEXTCLASSIFIER_TEST_DATA_DIR="\"/data/nativetest/libtextclassifier_tests/test_data/\""
 LOCAL_CPPFLAGS_64 += -DLIBTEXTCLASSIFIER_TEST_DATA_DIR="\"/data/nativetest64/libtextclassifier_tests/test_data/\""