Switch host variant to using ICU direct
Switch host library variants to using ICU direct;
libandroidicu should only be used on device.
Bug: 130787951
Test: build only
Change-Id: I904dd208aff547bf3a6c839344aa4052a1ba5641
Merged-In: I95b6a72c72161c8267786790de7093d8a641c392
diff --git a/Android.bp b/Android.bp
index dfb8a75..e4d9df1 100644
--- a/Android.bp
+++ b/Android.bp
@@ -93,7 +93,6 @@
],
shared_libs: [
"libremote-processor",
- "libandroidicu",
],
static_libs: [
"libpfw_utility",
@@ -182,6 +181,17 @@
"upstream/xmlserializer/XmlStreamDocSink.cpp",
"upstream/parameter/CommandHandlerWrapper.cpp",
],
+ target: {
+ android: {
+ shared_libs: ["libandroidicu"],
+ },
+ host: {
+ shared_libs: [
+ "libicui18n",
+ "libicuuc",
+ ],
+ },
+ },
}
cc_binary {