OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, # Use higher warning level. | 7 'chromium_code': 1, # Use higher warning level. |
8 }, | 8 }, |
9 'target_defaults': { | 9 'target_defaults': { |
10 'conditions': [ | 10 'conditions': [ |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 ], | 63 ], |
64 'conditions': [ | 64 'conditions': [ |
65 ['OS=="mac"', { | 65 ['OS=="mac"', { |
66 'link_settings': { | 66 'link_settings': { |
67 'libraries': [ | 67 'libraries': [ |
68 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', | 68 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', |
69 ], | 69 ], |
70 }, | 70 }, |
71 }], | 71 }], |
72 ], | 72 ], |
| 73 # Disable c4267 warnings until we fix size_t to int truncations. |
| 74 'msvs_disabled_warnings': [ 4267, ], |
73 }, | 75 }, |
74 ], | 76 ], |
75 'conditions': [ | 77 'conditions': [ |
76 ['component=="static_library"', { | 78 ['component=="static_library"', { |
77 # In a static build, build ppapi_ipc separately. | 79 # In a static build, build ppapi_ipc separately. |
78 'targets': [ | 80 'targets': [ |
79 { | 81 { |
80 'target_name': 'ppapi_ipc', | 82 'target_name': 'ppapi_ipc', |
81 'type': 'static_library', | 83 'type': 'static_library', |
82 'variables': { | 84 'variables': { |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', | 153 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', |
152 '../ui/surface/surface.gyp:surface', | 154 '../ui/surface/surface.gyp:surface', |
153 'ppapi.gyp:ppapi_c', | 155 'ppapi.gyp:ppapi_c', |
154 'ppapi_shared', | 156 'ppapi_shared', |
155 ], | 157 ], |
156 'all_dependent_settings': { | 158 'all_dependent_settings': { |
157 'include_dirs': [ | 159 'include_dirs': [ |
158 '..', | 160 '..', |
159 ], | 161 ], |
160 }, | 162 }, |
| 163 # Disable c4267 warnings until we fix size_t to int truncations. |
| 164 'msvs_disabled_warnings': [ 4267, ], |
161 }, | 165 }, |
162 { | 166 { |
163 # In component build, this is just a phony target that makes sure | 167 # In component build, this is just a phony target that makes sure |
164 # ppapi_proxy is built, since that's where the ipc sources go in the | 168 # ppapi_proxy is built, since that's where the ipc sources go in the |
165 # component build. | 169 # component build. |
166 'target_name': 'ppapi_ipc', | 170 'target_name': 'ppapi_ipc', |
167 'type': 'none', | 171 'type': 'none', |
168 'dependencies': [ | 172 'dependencies': [ |
169 'ppapi_proxy', | 173 'ppapi_proxy', |
170 ], | 174 ], |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 }, | 231 }, |
228 'configurations': { | 232 'configurations': { |
229 'Common_Base': { | 233 'Common_Base': { |
230 'msvs_target_platform': 'x64', | 234 'msvs_target_platform': 'x64', |
231 }, | 235 }, |
232 }, | 236 }, |
233 }], | 237 }], |
234 }], | 238 }], |
235 ], | 239 ], |
236 } | 240 } |
OLD | NEW |