summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-16 00:24:10 +0000
committerbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-16 00:24:10 +0000
commit56696fa8892876f5bb1dc0888bfb782df4d6286e (patch)
tree35192c632b59ccbf03a5bfcd261f968d21d1a944 /base
parent02dc297c7a931a5cad5fe1c9b5cb18479ba0c899 (diff)
downloadchromium_src-56696fa8892876f5bb1dc0888bfb782df4d6286e.zip
chromium_src-56696fa8892876f5bb1dc0888bfb782df4d6286e.tar.gz
chromium_src-56696fa8892876f5bb1dc0888bfb782df4d6286e.tar.bz2
GN: Add wexit_time_destructors config.
Review URL: https://codereview.chromium.org/135733006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245034 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/BUILD.gn6
1 files changed, 2 insertions, 4 deletions
diff --git a/base/BUILD.gn b/base/BUILD.gn
index 33a058a..2d83ba1 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',
#},
}