| Index: tools/gn/secondary/third_party/icu/BUILD.gn
|
| diff --git a/tools/gn/secondary/third_party/icu/BUILD.gn b/tools/gn/secondary/third_party/icu/BUILD.gn
|
| index fc9da5e745383deff8064b97aad3670cb663f694..21c4efa714b6b854bef44fbdd160b017865d1729 100644
|
| --- a/tools/gn/secondary/third_party/icu/BUILD.gn
|
| +++ b/tools/gn/secondary/third_party/icu/BUILD.gn
|
| @@ -223,6 +223,19 @@ component("icui18n") {
|
|
|
| configs += [ ":icu_code" ]
|
| direct_dependent_configs = [ ":icu_config" ]
|
| +
|
| + if (is_clang) {
|
| + # uspoof.h has a U_NAMESPACE_USE macro. That's a bug,
|
| + # the header should use U_NAMESPACE_BEGIN instead.
|
| + # http://bugs.icu-project.org/trac/ticket/9054
|
| + configs -= [ "//build/config/clang:extra_warnings" ]
|
| +
|
| + cflags = [
|
| + "-Wno-header-hygiene",
|
| + # Looks like a real issue, see http://crbug.com/114660
|
| + "-Wno-return-type-c-linkage",
|
| + ]
|
| + }
|
| }
|
|
|
| component("icuuc") {
|
|
|