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 'test_shell_windows_resource_files': [ | 7 'test_shell_windows_resource_files': [ |
8 'resources/test_shell.rc', | 8 'resources/test_shell.rc', |
9 '../../../ui/resources/cursors/pan_east.cur', | 9 '../../../ui/resources/cursors/pan_east.cur', |
10 '../../../ui/resources/cursors/pan_middle.cur', | 10 '../../../ui/resources/cursors/pan_middle.cur', |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 '<(DEPTH)/ui/ui.gyp:ui_resources', | 350 '<(DEPTH)/ui/ui.gyp:ui_resources', |
351 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_resources', | 351 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_resources', |
352 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_strings', | 352 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_strings', |
353 ] | 353 ] |
354 }], | 354 }], |
355 ], | 355 ], |
356 }, | 356 }, |
357 { | 357 { |
358 'target_name': 'test_shell_tests', | 358 'target_name': 'test_shell_tests', |
359 'type': 'executable', | 359 'type': 'executable', |
360 'variables': { | |
361 'chromium_code': 1, | |
362 }, | |
363 'dependencies': [ | |
364 '../build/temp_gyp/googleurl.gyp:googleurl', | |
365 'test_shell_common', | |
366 '<(DEPTH)/base/base.gyp:test_support_base', | |
367 '<(DEPTH)/net/net.gyp:net', | |
368 '<(DEPTH)/net/net.gyp:net_test_support', | |
369 '<(DEPTH)/ppapi/ppapi_internal.gyp:ppapi_shared', | |
370 '<(DEPTH)/skia/skia.gyp:skia', | |
371 '<(DEPTH)/testing/gmock.gyp:gmock', | |
372 '<(DEPTH)/testing/gtest.gyp:gtest', | |
373 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', | |
374 '<(DEPTH)/webkit/support/webkit_support.gyp:user_agent', | |
375 ], | |
376 'sources': [ | 360 'sources': [ |
377 '../../glue/cpp_bound_class_unittest.cc', | |
378 '../../glue/dom_operations_unittest.cc', | |
379 '../../glue/dom_serializer_unittest.cc', | |
380 '../../glue/resource_fetcher_unittest.cc', | |
381 '../../glue/unittest_test_server.h', | |
382 '../../mocks/mock_resource_loader_bridge.h', | |
383 '../../mocks/mock_webframeclient.h', | |
384 '../../mocks/mock_weburlloader.cc', | |
385 '../../mocks/mock_weburlloader.h', | |
386 '../../plugins/ppapi/host_var_tracker_unittest.cc', | |
387 '../../plugins/ppapi/mock_platform_image_2d.cc', | |
388 '../../plugins/ppapi/mock_platform_image_2d.h', | |
389 '../../plugins/ppapi/mock_plugin_delegate.cc', | |
390 '../../plugins/ppapi/mock_plugin_delegate.h', | |
391 '../../plugins/ppapi/mock_resource.h', | |
392 '../../plugins/ppapi/ppapi_plugin_instance_unittest.cc', | |
393 '../../plugins/ppapi/ppapi_unittest.cc', | |
394 '../../plugins/ppapi/ppapi_unittest.h', | |
395 '../../plugins/ppapi/quota_file_io_unittest.cc', | |
396 '../../user_agent/user_agent_unittest.cc', | |
397 'mock_spellcheck_unittest.cc', | |
398 'plugin_tests.cc', | |
399 'run_all_tests.cc', | 361 'run_all_tests.cc', |
400 'test_shell_test.cc', | |
401 'test_shell_test.h', | |
402 ], | |
403 'conditions': [ | |
404 ['OS=="win"', { | |
405 'resource_include_dirs': [ | |
406 '<(SHARED_INTERMEDIATE_DIR)/webkit', | |
407 ], | |
408 'sources': [ '<@(test_shell_windows_resource_files)' ], | |
409 'configurations': { | |
410 'Debug_Base': { | |
411 'msvs_settings': { | |
412 'VCLinkerTool': { | |
413 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | |
414 }, | |
415 }, | |
416 }, | |
417 }, | |
418 }], | |
419 ['toolkit_uses_gtk == 1', { | |
420 'dependencies': [ | |
421 'test_shell_pak', | |
422 '<(DEPTH)/build/linux/system.gyp:gtk', | |
423 ], | |
424 }], | |
425 ['chromeos==1', { | |
426 'sources': [ | |
427 '../../chromeos/fileapi/file_access_permissions_unittest.cc', | |
428 '../../chromeos/fileapi/memory_file_util.cc', | |
429 '../../chromeos/fileapi/memory_file_util.h', | |
430 '../../chromeos/fileapi/memory_file_util_unittest.cc', | |
431 ], | |
432 }], | |
433 ['OS=="mac"', { | |
434 # mac tests load the resources from the built test_shell beside th
e | |
435 # test | |
436 'dependencies': [ | |
437 'test_shell', | |
438 ], | |
439 }], | |
440 ['OS=="win"', { | |
441 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
442 'msvs_disabled_warnings': [ 4800, 4267 ], | |
443 }], | |
444 ['os_posix == 1 and OS != "mac"', { | |
445 'conditions': [ | |
446 ['linux_use_tcmalloc==1', { | |
447 'dependencies': [ | |
448 '<(DEPTH)/base/allocator/allocator.gyp:allocator', | |
449 ], | |
450 }], | |
451 ], | |
452 }], | |
453 ], | 362 ], |
454 }, | 363 }, |
455 ], | 364 ], |
456 }], | 365 }], |
457 ['OS!="android" and OS!="ios"', { | 366 ['OS!="android" and OS!="ios"', { |
458 # npapi test plugin doesn't build on android or ios | 367 # npapi test plugin doesn't build on android or ios |
459 'targets': [ | 368 'targets': [ |
460 { | 369 { |
461 'target_name': 'npapi_test_common', | 370 'target_name': 'npapi_test_common', |
462 'type': 'static_library', | 371 'type': 'static_library', |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 'action_name': 'test_shell_resources', | 531 'action_name': 'test_shell_resources', |
623 'includes': [ '../../../build/grit_action.gypi' ], | 532 'includes': [ '../../../build/grit_action.gypi' ], |
624 }, | 533 }, |
625 ], | 534 ], |
626 'includes': [ '../../../build/grit_target.gypi' ], | 535 'includes': [ '../../../build/grit_target.gypi' ], |
627 }, | 536 }, |
628 ], | 537 ], |
629 }], | 538 }], |
630 ], | 539 ], |
631 } | 540 } |
OLD | NEW |