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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'test_support_content', | 8 'target_name': 'test_support_content', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'defines!': ['CONTENT_IMPLEMENTATION'], | 10 'defines!': ['CONTENT_IMPLEMENTATION'], |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
206 ], | 206 ], |
207 }, | 207 }, |
208 { | 208 { |
209 'target_name': 'content_browsertests', | 209 'target_name': 'content_browsertests', |
210 'type': 'executable', | 210 'type': 'executable', |
211 'dependencies': [ | 211 'dependencies': [ |
212 'content_browser', | 212 'content_browser', |
213 'content_gpu', | 213 'content_gpu', |
214 'content_plugin', | 214 'content_plugin', |
215 'content_renderer', | 215 'content_renderer', |
216 'content_shell_lib', | |
216 'test_support_content', | 217 'test_support_content', |
217 '../base/base.gyp:test_support_base', | 218 '../base/base.gyp:test_support_base', |
218 '../net/net.gyp:net_test_support', | 219 '../net/net.gyp:net_test_support', |
219 '../testing/gtest.gyp:gtest', | 220 '../testing/gtest.gyp:gtest', |
220 ], | 221 ], |
221 'include_dirs': [ | 222 'include_dirs': [ |
222 '..', | 223 '..', |
223 ], | 224 ], |
224 'defines': [ | 225 'defines': [ |
225 'HAS_OUT_OF_PROC_TEST_RUNNER', | 226 'HAS_OUT_OF_PROC_TEST_RUNNER', |
226 ], | 227 ], |
227 'sources': [ | 228 'sources': [ |
228 'test/content_browser_test.h', | 229 'test/content_browser_test.h', |
229 'test/content_browser_test.cc', | 230 'test/content_browser_test.cc', |
230 'test/content_test_launcher.cc', | 231 'test/content_test_launcher.cc', |
231 'test/test_launcher.cc', | 232 'test/test_launcher.cc', |
232 'test/test_launcher.h', | 233 'test/test_launcher.h', |
233 ], | 234 ], |
234 'conditions': [ | 235 'conditions': [ |
235 ['OS=="win"', { | 236 ['OS=="win"', { |
236 'dependencies': [ | 237 'dependencies': [ |
237 '../sandbox/sandbox.gyp:sandbox', | 238 '../sandbox/sandbox.gyp:sandbox', |
238 ], | 239 ], |
239 'link_settings': { | 240 'link_settings': { |
240 'libraries': [ | 241 'libraries': [ |
241 '-lcomctl32.lib', | 242 '-lcomctl32.lib', |
242 ], | 243 ], |
243 }, | 244 }, |
245 'resource_include_dirs': [ | |
246 '<(SHARED_INTERMEDIATE_DIR)/webkit', | |
247 ], | |
248 'sources': [ | |
249 'shell/resource.h', | |
250 'shell/shell.rc', | |
251 # TODO: It would be nice to have these pulled in | |
252 # automatically from direct_dependent_settings in | |
253 # their various targets (net.gyp:net_resources, etc.), | |
254 # but that causes errors in other targets when | |
255 # resulting .res files get referenced multiple times. | |
256 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', | |
jam
2011/10/04 22:21:13
why are all these added? are they necessary?
Paweł Hajdan Jr.
2011/10/04 23:19:48
No idea, they were there.
| |
257 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.rc', | |
258 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', | |
259 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.rc', | |
260 ], | |
261 'dependencies': [ | |
262 '<(DEPTH)/net/net.gyp:net_resources', | |
263 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_resources', | |
264 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_strings', | |
265 ], | |
266 'configurations': { | |
267 'Debug_Base': { | |
268 'msvs_settings': { | |
269 'VCLinkerTool': { | |
270 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | |
271 }, | |
272 }, | |
273 }, | |
274 }, | |
244 }], | 275 }], |
245 ['OS=="win" and win_use_allocator_shim==1', { | 276 ['OS=="win" and win_use_allocator_shim==1', { |
246 'dependencies': [ | 277 'dependencies': [ |
247 '../base/allocator/allocator.gyp:allocator', | 278 '../base/allocator/allocator.gyp:allocator', |
248 ], | 279 ], |
249 }], | 280 }], |
250 ], | 281 ], |
251 }, | 282 }, |
252 ], | 283 ], |
253 'conditions': [ | 284 'conditions': [ |
(...skipping 14 matching lines...) Expand all Loading... | |
268 ], | 299 ], |
269 'sources': [ | 300 'sources': [ |
270 'common/gpu/media/omx_video_decode_accelerator_unittest.cc', | 301 'common/gpu/media/omx_video_decode_accelerator_unittest.cc', |
271 ], | 302 ], |
272 } | 303 } |
273 ], | 304 ], |
274 }, | 305 }, |
275 ], | 306 ], |
276 ], | 307 ], |
277 } | 308 } |
OLD | NEW |