Chromium Code Reviews| 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 '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'], |
| 11 'dependencies': [ | 11 'dependencies': [ |
| 12 '../build/temp_gyp/googleurl.gyp:googleurl', | 12 '../build/temp_gyp/googleurl.gyp:googleurl', |
| 13 'content_app', | 13 'content_app', |
| 14 'content_browser', | 14 'content_browser', |
| 15 'content_common', | 15 'content_common', |
| 16 '../net/net.gyp:net_test_support', | 16 '../net/net.gyp:net_test_support', |
| 17 '../skia/skia.gyp:skia', | 17 '../skia/skia.gyp:skia', |
| 18 '../testing/gmock.gyp:gmock', | 18 '../testing/gmock.gyp:gmock', |
| 19 '../testing/gtest.gyp:gtest', | 19 '../testing/gtest.gyp:gtest', |
| 20 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', | |
| 21 '../ui/surface/surface.gyp:surface', | |
| 22 '../ui/ui.gyp:ui_test_support', | 20 '../ui/ui.gyp:ui_test_support', |
| 23 '../webkit/support/webkit_support.gyp:appcache', | |
| 24 ], | 21 ], |
| 25 'include_dirs': [ | 22 'include_dirs': [ |
| 26 '..', | 23 '..', |
| 27 ], | 24 ], |
| 28 'sources': [ | 25 'sources': [ |
| 29 'public/test/accessibility_test_utils_win.cc', | 26 'public/test/accessibility_test_utils_win.cc', |
| 30 'public/test/accessibility_test_utils_win.h', | 27 'public/test/accessibility_test_utils_win.h', |
| 31 'public/test/browser_test.h', | 28 'public/test/browser_test.h', |
| 32 'public/test/browser_test_base.cc', | 29 'public/test/browser_test_base.cc', |
| 33 'public/test/browser_test_base.h', | 30 'public/test/browser_test_base.h', |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 134 'test/test_web_contents_view.h', | 131 'test/test_web_contents_view.h', |
| 135 | 132 |
| 136 # TODO(phajdan.jr): Those files should be moved to webkit | 133 # TODO(phajdan.jr): Those files should be moved to webkit |
| 137 # test support target. | 134 # test support target. |
| 138 '../webkit/appcache/appcache_test_helper.cc', | 135 '../webkit/appcache/appcache_test_helper.cc', |
| 139 '../webkit/appcache/appcache_test_helper.h', | 136 '../webkit/appcache/appcache_test_helper.h', |
| 140 '../webkit/quota/mock_special_storage_policy.cc', | 137 '../webkit/quota/mock_special_storage_policy.cc', |
| 141 '../webkit/quota/mock_special_storage_policy.h', | 138 '../webkit/quota/mock_special_storage_policy.h', |
| 142 ], | 139 ], |
| 143 'conditions': [ | 140 'conditions': [ |
| 141 ['OS != "ios"', { | |
|
jam
2012/09/07 16:25:52
nit: combine this with the OS == ios section below
| |
| 142 'dependencies': [ | |
| 143 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', | |
| 144 '../ui/surface/surface.gyp:surface', | |
| 145 '../webkit/support/webkit_support.gyp:appcache', | |
| 146 ], | |
| 147 }], | |
| 144 ['OS == "win" or (toolkit_uses_gtk == 1 and selinux == 0)', { | 148 ['OS == "win" or (toolkit_uses_gtk == 1 and selinux == 0)', { |
| 145 'dependencies': [ | 149 'dependencies': [ |
| 146 '../sandbox/sandbox.gyp:sandbox', | 150 '../sandbox/sandbox.gyp:sandbox', |
| 147 ], | 151 ], |
| 148 }], | 152 }], |
| 149 ['enable_webrtc==1', { | 153 ['enable_webrtc==1', { |
| 150 'sources': [ | 154 'sources': [ |
| 151 'renderer/media/mock_media_stream_dependency_factory.cc', | 155 'renderer/media/mock_media_stream_dependency_factory.cc', |
| 152 'renderer/media/mock_media_stream_dependency_factory.h', | 156 'renderer/media/mock_media_stream_dependency_factory.h', |
| 153 'renderer/media/mock_media_stream_dispatcher.cc', | 157 'renderer/media/mock_media_stream_dispatcher.cc', |
| (...skipping 29 matching lines...) Expand all Loading... | |
| 183 'dependencies': [ | 187 'dependencies': [ |
| 184 '../ui/aura/aura.gyp:test_support_aura', | 188 '../ui/aura/aura.gyp:test_support_aura', |
| 185 '../ui/compositor/compositor.gyp:compositor', | 189 '../ui/compositor/compositor.gyp:compositor', |
| 186 ], | 190 ], |
| 187 }], | 191 }], |
| 188 ['OS=="win"', { | 192 ['OS=="win"', { |
| 189 'dependencies': [ | 193 'dependencies': [ |
| 190 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2', | 194 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2', |
| 191 ], | 195 ], |
| 192 }], | 196 }], |
| 193 ['OS!="android"', { | 197 ['OS!="android" and OS!="ios"', { |
| 194 'dependencies': [ | 198 'dependencies': [ |
| 195 '../third_party/libvpx/libvpx.gyp:libvpx', | 199 '../third_party/libvpx/libvpx.gyp:libvpx', |
| 196 ], | 200 ], |
| 197 }], | 201 }], |
| 202 ['OS=="ios"', { | |
| 203 'sources/': [ | |
| 204 # iOS only needs a small portion of content; exclude all the | |
| 205 # implementation, and re-include what is used. | |
| 206 ['exclude', '\\.(cc|mm)$'], | |
| 207 ['include', '_ios\\.(cc|mm)$'], | |
| 208 ['include', '^public/test/content_test_suite_base\\.cc$'], | |
| 209 ['include', '^public/test/mock_notification_observer\\.cc$'], | |
| 210 ['include', '^public/test/mock_resource_context\\.cc$'], | |
| 211 ['include', '^public/test/test_browser_thread\\.cc$'], | |
| 212 ['include', '^public/test/test_content_client_initializer\\.cc$'], | |
| 213 ['include', '^public/test/test_notification_tracker\\.cc$'], | |
| 214 ['include', '^public/test/test_utils\\.cc$'], | |
| 215 ], | |
| 216 }], | |
| 198 ], | 217 ], |
| 199 }, | 218 }, |
| 200 { | 219 { |
| 201 'target_name': 'content_unittests', | 220 'target_name': 'content_unittests', |
| 202 'type': '<(gtest_target_type)', | 221 'type': '<(gtest_target_type)', |
| 203 'defines!': ['CONTENT_IMPLEMENTATION'], | 222 'defines!': ['CONTENT_IMPLEMENTATION'], |
| 204 'dependencies': [ | 223 'dependencies': [ |
| 205 'content_common', | 224 'content_common', |
| 206 'content_gpu', | |
| 207 'content_plugin', | |
| 208 'content_renderer', | |
| 209 'test_support_content', | 225 'test_support_content', |
| 210 'browser/speech/proto/speech_proto.gyp:speech_proto', | 226 'browser/speech/proto/speech_proto.gyp:speech_proto', |
| 211 'content_resources.gyp:content_resources', | |
| 212 '../base/base.gyp:test_support_base', | 227 '../base/base.gyp:test_support_base', |
| 213 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', | |
| 214 '../crypto/crypto.gyp:crypto', | 228 '../crypto/crypto.gyp:crypto', |
| 215 '../gpu/gpu.gyp:gpu_unittest_utils', | |
| 216 '../ipc/ipc.gyp:test_support_ipc', | |
| 217 '../jingle/jingle.gyp:jingle_glue_test_util', | |
| 218 '../media/media.gyp:media_test_support', | 229 '../media/media.gyp:media_test_support', |
| 219 '../media/media.gyp:shared_memory_support', | |
| 220 '../net/net.gyp:net_test_support', | 230 '../net/net.gyp:net_test_support', |
| 221 '../skia/skia.gyp:skia', | 231 '../skia/skia.gyp:skia', |
| 222 '../testing/gmock.gyp:gmock', | 232 '../testing/gmock.gyp:gmock', |
| 223 '../testing/gtest.gyp:gtest', | 233 '../testing/gtest.gyp:gtest', |
| 224 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | |
| 225 '../third_party/libjingle/libjingle.gyp:libjingle', | |
| 226 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', | |
| 227 '../ui/gl/gl.gyp:gl', | |
| 228 '../ui/ui.gyp:ui', | 234 '../ui/ui.gyp:ui', |
| 229 '../v8/tools/gyp/v8.gyp:v8', | |
| 230 '../webkit/support/webkit_support.gyp:appcache', | |
| 231 '../webkit/support/webkit_support.gyp:blob', | |
| 232 '../webkit/support/webkit_support.gyp:database', | |
| 233 '../webkit/support/webkit_support.gyp:dom_storage', | |
| 234 '../webkit/support/webkit_support.gyp:fileapi', | |
| 235 '../webkit/support/webkit_support.gyp:glue', | 235 '../webkit/support/webkit_support.gyp:glue', |
| 236 '../webkit/support/webkit_support.gyp:quota', | |
| 237 '../webkit/support/webkit_support.gyp:webkit_base', | |
| 238 '../webkit/support/webkit_support.gyp:webkit_media', | |
| 239 '../webkit/webkit.gyp:test_shell_test_support', | |
| 240 ], | 236 ], |
| 241 'include_dirs': [ | 237 'include_dirs': [ |
| 242 '..', | 238 '..', |
| 243 ], | 239 ], |
| 244 'sources': [ | 240 'sources': [ |
| 245 'browser/accessibility/browser_accessibility_mac_unittest.mm', | 241 'browser/accessibility/browser_accessibility_mac_unittest.mm', |
| 246 'browser/accessibility/browser_accessibility_manager_unittest.cc', | 242 'browser/accessibility/browser_accessibility_manager_unittest.cc', |
| 247 'browser/accessibility/browser_accessibility_win_unittest.cc', | 243 'browser/accessibility/browser_accessibility_win_unittest.cc', |
| 248 'browser/appcache/chrome_appcache_service_unittest.cc', | 244 'browser/appcache/chrome_appcache_service_unittest.cc', |
| 249 'browser/browser_thread_unittest.cc', | 245 'browser/browser_thread_unittest.cc', |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 433 '../webkit/quota/mock_quota_manager.cc', | 429 '../webkit/quota/mock_quota_manager.cc', |
| 434 '../webkit/quota/mock_quota_manager.h', | 430 '../webkit/quota/mock_quota_manager.h', |
| 435 '../webkit/quota/mock_quota_manager_unittest.cc', | 431 '../webkit/quota/mock_quota_manager_unittest.cc', |
| 436 '../webkit/quota/mock_storage_client.cc', | 432 '../webkit/quota/mock_storage_client.cc', |
| 437 '../webkit/quota/mock_storage_client.h', | 433 '../webkit/quota/mock_storage_client.h', |
| 438 '../webkit/quota/quota_database_unittest.cc', | 434 '../webkit/quota/quota_database_unittest.cc', |
| 439 '../webkit/quota/quota_manager_unittest.cc', | 435 '../webkit/quota/quota_manager_unittest.cc', |
| 440 '../webkit/quota/quota_temporary_storage_evictor_unittest.cc', | 436 '../webkit/quota/quota_temporary_storage_evictor_unittest.cc', |
| 441 ], | 437 ], |
| 442 'conditions': [ | 438 'conditions': [ |
| 439 ['OS != "ios"', { | |
|
jam
2012/09/07 16:25:52
ditto
| |
| 440 'dependencies': [ | |
| 441 'content_gpu', | |
| 442 'content_plugin', | |
| 443 'content_renderer', | |
| 444 'content_resources.gyp:content_resources', | |
| 445 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations', | |
| 446 '../gpu/gpu.gyp:gpu_unittest_utils', | |
| 447 '../ipc/ipc.gyp:test_support_ipc', | |
| 448 '../jingle/jingle.gyp:jingle_glue_test_util', | |
| 449 '../media/media.gyp:shared_memory_support', | |
| 450 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | |
| 451 '../third_party/libjingle/libjingle.gyp:libjingle', | |
| 452 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', | |
| 453 '../ui/gl/gl.gyp:gl', | |
| 454 '../v8/tools/gyp/v8.gyp:v8', | |
| 455 '../webkit/support/webkit_support.gyp:appcache', | |
| 456 '../webkit/support/webkit_support.gyp:blob', | |
| 457 '../webkit/support/webkit_support.gyp:database', | |
| 458 '../webkit/support/webkit_support.gyp:dom_storage', | |
| 459 '../webkit/support/webkit_support.gyp:fileapi', | |
| 460 '../webkit/support/webkit_support.gyp:quota', | |
| 461 '../webkit/support/webkit_support.gyp:webkit_base', | |
| 462 '../webkit/support/webkit_support.gyp:webkit_media', | |
| 463 '../webkit/webkit.gyp:test_shell_test_support', | |
| 464 ], | |
| 465 }], | |
| 443 ['enable_webrtc==1', { | 466 ['enable_webrtc==1', { |
| 444 'sources': [ | 467 'sources': [ |
| 445 'browser/renderer_host/p2p/socket_host_test_utils.h', | 468 'browser/renderer_host/p2p/socket_host_test_utils.h', |
| 446 'browser/renderer_host/p2p/socket_host_tcp_unittest.cc', | 469 'browser/renderer_host/p2p/socket_host_tcp_unittest.cc', |
| 447 'browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc', | 470 'browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc', |
| 448 'browser/renderer_host/p2p/socket_host_udp_unittest.cc', | 471 'browser/renderer_host/p2p/socket_host_udp_unittest.cc', |
| 449 'renderer/media/media_stream_dispatcher_unittest.cc', | 472 'renderer/media/media_stream_dispatcher_unittest.cc', |
| 450 'renderer/media/media_stream_impl_unittest.cc', | 473 'renderer/media/media_stream_impl_unittest.cc', |
| 451 'renderer/media/peer_connection_handler_jsep_unittest.cc', | 474 'renderer/media/peer_connection_handler_jsep_unittest.cc', |
| 452 'renderer/media/rtc_video_decoder_unittest.cc', | 475 'renderer/media/rtc_video_decoder_unittest.cc', |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 513 ], | 536 ], |
| 514 }], | 537 }], |
| 515 ['OS == "android"', { | 538 ['OS == "android"', { |
| 516 'sources!': [ | 539 'sources!': [ |
| 517 'browser/geolocation/device_data_provider_unittest.cc', | 540 'browser/geolocation/device_data_provider_unittest.cc', |
| 518 'browser/geolocation/gps_location_provider_unittest_linux.cc', | 541 'browser/geolocation/gps_location_provider_unittest_linux.cc', |
| 519 'browser/geolocation/network_location_provider_unittest.cc', | 542 'browser/geolocation/network_location_provider_unittest.cc', |
| 520 'browser/geolocation/wifi_data_provider_common_unittest.cc', | 543 'browser/geolocation/wifi_data_provider_common_unittest.cc', |
| 521 'browser/geolocation/wifi_data_provider_linux_unittest.cc', | 544 'browser/geolocation/wifi_data_provider_linux_unittest.cc', |
| 522 ], | 545 ], |
| 523 }, { # OS != "android" | 546 }], |
| 547 ['OS != "android" and OS != "ios"', { | |
| 524 'dependencies': [ | 548 'dependencies': [ |
| 525 '../third_party/libvpx/libvpx.gyp:libvpx', | 549 '../third_party/libvpx/libvpx.gyp:libvpx', |
| 526 ], | 550 ], |
| 527 }], | 551 }], |
| 528 ['OS == "android" and gtest_target_type == "shared_library"', { | 552 ['OS == "android" and gtest_target_type == "shared_library"', { |
| 529 'dependencies': [ | 553 'dependencies': [ |
| 530 '../testing/android/native_test.gyp:native_test_native_code', | 554 '../testing/android/native_test.gyp:native_test_native_code', |
| 531 ], | 555 ], |
| 532 }], | 556 }], |
| 533 ], | 557 ['OS=="ios"', { |
| 534 }, | 558 'sources/': [ |
| 535 { | 559 # iOS only needs a small portion of content; exclude all the |
| 536 'target_name': 'content_browsertests', | 560 # implementation, and re-include what is used. |
| 537 'type': 'executable', | 561 ['exclude', '\\.(cc|mm)$'], |
| 538 'defines!': ['CONTENT_IMPLEMENTATION'], | 562 ['include', '_ios\\.(cc|mm)$'], |
| 539 'dependencies': [ | 563 ['include', '^browser/browser_thread_unittest\\.cc$'], |
| 540 'content_gpu', | 564 ['include', '^browser/notification_service_impl_unittest\\.cc$'], |
| 541 'content_plugin', | 565 ['include', '^browser/speech/.*_unittest\\.cc$'], |
| 542 'content_renderer', | 566 ['include', '^test/run_all_unittests\\.cc$'], |
| 543 'content_shell_lib', | |
| 544 'content_shell_pak', | |
| 545 'test_support_content', | |
| 546 '../base/base.gyp:test_support_base', | |
| 547 '../ipc/ipc.gyp:test_support_ipc', | |
| 548 '../net/net.gyp:net_test_support', | |
| 549 '../ppapi/ppapi_internal.gyp:ppapi_host', | |
| 550 '../ppapi/ppapi_internal.gyp:ppapi_proxy', | |
| 551 '../ppapi/ppapi_internal.gyp:ppapi_ipc', | |
| 552 '../ppapi/ppapi_internal.gyp:ppapi_shared', | |
| 553 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared', | |
| 554 '../skia/skia.gyp:skia', | |
| 555 '../testing/gmock.gyp:gmock', | |
| 556 '../testing/gtest.gyp:gtest', | |
| 557 '../ui/ui.gyp:ui', | |
| 558 '../webkit/support/webkit_support.gyp:glue', | |
| 559 ], | |
| 560 'include_dirs': [ | |
| 561 '..', | |
| 562 ], | |
| 563 'defines': [ | |
| 564 'HAS_OUT_OF_PROC_TEST_RUNNER', | |
| 565 ], | |
| 566 'sources': [ | |
| 567 'browser/accessibility/cross_platform_accessibility_browsertest.cc', | |
| 568 'browser/accessibility/dump_accessibility_tree_browsertest.cc', | |
| 569 'browser/accessibility/dump_accessibility_tree_helper.cc', | |
| 570 'browser/accessibility/dump_accessibility_tree_helper.h', | |
| 571 'browser/accessibility/dump_accessibility_tree_helper_mac.mm', | |
| 572 'browser/accessibility/dump_accessibility_tree_helper_win.cc', | |
| 573 'browser/appcache/appcache_browsertest.cc', | |
| 574 'browser/audio_browsertest.cc', | |
| 575 'browser/child_process_security_policy_browsertest.cc', | |
| 576 'browser/database_browsertest.cc', | |
| 577 'browser/device_orientation/device_orientation_browsertest.cc', | |
| 578 'browser/dom_storage/dom_storage_browsertest.cc', | |
| 579 » 'browser/download/download_browsertest.cc', | |
| 580 'browser/download/mhtml_generation_browsertest.cc', | |
| 581 'browser/download/save_package_browsertest.cc', | |
| 582 'browser/fileapi/file_system_browsertest.cc', | |
| 583 'browser/in_process_webkit/indexed_db_browsertest.cc', | |
| 584 'browser/in_process_webkit/indexed_db_layout_browsertest.cc', | |
| 585 'browser/media_browsertest.cc', | |
| 586 'browser/plugin_data_remover_impl_browsertest.cc', | |
| 587 'browser/plugin_browsertest.cc', | |
| 588 'browser/plugin_service_impl_browsertest.cc', | |
| 589 'browser/renderer_host/render_view_host_browsertest.cc', | |
| 590 'browser/renderer_host/render_view_host_manager_browsertest.cc', | |
| 591 'browser/renderer_host/resource_dispatcher_host_browsertest.cc', | |
| 592 'browser/session_history_browsertest.cc', | |
| 593 'browser/speech/speech_recognition_browsertest.cc', | |
| 594 'browser/webkit_browsertest.cc', | |
| 595 'browser/worker_host/test/worker_browsertest.cc', | |
| 596 'common/content_constants_internal.cc', | |
| 597 'common/content_constants_internal.h', | |
| 598 'renderer/browser_plugin/mock_browser_plugin.h', | |
| 599 'renderer/browser_plugin/mock_browser_plugin.cc', | |
| 600 'renderer/browser_plugin/mock_browser_plugin_manager.h', | |
| 601 'renderer/browser_plugin/mock_browser_plugin_manager.cc', | |
| 602 'renderer/browser_plugin/browser_plugin_browsertest.h', | |
| 603 'renderer/browser_plugin/browser_plugin_browsertest.cc', | |
| 604 'renderer/mouse_lock_dispatcher_browsertest.cc', | |
| 605 'renderer/pepper/mock_renderer_ppapi_host.cc', | |
| 606 'renderer/pepper/pepper_file_chooser_host_unittest.cc', | |
| 607 'renderer/render_view_browsertest.cc', | |
| 608 'renderer/render_view_browsertest_mac.mm', | |
| 609 'renderer/renderer_accessibility_browsertest.cc', | |
| 610 'test/content_browser_test.h', | |
| 611 'test/content_browser_test.cc', | |
| 612 'test/content_browser_test_utils.cc', | |
| 613 'test/content_browser_test_utils.h', | |
| 614 'test/content_browser_test_utils_mac.mm', | |
| 615 'test/content_browser_test_test.cc', | |
| 616 'test/content_test_launcher.cc', | |
| 617 'test/layout_browsertest.cc', | |
| 618 'test/layout_browsertest.h', | |
| 619 'test/layout_test_http_server.cc', | |
| 620 'test/layout_test_http_server.h', | |
| 621 ], | |
| 622 'conditions': [ | |
| 623 ['OS=="win"', { | |
| 624 'resource_include_dirs': [ | |
| 625 '<(SHARED_INTERMEDIATE_DIR)/webkit', | |
| 626 ], | |
| 627 'sources': [ | |
| 628 'shell/resource.h', | |
| 629 'shell/shell.rc', | |
| 630 # TODO: It would be nice to have these pulled in | |
| 631 # automatically from direct_dependent_settings in | |
| 632 # their various targets (net.gyp:net_resources, etc.), | |
| 633 # but that causes errors in other targets when | |
| 634 # resulting .res files get referenced multiple times. | |
| 635 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', | |
| 636 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.rc', | |
| 637 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', | |
| 638 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.rc', | |
| 639 ], | |
| 640 'dependencies': [ | |
| 641 '<(DEPTH)/net/net.gyp:net_resources', | |
| 642 '<(DEPTH)/third_party/iaccessible2/iaccessible2.gyp:iaccessible2', | |
| 643 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_resources', | |
| 644 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_strings', | |
| 645 ], | |
| 646 'configurations': { | |
| 647 'Debug_Base': { | |
| 648 'msvs_settings': { | |
| 649 'VCLinkerTool': { | |
| 650 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | |
| 651 }, | |
| 652 }, | |
| 653 }, | |
| 654 }, | |
| 655 }], | |
| 656 ['OS=="win" and win_use_allocator_shim==1', { | |
| 657 'dependencies': [ | |
| 658 '../base/allocator/allocator.gyp:allocator', | |
| 659 ], | |
| 660 }], | |
| 661 ['OS=="linux"', { | |
| 662 'sources!': [ | |
| 663 'browser/accessibility/dump_accessibility_tree_browsertest.cc', | |
| 664 'browser/accessibility/dump_accessibility_tree_helper.cc', | |
| 665 ], | |
| 666 }], | |
| 667 ['OS=="mac"', { | |
| 668 'dependencies': [ | |
| 669 'content_shell', # Needed for Content Shell.app's Helper. | |
| 670 ], | |
| 671 }], | |
| 672 ['use_aura==1', { | |
| 673 'sources!': [ | |
| 674 'browser/accessibility/dump_accessibility_tree_browsertest.cc', | |
| 675 'browser/accessibility/dump_accessibility_tree_helper_win.cc', | |
| 676 'browser/accessibility/dump_accessibility_tree_helper.cc', | |
| 677 'browser/plugin_browsertest.cc', | |
| 678 ], | |
| 679 }], | |
| 680 ['target_arch!="arm"', { | |
| 681 'dependencies': [ | |
| 682 # Runtime dependencies | |
| 683 '../webkit/webkit.gyp:copy_npapi_test_plugin', | |
| 684 '../webkit/webkit.gyp:pull_in_copy_TestNetscapePlugIn', | |
| 685 ], | 567 ], |
| 686 }], | 568 }], |
| 687 ], | 569 ], |
| 688 }, | 570 }, |
| 689 ], | 571 ], |
| 690 'conditions': [ | 572 'conditions': [ |
| 573 ['OS!="ios"', { | |
| 574 'targets': [ | |
| 575 { | |
| 576 'target_name': 'content_browsertests', | |
| 577 'type': 'executable', | |
| 578 'defines!': ['CONTENT_IMPLEMENTATION'], | |
| 579 'dependencies': [ | |
| 580 'content_gpu', | |
| 581 'content_plugin', | |
| 582 'content_renderer', | |
| 583 'content_shell_lib', | |
| 584 'content_shell_pak', | |
| 585 'test_support_content', | |
| 586 '../base/base.gyp:test_support_base', | |
| 587 '../ipc/ipc.gyp:test_support_ipc', | |
| 588 '../net/net.gyp:net_test_support', | |
| 589 '../ppapi/ppapi_internal.gyp:ppapi_host', | |
| 590 '../ppapi/ppapi_internal.gyp:ppapi_proxy', | |
| 591 '../ppapi/ppapi_internal.gyp:ppapi_ipc', | |
| 592 '../ppapi/ppapi_internal.gyp:ppapi_shared', | |
| 593 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared', | |
| 594 '../skia/skia.gyp:skia', | |
| 595 '../testing/gmock.gyp:gmock', | |
| 596 '../testing/gtest.gyp:gtest', | |
| 597 '../ui/ui.gyp:ui', | |
| 598 '../webkit/support/webkit_support.gyp:glue', | |
| 599 ], | |
| 600 'include_dirs': [ | |
| 601 '..', | |
| 602 ], | |
| 603 'defines': [ | |
| 604 'HAS_OUT_OF_PROC_TEST_RUNNER', | |
| 605 ], | |
| 606 'sources': [ | |
| 607 'browser/accessibility/cross_platform_accessibility_browsertest.cc', | |
| 608 'browser/accessibility/dump_accessibility_tree_browsertest.cc', | |
| 609 'browser/accessibility/dump_accessibility_tree_helper.cc', | |
| 610 'browser/accessibility/dump_accessibility_tree_helper.h', | |
| 611 'browser/accessibility/dump_accessibility_tree_helper_mac.mm', | |
| 612 'browser/accessibility/dump_accessibility_tree_helper_win.cc', | |
| 613 'browser/appcache/appcache_browsertest.cc', | |
| 614 'browser/audio_browsertest.cc', | |
| 615 'browser/child_process_security_policy_browsertest.cc', | |
| 616 'browser/database_browsertest.cc', | |
| 617 'browser/device_orientation/device_orientation_browsertest.cc', | |
| 618 'browser/dom_storage/dom_storage_browsertest.cc', | |
| 619 'browser/download/download_browsertest.cc', | |
| 620 'browser/download/mhtml_generation_browsertest.cc', | |
| 621 'browser/download/save_package_browsertest.cc', | |
| 622 'browser/fileapi/file_system_browsertest.cc', | |
| 623 'browser/in_process_webkit/indexed_db_browsertest.cc', | |
| 624 'browser/in_process_webkit/indexed_db_layout_browsertest.cc', | |
| 625 'browser/media_browsertest.cc', | |
| 626 'browser/plugin_data_remover_impl_browsertest.cc', | |
| 627 'browser/plugin_browsertest.cc', | |
| 628 'browser/plugin_service_impl_browsertest.cc', | |
| 629 'browser/renderer_host/render_view_host_browsertest.cc', | |
| 630 'browser/renderer_host/render_view_host_manager_browsertest.cc', | |
| 631 'browser/renderer_host/resource_dispatcher_host_browsertest.cc', | |
| 632 'browser/session_history_browsertest.cc', | |
| 633 'browser/speech/speech_recognition_browsertest.cc', | |
| 634 'browser/webkit_browsertest.cc', | |
| 635 'browser/worker_host/test/worker_browsertest.cc', | |
| 636 'common/content_constants_internal.cc', | |
| 637 'common/content_constants_internal.h', | |
| 638 'renderer/browser_plugin/mock_browser_plugin.h', | |
| 639 'renderer/browser_plugin/mock_browser_plugin.cc', | |
| 640 'renderer/browser_plugin/mock_browser_plugin_manager.h', | |
| 641 'renderer/browser_plugin/mock_browser_plugin_manager.cc', | |
| 642 'renderer/browser_plugin/browser_plugin_browsertest.h', | |
| 643 'renderer/browser_plugin/browser_plugin_browsertest.cc', | |
| 644 'renderer/mouse_lock_dispatcher_browsertest.cc', | |
| 645 'renderer/pepper/mock_renderer_ppapi_host.cc', | |
| 646 'renderer/pepper/pepper_file_chooser_host_unittest.cc', | |
| 647 'renderer/render_view_browsertest.cc', | |
| 648 'renderer/render_view_browsertest_mac.mm', | |
| 649 'renderer/renderer_accessibility_browsertest.cc', | |
| 650 'test/content_browser_test.h', | |
| 651 'test/content_browser_test.cc', | |
| 652 'test/content_browser_test_utils.cc', | |
| 653 'test/content_browser_test_utils.h', | |
| 654 'test/content_browser_test_utils_mac.mm', | |
| 655 'test/content_browser_test_test.cc', | |
| 656 'test/content_test_launcher.cc', | |
| 657 'test/layout_browsertest.cc', | |
| 658 'test/layout_browsertest.h', | |
| 659 'test/layout_test_http_server.cc', | |
| 660 'test/layout_test_http_server.h', | |
| 661 ], | |
| 662 'conditions': [ | |
| 663 ['OS=="win"', { | |
| 664 'resource_include_dirs': [ | |
| 665 '<(SHARED_INTERMEDIATE_DIR)/webkit', | |
| 666 ], | |
| 667 'sources': [ | |
| 668 'shell/resource.h', | |
| 669 'shell/shell.rc', | |
| 670 # TODO: It would be nice to have these pulled in | |
| 671 # automatically from direct_dependent_settings in | |
| 672 # their various targets (net.gyp:net_resources, etc.), | |
| 673 # but that causes errors in other targets when | |
| 674 # resulting .res files get referenced multiple times. | |
| 675 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', | |
| 676 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.rc' , | |
| 677 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', | |
| 678 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.rc', | |
| 679 ], | |
| 680 'dependencies': [ | |
| 681 '<(DEPTH)/net/net.gyp:net_resources', | |
| 682 '<(DEPTH)/third_party/iaccessible2/iaccessible2.gyp:iaccessible2 ', | |
| 683 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_resources', | |
| 684 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_strings', | |
| 685 ], | |
| 686 'configurations': { | |
| 687 'Debug_Base': { | |
| 688 'msvs_settings': { | |
| 689 'VCLinkerTool': { | |
| 690 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | |
| 691 }, | |
| 692 }, | |
| 693 }, | |
| 694 }, | |
| 695 }], | |
| 696 ['OS=="win" and win_use_allocator_shim==1', { | |
| 697 'dependencies': [ | |
| 698 '../base/allocator/allocator.gyp:allocator', | |
| 699 ], | |
| 700 }], | |
| 701 ['OS=="linux"', { | |
| 702 'sources!': [ | |
| 703 'browser/accessibility/dump_accessibility_tree_browsertest.cc', | |
| 704 'browser/accessibility/dump_accessibility_tree_helper.cc', | |
| 705 ], | |
| 706 }], | |
| 707 ['OS=="mac"', { | |
| 708 'dependencies': [ | |
| 709 'content_shell', # Needed for Content Shell.app's Helper. | |
| 710 ], | |
| 711 }], | |
| 712 ['use_aura==1', { | |
| 713 'sources!': [ | |
| 714 'browser/accessibility/dump_accessibility_tree_browsertest.cc', | |
| 715 'browser/accessibility/dump_accessibility_tree_helper_win.cc', | |
| 716 'browser/accessibility/dump_accessibility_tree_helper.cc', | |
| 717 'browser/plugin_browsertest.cc', | |
| 718 ], | |
| 719 }], | |
| 720 ['target_arch!="arm"', { | |
| 721 'dependencies': [ | |
| 722 # Runtime dependencies | |
| 723 '../webkit/webkit.gyp:copy_npapi_test_plugin', | |
| 724 '../webkit/webkit.gyp:pull_in_copy_TestNetscapePlugIn', | |
| 725 ], | |
| 726 }], | |
| 727 ], | |
| 728 }, | |
| 729 ], | |
| 730 }], | |
| 691 ['chromeos==1 or OS=="linux" or OS=="win" or OS=="mac"', { | 731 ['chromeos==1 or OS=="linux" or OS=="win" or OS=="mac"', { |
| 692 'targets': [ | 732 'targets': [ |
| 693 { | 733 { |
| 694 'target_name': 'video_decode_accelerator_unittest', | 734 'target_name': 'video_decode_accelerator_unittest', |
| 695 'type': 'executable', | 735 'type': 'executable', |
| 696 'dependencies': [ | 736 'dependencies': [ |
| 697 'content', | 737 'content', |
| 698 '../base/base.gyp:base', | 738 '../base/base.gyp:base', |
| 699 '../testing/gtest.gyp:gtest', | 739 '../testing/gtest.gyp:gtest', |
| 700 '../media/media.gyp:media', | 740 '../media/media.gyp:media', |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 838 '-buildfile', | 878 '-buildfile', |
| 839 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk .xml', | 879 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk .xml', |
| 840 ] | 880 ] |
| 841 } | 881 } |
| 842 ], | 882 ], |
| 843 }, | 883 }, |
| 844 ], | 884 ], |
| 845 }], | 885 }], |
| 846 ], | 886 ], |
| 847 } | 887 } |
| OLD | NEW |