Remove ART dependency on libicuuc
Use the headers of libandroidicu only.
Bug: 138994281
Test: m droid
Change-Id: I4af1aa40a5c9ab475fdf31ca6939ad5b54da3a2b
diff --git a/runtime/Android.bp b/runtime/Android.bp
index e8bfa34..4f27854 100644
--- a/runtime/Android.bp
+++ b/runtime/Android.bp
@@ -361,17 +361,15 @@
"runtime_android.cc",
"thread_android.cc",
],
+ header_libs: [
+ "libandroidicu_headers",
+ ],
shared_libs: [
"libdl_android",
],
static_libs: [
"libz", // For adler32.
],
- cflags: [
- // ART is allowed to link to libicuuc directly
- // since they are in the same module
- "-DANDROID_LINK_SHARED_ICU4C",
- ],
},
android_arm: {
ldflags: JIT_DEBUG_REGISTER_CODE_LDFLAGS,
@@ -391,6 +389,9 @@
"runtime_linux.cc",
"thread_linux.cc",
],
+ header_libs: [
+ "libicuuc_headers",
+ ],
shared_libs: [
"libz", // For adler32.
],
@@ -405,7 +406,6 @@
header_libs: [
"art_cmdlineparser_headers",
"cpp-define-generator-definitions",
- "libicuuc_headers",
"libnativehelper_header_only",
"jni_platform_headers",
],