Index: base/BUILD.gn |
diff --git a/base/BUILD.gn b/base/BUILD.gn |
index 33a058aa06a3e77c653e0d080e8341c096cbd00d..2d83ba18e0ff3829253ed6b32e218057519a78c3 100644 |
--- a/base/BUILD.gn |
+++ b/base/BUILD.gn |
@@ -872,15 +872,14 @@ component("base_i18n") { |
"i18n/time_formatting.cc", |
"i18n/time_formatting.h", |
] |
+ defines = [ "BASE_I18N_IMPLEMENTATION" ] |
+ configs += [ "//build/config/compiler:wexit_time_destructors" ] |
deps = [ |
":base", |
"//base/third_party/dynamic_annotations", |
"//third_party/icu:icui18n", |
"//third_party/icu:icuuc", |
] |
- defines = [ |
- "BASE_I18N_IMPLEMENTATION", |
- ] |
if (toolkit_uses_gtk) { |
# i18n/rtl.cc uses gtk |
@@ -896,7 +895,6 @@ component("base_i18n") { |
# }], |
#], |
#'variables': { |
- # 'enable_wexit_time_destructors': 1, |
# 'optimize': 'max', |
#}, |
} |