Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Side by Side Diff: Source/config.gyp

Issue 47623002: Fix more warnings on linux (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix tests. Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # 1 #
2 # Copyright (C) 2013 Google Inc. All rights reserved. 2 # Copyright (C) 2013 Google Inc. All rights reserved.
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 # Due to a bug in gcc arm, we get warnings about uninitialized 88 # Due to a bug in gcc arm, we get warnings about uninitialized
89 # timesNewRoman.unstatic.3258 and colorTransparent.unstatic.4879. 89 # timesNewRoman.unstatic.3258 and colorTransparent.unstatic.4879.
90 'cflags': ['-Wno-uninitialized'], 90 'cflags': ['-Wno-uninitialized'],
91 }], 91 }],
92 ['OS=="mac"', { 92 ['OS=="mac"', {
93 # TODO: Turn this on on all platforms, http://crbug.com/312287 93 # TODO: Turn this on on all platforms, http://crbug.com/312287
94 'variables': { 94 'variables': {
95 'chromium_code': 1, 95 'chromium_code': 1,
96 }, 96 },
97 }], 97 }],
98 ['OS=="linux"', {
99 'variables': {
100 'chromium_code': 1,
101 },
102 'cflags_cc': [
103 '-Wno-sign-compare',
104 '-Wno-unused-function',
105 ],
106 }],
98 ['clang==1', { 107 ['clang==1', {
99 'cflags': ['-Wglobal-constructors'], 108 'cflags': ['-Wglobal-constructors'],
100 'xcode_settings': { 109 'xcode_settings': {
101 'WARNING_CFLAGS': ['-Wglobal-constructors'], 110 'WARNING_CFLAGS': ['-Wglobal-constructors'],
102 }, 111 },
103 }], 112 }],
104 ], 113 ],
105 }, 114 },
106 }, 115 },
107 { 116 {
(...skipping 11 matching lines...) Expand all
119 ], 128 ],
120 'direct_dependent_settings': { 129 'direct_dependent_settings': {
121 'cflags!': ['-Wglobal-constructors'], 130 'cflags!': ['-Wglobal-constructors'],
122 'xcode_settings': { 131 'xcode_settings': {
123 'WARNING_CFLAGS!': ['-Wglobal-constructors'], 132 'WARNING_CFLAGS!': ['-Wglobal-constructors'],
124 }, 133 },
125 }, 134 },
126 } 135 }
127 ], 136 ],
128 } 137 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698