summaryrefslogtreecommitdiffstats
path: root/content/content.gyp
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-09 18:46:07 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-09 18:46:07 +0000
commitb1eb341c1e32c4d47b3374d9f8f78071d7c9629e (patch)
tree54cc85bd78df7d9b6e3d3cbfd22cf6d0b613f5bd /content/content.gyp
parent5f951759b09763d0ed0dd4acdd276914f433ddef (diff)
downloadchromium_src-b1eb341c1e32c4d47b3374d9f8f78071d7c9629e.zip
chromium_src-b1eb341c1e32c4d47b3374d9f8f78071d7c9629e.tar.gz
chromium_src-b1eb341c1e32c4d47b3374d9f8f78071d7c9629e.tar.bz2
Turn on -Wexit-time-destructors for ui and content.
I had hoped to just turn this on globally after fixing all instances, but people add these fairly often. So enable the warning for clean targets incrementally. BUG=10600 TEST=none TBR=ben Review URL: http://codereview.chromium.org/8495043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109274 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content.gyp')
-rw-r--r--content/content.gyp10
1 files changed, 10 insertions, 0 deletions
diff --git a/content/content.gyp b/content/content.gyp
index be3f85c..311c714 100644
--- a/content/content.gyp
+++ b/content/content.gyp
@@ -41,6 +41,7 @@
},
{'target_name': 'content_app',
'type': 'static_library',
+ 'variables': { 'enable_wexit_time_destructors': 1, },
'includes': [
'content_app.gypi',
],
@@ -50,6 +51,7 @@
},
{'target_name': 'content_browser',
'type': 'static_library',
+ 'variables': { 'enable_wexit_time_destructors': 1, },
'includes': [
'content_browser.gypi',
],
@@ -59,12 +61,14 @@
},
{'target_name': 'content_common',
'type': 'static_library',
+ 'variables': { 'enable_wexit_time_destructors': 1, },
'includes': [
'content_common.gypi',
],
},
{'target_name': 'content_gpu',
'type': 'static_library',
+ 'variables': { 'enable_wexit_time_destructors': 1, },
'includes': [
'content_gpu.gypi',
],
@@ -74,6 +78,7 @@
},
{'target_name': 'content_plugin',
'type': 'static_library',
+ 'variables': { 'enable_wexit_time_destructors': 1, },
'includes': [
'content_plugin.gypi',
],
@@ -83,12 +88,14 @@
},
{'target_name': 'content_ppapi_plugin',
'type': 'static_library',
+ 'variables': { 'enable_wexit_time_destructors': 1, },
'includes': [
'content_ppapi_plugin.gypi',
],
},
{'target_name': 'content_renderer',
'type': 'static_library',
+ 'variables': { 'enable_wexit_time_destructors': 1, },
'includes': [
'content_renderer.gypi',
],
@@ -98,6 +105,7 @@
},
{'target_name': 'content_utility',
'type': 'static_library',
+ 'variables': { 'enable_wexit_time_destructors': 1, },
'includes': [
'content_utility.gypi',
],
@@ -107,6 +115,7 @@
},
{'target_name': 'content_worker',
'type': 'static_library',
+ 'variables': { 'enable_wexit_time_destructors': 1, },
'includes': [
'content_worker.gypi',
],
@@ -185,6 +194,7 @@
'targets': [
{'target_name': 'content',
'type': 'shared_library',
+ 'variables': { 'enable_wexit_time_destructors': 1, },
'includes': [
'content_app.gypi',
'content_browser.gypi',