| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'conditions': [ | |
| 7 [ 'OS=="linux"', { | |
| 8 'target_defaults': { | |
| 9 'cflags!': [ | |
| 10 '-Wall', | |
| 11 '-Werror', | |
| 12 ], | |
| 13 }, | |
| 14 }], | |
| 15 [ 'OS=="win"', { | |
| 16 'target_defaults': { | |
| 17 'defines': [ | |
| 18 '_CRT_SECURE_NO_DEPRECATE', | |
| 19 '_CRT_NONSTDC_NO_WARNINGS', | |
| 20 '_CRT_NONSTDC_NO_DEPRECATE', | |
| 21 '_SCL_SECURE_NO_DEPRECATE', | |
| 22 ], | |
| 23 'msvs_disabled_warnings': [4800], | |
| 24 'msvs_settings': { | |
| 25 'VCCLCompilerTool': { | |
| 26 'WarnAsError': 'false', | |
| 27 'Detect64BitPortabilityProblems': 'false', | |
| 28 }, | |
| 29 }, | |
| 30 }, | |
| 31 }], | |
| 32 [ 'OS=="mac"', { | |
| 33 'target_defaults': { | |
| 34 'xcode_settings': { | |
| 35 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', | |
| 36 'WARNING_CFLAGS!': ['-Wall'], | |
| 37 }, | |
| 38 }, | |
| 39 }], | |
| 40 ], | |
| 41 } | |
| OLD | NEW |