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', |
11 ], | 11 ], |
12 'targets': [ | 12 'targets': [ |
13 { | 13 { |
14 # GN version: //ppapi:ppapi_c | 14 # GN version: //ppapi:ppapi_c |
15 'target_name': 'ppapi_c', | 15 'target_name': 'ppapi_c', |
(...skipping 22 matching lines...) Expand all Loading... |
38 ], | 38 ], |
39 'conditions': [ | 39 'conditions': [ |
40 ['OS=="win"', { | 40 ['OS=="win"', { |
41 'msvs_settings': { | 41 'msvs_settings': { |
42 'VCCLCompilerTool': { | 42 'VCCLCompilerTool': { |
43 'AdditionalOptions': ['/we4244'], # implicit conversion, possible
loss of data | 43 'AdditionalOptions': ['/we4244'], # implicit conversion, possible
loss of data |
44 }, | 44 }, |
45 }, | 45 }, |
46 'msvs_disabled_warnings': [ | 46 'msvs_disabled_warnings': [ |
47 4267, | 47 4267, |
48 ], | 48 ], |
49 }], | 49 }], |
50 ['OS=="linux"', { | 50 ['OS=="linux"', { |
51 'cflags': ['-Wextra', '-pedantic'], | 51 'cflags': ['-Wextra', '-pedantic'], |
52 }], | 52 }], |
53 ['OS=="mac"', { | 53 ['OS=="mac"', { |
54 'xcode_settings': { | 54 'xcode_settings': { |
55 'WARNING_CFLAGS': ['-Wextra', '-pedantic'], | 55 'WARNING_CFLAGS': ['-Wextra', '-pedantic'], |
56 }, | 56 }, |
57 }], | 57 }], |
58 ], | 58 ], |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 'include_dirs+': [ | 90 'include_dirs+': [ |
91 '..', | 91 '..', |
92 ], | 92 ], |
93 'sources': [ | 93 'sources': [ |
94 'cpp/private/internal_module.cc', | 94 'cpp/private/internal_module.cc', |
95 'cpp/private/internal_module.h', | 95 'cpp/private/internal_module.h', |
96 ] | 96 ] |
97 }, | 97 }, |
98 ], | 98 ], |
99 } | 99 } |
OLD | NEW |