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

Side by Side Diff: build/external_code.gypi

Issue 201105: Compile external code with -Wall. (Closed)
Patch Set: Created 11 years, 3 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'conditions': [ 6 'conditions': [
7 [ 'OS=="linux"', { 7 [ 'OS=="linux"', {
8 'target_defaults': { 8 'target_defaults': {
9 'cflags!': [ 9 'cflags!': [
10 '-Wall',
11 '-Werror', 10 '-Werror',
12 ], 11 ],
13 }, 12 },
14 }], 13 }],
15 [ 'OS=="win"', { 14 [ 'OS=="win"', {
16 'target_defaults': { 15 'target_defaults': {
17 'defines': [ 16 'defines': [
18 '_CRT_SECURE_NO_DEPRECATE', 17 '_CRT_SECURE_NO_DEPRECATE',
19 '_CRT_NONSTDC_NO_WARNINGS', 18 '_CRT_NONSTDC_NO_WARNINGS',
20 '_CRT_NONSTDC_NO_DEPRECATE', 19 '_CRT_NONSTDC_NO_DEPRECATE',
(...skipping 11 matching lines...) Expand all
32 [ 'OS=="mac"', { 31 [ 'OS=="mac"', {
33 'target_defaults': { 32 'target_defaults': {
34 'xcode_settings': { 33 'xcode_settings': {
35 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', 34 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO',
36 'WARNING_CFLAGS!': ['-Wall'], 35 'WARNING_CFLAGS!': ['-Wall'],
37 }, 36 },
38 }, 37 },
39 }], 38 }],
40 ], 39 ],
41 } 40 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698