OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'variables' : { | 5 'variables' : { |
6 'pyautolib_sources': [ | 6 'pyautolib_sources': [ |
7 'app/chrome_command_ids.h', | 7 'app/chrome_command_ids.h', |
8 'app/chrome_dll_resource.h', | 8 'app/chrome_dll_resource.h', |
9 'common/automation_constants.h', | 9 'common/automation_constants.h', |
10 'common/pref_names.cc', | 10 'common/pref_names.cc', |
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 'msvs_disabled_warnings': [ 4267, ], | 497 'msvs_disabled_warnings': [ 4267, ], |
498 }, { # else: OS != "win" | 498 }, { # else: OS != "win" |
499 'sources!': [ | 499 'sources!': [ |
500 'browser/ui/views/ssl_client_certificate_selector_browsertest.cc', | 500 'browser/ui/views/ssl_client_certificate_selector_browsertest.cc', |
501 'browser/ui/views/native_widget_win_interactive_uitest.cc', | 501 'browser/ui/views/native_widget_win_interactive_uitest.cc', |
502 ], | 502 ], |
503 }], # OS != "win" | 503 }], # OS != "win" |
504 ], # conditions | 504 ], # conditions |
505 }, | 505 }, |
506 { | 506 { |
507 # Third-party support sources for chromedriver_lib. | |
508 'target_name': 'chromedriver_support', | |
509 'type': 'static_library', | |
510 'sources': [ | |
511 '../third_party/mongoose/mongoose.c', | |
512 '../third_party/mongoose/mongoose.h', | |
513 '../third_party/webdriver/atoms.cc', | |
514 '../third_party/webdriver/atoms.h', | |
515 ], | |
516 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
517 # Although this one is probably safe to ignore. | |
518 # Mongose casts -1 directly as HANDLE (definitely safe to ignore). | |
519 'msvs_disabled_warnings': [4267, 4306, ], | |
520 }, | |
521 { | |
522 # chromedriver is the chromium implementation of WebDriver. | |
523 # See http://www.chromium.org/developers/testing/webdriver-for-chrome | |
524 'target_name': 'chromedriver_lib', | |
525 'type': 'static_library', | |
526 'dependencies': [ | |
527 '../base/base.gyp:base', | |
528 '../net/net.gyp:net', | |
529 '../skia/skia.gyp:skia', | |
530 '../sync/sync.gyp:sync', | |
531 '../testing/gtest.gyp:gtest', | |
532 '../third_party/icu/icu.gyp:icui18n', | |
533 '../third_party/icu/icu.gyp:icuuc', | |
534 '../third_party/libxml/libxml.gyp:libxml', | |
535 '../url/url.gyp:url_lib', | |
536 'browser', | |
537 'chrome', | |
538 'chrome_resources.gyp:chrome_resources', | |
539 'chrome_resources.gyp:chrome_strings', | |
540 'chromedriver_support', | |
541 'common', | |
542 'test_support_ui', | |
543 'test_support_ui_runner', | |
544 ], | |
545 'include_dirs': [ | |
546 '..', | |
547 ], | |
548 'sources': [ | |
549 'test/webdriver/commands/alert_commands.cc', | |
550 'test/webdriver/commands/alert_commands.h', | |
551 'test/webdriver/commands/appcache_status_command.cc', | |
552 'test/webdriver/commands/appcache_status_command.h', | |
553 'test/webdriver/commands/browser_connection_commands.cc', | |
554 'test/webdriver/commands/browser_connection_commands.h', | |
555 'test/webdriver/commands/chrome_commands.cc', | |
556 'test/webdriver/commands/chrome_commands.h', | |
557 'test/webdriver/commands/command.cc', | |
558 'test/webdriver/commands/command.h', | |
559 'test/webdriver/commands/cookie_commands.cc', | |
560 'test/webdriver/commands/cookie_commands.h', | |
561 'test/webdriver/commands/create_session.cc', | |
562 'test/webdriver/commands/create_session.h', | |
563 'test/webdriver/commands/execute_async_script_command.cc', | |
564 'test/webdriver/commands/execute_async_script_command.h', | |
565 'test/webdriver/commands/execute_command.cc', | |
566 'test/webdriver/commands/execute_command.h', | |
567 'test/webdriver/commands/file_upload_command.cc', | |
568 'test/webdriver/commands/file_upload_command.h', | |
569 'test/webdriver/commands/find_element_commands.cc', | |
570 'test/webdriver/commands/find_element_commands.h', | |
571 'test/webdriver/commands/html5_location_commands.cc', | |
572 'test/webdriver/commands/html5_location_commands.h', | |
573 'test/webdriver/commands/html5_storage_commands.cc', | |
574 'test/webdriver/commands/html5_storage_commands.h', | |
575 'test/webdriver/commands/keys_command.cc', | |
576 'test/webdriver/commands/keys_command.h', | |
577 'test/webdriver/commands/log_command.cc', | |
578 'test/webdriver/commands/log_command.h', | |
579 'test/webdriver/commands/navigate_commands.cc', | |
580 'test/webdriver/commands/navigate_commands.h', | |
581 'test/webdriver/commands/mouse_commands.cc', | |
582 'test/webdriver/commands/mouse_commands.h', | |
583 'test/webdriver/commands/response.h', | |
584 'test/webdriver/commands/response.cc', | |
585 'test/webdriver/commands/screenshot_command.cc', | |
586 'test/webdriver/commands/screenshot_command.h', | |
587 'test/webdriver/commands/session_with_id.cc', | |
588 'test/webdriver/commands/session_with_id.h', | |
589 'test/webdriver/commands/set_timeout_commands.cc', | |
590 'test/webdriver/commands/set_timeout_commands.h', | |
591 'test/webdriver/commands/source_command.cc', | |
592 'test/webdriver/commands/source_command.h', | |
593 'test/webdriver/commands/target_locator_commands.cc', | |
594 'test/webdriver/commands/target_locator_commands.h', | |
595 'test/webdriver/commands/title_command.cc', | |
596 'test/webdriver/commands/title_command.h', | |
597 'test/webdriver/commands/url_command.cc', | |
598 'test/webdriver/commands/url_command.h', | |
599 'test/webdriver/commands/webdriver_command.cc', | |
600 'test/webdriver/commands/webdriver_command.h', | |
601 'test/webdriver/commands/webelement_commands.cc', | |
602 'test/webdriver/commands/webelement_commands.h', | |
603 'test/webdriver/commands/window_commands.cc', | |
604 'test/webdriver/commands/window_commands.h', | |
605 'test/webdriver/frame_path.cc', | |
606 'test/webdriver/frame_path.h', | |
607 'test/webdriver/http_response.cc', | |
608 'test/webdriver/http_response.h', | |
609 'test/webdriver/keycode_text_conversion.h', | |
610 'test/webdriver/keycode_text_conversion_gtk.cc', | |
611 'test/webdriver/keycode_text_conversion_mac.mm', | |
612 'test/webdriver/keycode_text_conversion_win.cc', | |
613 'test/webdriver/keycode_text_conversion_x.cc', | |
614 'test/webdriver/webdriver_automation.cc', | |
615 'test/webdriver/webdriver_automation.h', | |
616 'test/webdriver/webdriver_basic_types.cc', | |
617 'test/webdriver/webdriver_basic_types.h', | |
618 'test/webdriver/webdriver_capabilities_parser.cc', | |
619 'test/webdriver/webdriver_capabilities_parser.h', | |
620 'test/webdriver/webdriver_dispatch.cc', | |
621 'test/webdriver/webdriver_dispatch.h', | |
622 'test/webdriver/webdriver_element_id.cc', | |
623 'test/webdriver/webdriver_element_id.h', | |
624 'test/webdriver/webdriver_error.cc', | |
625 'test/webdriver/webdriver_error.h', | |
626 'test/webdriver/webdriver_key_converter.cc', | |
627 'test/webdriver/webdriver_key_converter.h', | |
628 'test/webdriver/webdriver_logging.cc', | |
629 'test/webdriver/webdriver_logging.h', | |
630 'test/webdriver/webdriver_session.cc', | |
631 'test/webdriver/webdriver_session.h', | |
632 'test/webdriver/webdriver_session_manager.cc', | |
633 'test/webdriver/webdriver_session_manager.h', | |
634 'test/webdriver/webdriver_switches.cc', | |
635 'test/webdriver/webdriver_switches.h', | |
636 'test/webdriver/webdriver_util.cc', | |
637 'test/webdriver/webdriver_util.h', | |
638 'test/webdriver/webdriver_util_mac.mm', | |
639 ], | |
640 'conditions': [ | |
641 ['use_x11==1', { | |
642 'dependencies': [ | |
643 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | |
644 ], | |
645 }], | |
646 ['toolkit_uses_gtk == 1', { | |
647 'dependencies': [ | |
648 '../build/linux/system.gyp:gtk', | |
649 ], | |
650 'sources!': [ | |
651 'test/webdriver/keycode_text_conversion_x.cc', | |
652 ], | |
653 }], | |
654 ['toolkit_uses_gtk == 0', { | |
655 'sources!': [ | |
656 'test/webdriver/keycode_text_conversion_gtk.cc', | |
657 ], | |
658 }], | |
659 ['OS=="linux" and toolkit_views==1', { | |
660 'dependencies': [ | |
661 '../ui/views/views.gyp:views', | |
662 ], | |
663 }], | |
664 ['os_posix == 1 and OS != "mac" and OS != "android"', { | |
665 'conditions': [ | |
666 ['linux_use_tcmalloc==1', { | |
667 'dependencies': [ | |
668 '../base/allocator/allocator.gyp:allocator', | |
669 ], | |
670 }], | |
671 ], | |
672 }], | |
673 ], | |
674 }, | |
675 { | |
676 'target_name': 'chromedriver', | |
677 'type': 'executable', | |
678 'dependencies': [ | |
679 'chromedriver_lib', | |
680 '../base/base.gyp:base', | |
681 '../skia/skia.gyp:skia', | |
682 '../testing/gtest.gyp:gtest', | |
683 ], | |
684 'include_dirs': [ | |
685 '..', | |
686 ], | |
687 'sources': [ | |
688 'test/webdriver/webdriver_server.cc', | |
689 ], | |
690 'conditions': [ | |
691 ['OS=="win"', { | |
692 'conditions': [ | |
693 ['win_use_allocator_shim==1', { | |
694 'dependencies': [ | |
695 '<(allocator_target)', | |
696 ], | |
697 }], | |
698 ], | |
699 'link_settings': { | |
700 'libraries': [ | |
701 '-lOleAcc.lib', | |
702 '-lws2_32.lib', | |
703 ], | |
704 }, | |
705 'configurations': { | |
706 'Debug': { | |
707 'msvs_settings': { | |
708 'VCLinkerTool': { | |
709 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | |
710 }, | |
711 }, | |
712 }, | |
713 }, | |
714 }], | |
715 ] | |
716 }, | |
717 { | |
718 'target_name': 'chromedriver_unittests', | |
719 'type': 'executable', | |
720 'dependencies': [ | |
721 'chromedriver_lib', | |
722 '../base/base.gyp:run_all_unittests', | |
723 '../base/base.gyp:test_support_base', | |
724 '../testing/gtest.gyp:gtest', | |
725 '../testing/perf/perf_test.gyp:*', | |
726 '../skia/skia.gyp:skia', | |
727 ], | |
728 'include_dirs': [ | |
729 '..', | |
730 ], | |
731 'sources': [ | |
732 'test/webdriver/commands/set_timeout_commands_unittest.cc', | |
733 'test/webdriver/frame_path_unittest.cc', | |
734 'test/webdriver/http_response_unittest.cc', | |
735 'test/webdriver/keycode_text_conversion_unittest.cc', | |
736 'test/webdriver/webdriver_capabilities_parser_unittest.cc', | |
737 'test/webdriver/webdriver_dispatch_unittest.cc', | |
738 'test/webdriver/webdriver_key_converter_unittest.cc', | |
739 'test/webdriver/webdriver_test_util.cc', | |
740 'test/webdriver/webdriver_test_util.h', | |
741 'test/webdriver/webdriver_util_unittest.cc', | |
742 ], | |
743 'conditions': [ | |
744 ['OS=="win"', { | |
745 'conditions': [ | |
746 ['win_use_allocator_shim==1', { | |
747 'dependencies': [ | |
748 '<(allocator_target)', | |
749 ], | |
750 }], | |
751 ], | |
752 'link_settings': { | |
753 'libraries': [ | |
754 '-lOleAcc.lib', | |
755 '-lws2_32.lib', | |
756 ], | |
757 }, | |
758 'configurations': { | |
759 'Debug': { | |
760 'msvs_settings': { | |
761 'VCLinkerTool': { | |
762 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | |
763 }, | |
764 }, | |
765 }, | |
766 }, | |
767 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
768 'msvs_disabled_warnings': [ 4267, ], | |
769 }], | |
770 ], | |
771 }, | |
772 { | |
773 'target_name': 'chrome_devtools_lib', | 507 'target_name': 'chrome_devtools_lib', |
774 'type': 'static_library', | 508 'type': 'static_library', |
775 'hard_dependency': 1, | 509 'hard_dependency': 1, |
776 'dependencies': [ | 510 'dependencies': [ |
777 '../base/base.gyp:base', | 511 '../base/base.gyp:base', |
778 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 512 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
779 '../net/net.gyp:net', | 513 '../net/net.gyp:net', |
780 '../third_party/zlib/zlib.gyp:minizip', | 514 '../third_party/zlib/zlib.gyp:minizip', |
781 '../third_party/zlib/zlib.gyp:zlib', | 515 '../third_party/zlib/zlib.gyp:zlib', |
782 '../ui/ui.gyp:ui', | 516 '../ui/ui.gyp:ui', |
(...skipping 2732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3515 'utility', | 3249 'utility', |
3516 ], | 3250 ], |
3517 'sources': [ | 3251 'sources': [ |
3518 'tools/service_discovery_sniffer/service_discovery_sniffer.h', | 3252 'tools/service_discovery_sniffer/service_discovery_sniffer.h', |
3519 'tools/service_discovery_sniffer/service_discovery_sniffer.cc', | 3253 'tools/service_discovery_sniffer/service_discovery_sniffer.cc', |
3520 ], | 3254 ], |
3521 }] | 3255 }] |
3522 }], | 3256 }], |
3523 ], # 'conditions' | 3257 ], # 'conditions' |
3524 } | 3258 } |
OLD | NEW |