summaryrefslogtreecommitdiffstats
path: root/breakpad
diff options
context:
space:
mode:
Diffstat (limited to 'breakpad')
-rw-r--r--breakpad/breakpad.gyp12
-rw-r--r--breakpad/breakpad_tools.gypi9
2 files changed, 9 insertions, 12 deletions
diff --git a/breakpad/breakpad.gyp b/breakpad/breakpad.gyp
index 80cfc6a..18a4355 100644
--- a/breakpad/breakpad.gyp
+++ b/breakpad/breakpad.gyp
@@ -580,6 +580,12 @@
'breakpad_processor_support',
'linux_dumper_unittest_helper',
],
+ 'variables': {
+ 'clang_warning_flags': [
+ # See http://crbug.com/138571#c18
+ '-Wno-unused-value',
+ ],
+ },
'sources': [
'linux/breakpad_googletest_includes.h',
@@ -616,12 +622,6 @@
'.',
],
'conditions': [
- [ 'clang == 1', {
- 'cflags': [
- # See http://crbug.com/138571#c18
- '-Wno-unused-value',
- ],
- }],
['OS=="android"', {
'libraries': [
'-llog',
diff --git a/breakpad/breakpad_tools.gypi b/breakpad/breakpad_tools.gypi
index 48dc050..066dfc1 100644
--- a/breakpad/breakpad_tools.gypi
+++ b/breakpad/breakpad_tools.gypi
@@ -7,13 +7,10 @@
['OS=="android"', {
'toolsets': ['host'],
}],
- ['clang==1', {
- 'cflags': ['-Wno-tautological-constant-out-of-range-compare'],
- 'xcode_settings': {
- 'WARNING_CFLAGS': ['-Wno-tautological-constant-out-of-range-compare'],
- },
- }],
],
+ 'variables': {
+ 'clang_warning_flags': ['-Wno-tautological-constant-out-of-range-compare'],
+ },
'include_dirs': [
'src',
'src/third_party',