f822e38d38
* Add -Wall to build/common.gypi (and -Werror, commented out for now). * Have build/external_code.gypi remove -Wall (and -Werror). * Remove chromium_code definition from build/all.gyp. * Remove chromium_code definitions from third_party/ *.gyp files. * Remove scons-specific -Werror removal in webkit.gyp. * Remove unused variables from: base/clipboard_linux.cc chrome/browser/gtk/download_shelf_gtk.cc chrome/browser/gtk/bookmark_bar_gtk.cc Review URL: http://codereview.chromium.org/66001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13478 0039d316-1c4b-4281-b951-d872f2087c98
42 linhas
991 B
Python
42 linhas
991 B
Python
# Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
{
|
|
'conditions': [
|
|
[ 'OS=="linux"', {
|
|
'target_defaults': {
|
|
'cflags!': [
|
|
'-Wall',
|
|
'-Werror',
|
|
],
|
|
},
|
|
}],
|
|
[ 'OS=="win"', {
|
|
'target_defaults': {
|
|
'defines': [
|
|
'_CRT_SECURE_NO_DEPRECATE',
|
|
'_CRT_NONSTDC_NO_WARNINGS',
|
|
'_CRT_NONSTDC_NO_DEPRECATE',
|
|
'_SCL_SECURE_NO_DEPRECATE',
|
|
],
|
|
'msvs_disabled_warnings': [4800],
|
|
'msvs_settings': {
|
|
'VCCLCompilerTool': {
|
|
'WarnAsError': 'false',
|
|
'Detect64BitPortabilityProblems': 'false',
|
|
},
|
|
},
|
|
},
|
|
}],
|
|
[ 'OS=="mac"', {
|
|
'target_defaults': {
|
|
'xcode_settings': {
|
|
'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO',
|
|
'WARNING_CFLAGS!': ['-Wall'],
|
|
},
|
|
},
|
|
}],
|
|
],
|
|
}
|