|
Refactor how clang warning flags are set.
Previously, every gyp file that wanted to set clang warnings had to check
for clang==1 and then set cflags and xcode_settings.WARNING_CFLAGS. Factor
this out, so that targets only need to set clang_warning_flags for warnings
that apply to all platforms. (Per-platform flags still need to be set manually.)
This removes existing duplication from gyp files, and prevents adding more
duplication when trying to add the same warning flags for clang/win.
BUG= 82385
R=hans@chromium.org, scottmg@chromium.org
TBR=various owners
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287092
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+154 lines, -198 lines) |
Patch |
|
M |
breakpad/breakpad.gyp
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
breakpad/breakpad_tools.gypi
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -6 lines |
0 comments
|
Download
|
|
M |
build/common.gypi
|
View
|
1
2
3
4
|
4 chunks |
+34 lines, -71 lines |
0 comments
|
Download
|
|
A |
build/set_clang_warning_flags.gypi
|
View
|
1
2
3
|
1 chunk |
+44 lines, -0 lines |
1 comment
|
Download
|
|
M |
skia/skia_chrome.gypi
|
View
|
1
|
2 chunks |
+7 lines, -13 lines |
0 comments
|
Download
|
|
M |
skia/skia_common.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -0 lines |
3 comments
|
Download
|
|
M |
skia/skia_library.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
|
M |
third_party/libxml/libxml.gyp
|
View
|
|
2 chunks |
+15 lines, -21 lines |
0 comments
|
Download
|
|
M |
third_party/libxslt/libxslt.gyp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -11 lines |
0 comments
|
Download
|
|
M |
third_party/mesa/mesa.gyp
|
View
|
1
|
2 chunks |
+9 lines, -19 lines |
0 comments
|
Download
|
|
M |
third_party/snappy/snappy.gyp
|
View
|
1
2
3
4
5
|
4 chunks |
+11 lines, -14 lines |
3 comments
|
Download
|
|
M |
third_party/sqlite/sqlite.gyp
|
View
|
1
|
2 chunks |
+8 lines, -14 lines |
0 comments
|
Download
|
|
M |
third_party/zlib/zlib.gyp
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -11 lines |
0 comments
|
Download
|
Total messages: 16 (0 generated)
|