linux: Suppress compiler warnings of breakpad.
This commit is contained in:
parent
38810c5518
commit
2f088c5caa
1 changed files with 16 additions and 7 deletions
23
common.gypi
23
common.gypi
|
@ -110,13 +110,22 @@
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
['_target_name.startswith("breakpad") or _target_name in ["crash_report_sender", "dump_syms"]', {
|
['_target_name.startswith("breakpad") or _target_name in ["crash_report_sender", "dump_syms"]', {
|
||||||
'xcode_settings': {
|
'conditions': [
|
||||||
'WARNING_CFLAGS': [
|
['OS=="mac"', {
|
||||||
'-Wno-deprecated-declarations',
|
'xcode_settings': {
|
||||||
'-Wno-unused-private-field',
|
'WARNING_CFLAGS': [
|
||||||
'-Wno-unused-function',
|
'-Wno-deprecated-declarations',
|
||||||
],
|
'-Wno-unused-private-field',
|
||||||
},
|
'-Wno-unused-function',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
}], # OS=="mac"
|
||||||
|
['OS=="linux"', {
|
||||||
|
'cflags': [
|
||||||
|
'-Wno-empty-body',
|
||||||
|
],
|
||||||
|
}], # OS=="linux"
|
||||||
|
],
|
||||||
}],
|
}],
|
||||||
],
|
],
|
||||||
'msvs_cygwin_shell': 0, # Strangely setting it to 1 would make building under cygwin fail.
|
'msvs_cygwin_shell': 0, # Strangely setting it to 1 would make building under cygwin fail.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue