aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/icu
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/icu')
-rw-r--r--third_party/icu/BUILD.gn2
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/icu/BUILD.gn b/third_party/icu/BUILD.gn
index 1d54c46edd..0a1683e81f 100644
--- a/third_party/icu/BUILD.gn
+++ b/third_party/icu/BUILD.gn
@@ -12,10 +12,12 @@ import("../third_party.gni")
if (skia_use_system_icu) {
system("icu") {
libs = [ "icuuc" ]
+ public_defines = [ "U_USING_ICU_NAMESPACE=0" ]
}
} else {
third_party("icu") {
public_include_dirs = [ "../externals/icu/source/common" ]
+ public_defines = [ "U_USING_ICU_NAMESPACE=0" ]
configs -= [ "//gn:no_rtti" ]
if (!is_win) {
libs = [ "dl" ]