linux: Suppress compiler warnings of breakpad.

This commit is contained in:
Cheng Zhao 2014-02-26 15:43:22 +08:00
parent 38810c5518
commit 2f088c5caa

View file

@ -110,6 +110,8 @@
],
}],
['_target_name.startswith("breakpad") or _target_name in ["crash_report_sender", "dump_syms"]', {
'conditions': [
['OS=="mac"', {
'xcode_settings': {
'WARNING_CFLAGS': [
'-Wno-deprecated-declarations',
@ -117,6 +119,13 @@
'-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.