summaryrefslogtreecommitdiffstats
path: root/base/base.gyp
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-09 22:09:03 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-09 22:09:03 +0000
commit500b3bcb9472ff9e067e952b4fb7c58c1d6fce34 (patch)
tree4956b060b626cac722a05247e8df5296cb101c27 /base/base.gyp
parent96923c26b81531560bfba737f8c4bbf8cc1f86bf (diff)
downloadchromium_src-500b3bcb9472ff9e067e952b4fb7c58c1d6fce34.zip
chromium_src-500b3bcb9472ff9e067e952b4fb7c58c1d6fce34.tar.gz
chromium_src-500b3bcb9472ff9e067e952b4fb7c58c1d6fce34.tar.bz2
Enable -Wexit-time-destructors for base.
BUG=101600 TEST=none Review URL: http://codereview.chromium.org/8507017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109314 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gyp')
-rw-r--r--base/base.gyp2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/base.gyp b/base/base.gyp
index 058a9f6..bb6f4e0 100644
--- a/base/base.gyp
+++ b/base/base.gyp
@@ -14,6 +14,7 @@
{
'target_name': 'base_i18n',
'type': '<(component)',
+ 'variables': { 'enable_wexit_time_destructors': 1, },
'dependencies': [
'base',
'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
@@ -68,6 +69,7 @@
# base depends on base_static.
'target_name': 'base_static',
'type': 'static_library',
+ 'variables': { 'enable_wexit_time_destructors': 1, },
'toolsets': ['host', 'target'],
'sources': [
'base_switches.cc',