OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 # Shared source lists between trusted and untrusted targets are stored in | 5 # Shared source lists between trusted and untrusted targets are stored in |
6 # ppapi_sources.gypi. | 6 # ppapi_sources.gypi. |
7 | 7 |
8 { | 8 { |
9 'includes': [ | 9 'includes': [ |
10 'ppapi_sources.gypi', | 10 'ppapi_sources.gypi', |
(...skipping 28 matching lines...) Expand all Loading... |
39 'msvs_settings': { | 39 'msvs_settings': { |
40 'VCCLCompilerTool': { | 40 'VCCLCompilerTool': { |
41 'AdditionalOptions': ['/we4244'], # implicit conversion, possible
loss of data | 41 'AdditionalOptions': ['/we4244'], # implicit conversion, possible
loss of data |
42 }, | 42 }, |
43 }, | 43 }, |
44 'msvs_disabled_warnings': [ | 44 'msvs_disabled_warnings': [ |
45 4267, | 45 4267, |
46 ], | 46 ], |
47 }], | 47 }], |
48 ['OS=="linux"', { | 48 ['OS=="linux"', { |
49 'cflags': ['-Wextra', '-pedantic'], | 49 'cflags': [ |
| 50 '-Wextra', |
| 51 '-pedantic', |
| 52 '-Wno-variadic-macros', |
| 53 '-Wno-long-long'], |
50 }], | 54 }], |
51 ['OS=="mac"', { | 55 ['OS=="mac"', { |
52 'xcode_settings': { | 56 'xcode_settings': { |
53 'WARNING_CFLAGS': ['-Wextra', '-pedantic'], | 57 'WARNING_CFLAGS': ['-Wextra', '-pedantic'], |
54 }, | 58 }, |
55 }], | 59 }], |
56 ], | 60 ], |
57 }, | 61 }, |
58 { | 62 { |
59 'target_name': 'ppapi_cpp', | 63 'target_name': 'ppapi_cpp', |
(...skipping 15 matching lines...) Expand all Loading... |
75 }], | 79 }], |
76 ['OS=="mac"', { | 80 ['OS=="mac"', { |
77 'xcode_settings': { | 81 'xcode_settings': { |
78 'WARNING_CFLAGS': ['-Wextra', '-pedantic'], | 82 'WARNING_CFLAGS': ['-Wextra', '-pedantic'], |
79 }, | 83 }, |
80 }] | 84 }] |
81 ], | 85 ], |
82 }, | 86 }, |
83 ], | 87 ], |
84 } | 88 } |
OLD | NEW |