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 'chromedriver_unittest_sources': [ |
| 7 'test/chromedriver/capabilities_unittest.cc', |
| 8 'test/chromedriver/chrome/chrome_finder_unittest.cc', |
| 9 'test/chromedriver/chrome/console_logger_unittest.cc', |
| 10 'test/chromedriver/chrome/device_manager_unittest.cc', |
| 11 'test/chromedriver/chrome/devtools_client_impl_unittest.cc', |
| 12 'test/chromedriver/chrome/devtools_http_client_unittest.cc', |
| 13 'test/chromedriver/chrome/dom_tracker_unittest.cc', |
| 14 'test/chromedriver/chrome/frame_tracker_unittest.cc', |
| 15 'test/chromedriver/chrome/geolocation_override_manager_unittest.cc', |
| 16 'test/chromedriver/chrome/heap_snapshot_taker_unittest.cc', |
| 17 'test/chromedriver/chrome/javascript_dialog_manager_unittest.cc', |
| 18 'test/chromedriver/chrome/navigation_tracker_unittest.cc', |
| 19 'test/chromedriver/chrome/performance_logger_unittest.cc', |
| 20 'test/chromedriver/chrome/status_unittest.cc', |
| 21 'test/chromedriver/chrome/stub_chrome.cc', |
| 22 'test/chromedriver/chrome/stub_chrome.h', |
| 23 'test/chromedriver/chrome/stub_devtools_client.cc', |
| 24 'test/chromedriver/chrome/stub_devtools_client.h', |
| 25 'test/chromedriver/chrome/stub_web_view.cc', |
| 26 'test/chromedriver/chrome/stub_web_view.h', |
| 27 'test/chromedriver/chrome/web_view_impl_unittest.cc', |
| 28 'test/chromedriver/chrome_launcher_unittest.cc', |
| 29 'test/chromedriver/commands_unittest.cc', |
| 30 'test/chromedriver/logging_unittest.cc', |
| 31 'test/chromedriver/server/http_handler_unittest.cc', |
| 32 'test/chromedriver/session_commands_unittest.cc', |
| 33 'test/chromedriver/session_unittest.cc', |
| 34 'test/chromedriver/util_unittest.cc', |
| 35 ], |
| 36 'chromedriver_test_sources': [ |
| 37 'test/chromedriver/key_converter_unittest.cc', |
| 38 'test/chromedriver/keycode_text_conversion_unittest.cc', |
| 39 'test/chromedriver/net/net_util_unittest.cc', |
| 40 'test/chromedriver/net/sync_websocket_impl_unittest.cc', |
| 41 'test/chromedriver/net/test_http_server.cc', |
| 42 'test/chromedriver/net/test_http_server.h', |
| 43 'test/chromedriver/net/websocket_unittest.cc', |
| 44 'test/chromedriver/test_util.cc', |
| 45 'test/chromedriver/test_util.h', |
| 46 ], |
6 'pyautolib_sources': [ | 47 'pyautolib_sources': [ |
7 'app/chrome_command_ids.h', | 48 'app/chrome_command_ids.h', |
8 'app/chrome_dll_resource.h', | 49 'app/chrome_dll_resource.h', |
9 'common/automation_constants.h', | 50 'common/automation_constants.h', |
10 'common/pref_names.cc', | 51 'common/pref_names.cc', |
11 'common/pref_names.h', | 52 'common/pref_names.h', |
12 'test/automation/browser_proxy.cc', | 53 'test/automation/browser_proxy.cc', |
13 'test/automation/browser_proxy.h', | 54 'test/automation/browser_proxy.h', |
14 'test/automation/tab_proxy.cc', | 55 'test/automation/tab_proxy.cc', |
15 'test/automation/tab_proxy.h', | 56 'test/automation/tab_proxy.h', |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
498 'msvs_disabled_warnings': [ 4267, ], | 539 'msvs_disabled_warnings': [ 4267, ], |
499 }, { # else: OS != "win" | 540 }, { # else: OS != "win" |
500 'sources!': [ | 541 'sources!': [ |
501 'browser/ui/views/ssl_client_certificate_selector_browsertest.cc', | 542 'browser/ui/views/ssl_client_certificate_selector_browsertest.cc', |
502 'browser/ui/views/native_widget_win_interactive_uitest.cc', | 543 'browser/ui/views/native_widget_win_interactive_uitest.cc', |
503 ], | 544 ], |
504 }], # OS != "win" | 545 }], # OS != "win" |
505 ], # conditions | 546 ], # conditions |
506 }, | 547 }, |
507 { | 548 { |
508 'target_name': 'chrome_devtools_lib', | 549 'target_name': 'automation_client_lib', |
509 'type': 'static_library', | 550 'type': 'static_library', |
510 'hard_dependency': 1, | 551 'hard_dependency': 1, |
511 'dependencies': [ | 552 'dependencies': [ |
512 '../base/base.gyp:base', | 553 '../base/base.gyp:base', |
513 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 554 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
514 '../net/net.gyp:net', | 555 '../net/net.gyp:net', |
515 '../third_party/zlib/zlib.gyp:minizip', | 556 '../third_party/zlib/zlib.gyp:minizip', |
516 '../third_party/zlib/zlib.gyp:zlib', | 557 '../third_party/zlib/zlib.gyp:zlib', |
517 '../ui/ui.gyp:ui', | 558 '../ui/ui.gyp:ui', |
518 '../url/url.gyp:url_lib', | 559 '../url/url.gyp:url_lib', |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
680 '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrom
e', | 721 '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrom
e', |
681 'test/chromedriver/extension/background.js', | 722 'test/chromedriver/extension/background.js', |
682 'test/chromedriver/extension/manifest.json', | 723 'test/chromedriver/extension/manifest.json', |
683 ], | 724 ], |
684 'message': 'Generating sources for embedding automation extension', | 725 'message': 'Generating sources for embedding automation extension', |
685 }, | 726 }, |
686 ], | 727 ], |
687 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 728 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
688 'msvs_disabled_warnings': [ 4267, ], | 729 'msvs_disabled_warnings': [ 4267, ], |
689 }, | 730 }, |
690 # This is the new ChromeDriver based on DevTools. | |
691 { | 731 { |
692 'target_name': 'chromedriver2_lib', | 732 'target_name': 'chromedriver_lib', |
693 'type': 'static_library', | 733 'type': 'static_library', |
694 'hard_dependency': 1, | 734 'hard_dependency': 1, |
695 'dependencies': [ | 735 'dependencies': [ |
696 'chrome_devtools_lib', | 736 'automation_client_lib', |
697 '../base/base.gyp:base', | 737 '../base/base.gyp:base', |
698 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 738 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
699 '../crypto/crypto.gyp:crypto', | 739 '../crypto/crypto.gyp:crypto', |
700 '../net/net.gyp:http_server', | 740 '../net/net.gyp:http_server', |
701 '../net/net.gyp:net', | 741 '../net/net.gyp:net', |
702 '../ui/ui.gyp:ui', | 742 '../ui/ui.gyp:ui', |
703 ], | 743 ], |
704 'include_dirs': [ | 744 'include_dirs': [ |
705 '..', | 745 '..', |
706 ], | 746 ], |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
767 }, | 807 }, |
768 ], | 808 ], |
769 'direct_dependent_settings': { | 809 'direct_dependent_settings': { |
770 'include_dirs': [ | 810 'include_dirs': [ |
771 '<(SHARED_INTERMEDIATE_DIR)', | 811 '<(SHARED_INTERMEDIATE_DIR)', |
772 ], | 812 ], |
773 }, | 813 }, |
774 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 814 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
775 'msvs_disabled_warnings': [ 4267, ], | 815 'msvs_disabled_warnings': [ 4267, ], |
776 }, | 816 }, |
777 # TODO(kkania): Remove this in favor of 'chromedriver' target right below. | |
778 { | 817 { |
779 'target_name': 'chromedriver2_server', | 818 'target_name': 'chromedriver', |
780 'type': 'executable', | 819 'type': 'executable', |
781 'dependencies': [ | 820 'dependencies': [ |
782 'chromedriver2_lib', | 821 'chromedriver_lib', |
783 ], | 822 ], |
784 'include_dirs': [ | 823 'include_dirs': [ |
785 '..', | 824 '..', |
786 ], | 825 ], |
787 'sources': [ | 826 'sources': [ |
788 'test/chromedriver/server/chromedriver_server.cc', | 827 'test/chromedriver/server/chromedriver_server.cc', |
789 ], | 828 ], |
790 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 829 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
791 'msvs_disabled_warnings': [ 4267, ], | 830 'msvs_disabled_warnings': [ 4267, ], |
792 }, | 831 }, |
793 { | 832 { |
794 'target_name': 'chromedriver', | 833 'target_name': 'chromedriver_unittests', |
795 'type': 'executable', | 834 'type': 'executable', |
796 'dependencies': [ | 835 'dependencies': [ |
797 'chromedriver2_lib', | 836 'chromedriver_lib', |
| 837 '../base/base.gyp:base', |
| 838 '../base/base.gyp:run_all_unittests', |
| 839 '../net/net.gyp:http_server', |
| 840 '../net/net.gyp:net', |
| 841 '../testing/gtest.gyp:gtest', |
| 842 '../ui/ui.gyp:ui', |
798 ], | 843 ], |
799 'include_dirs': [ | 844 'include_dirs': [ |
800 '..', | 845 '..,' |
801 ], | 846 ], |
802 'sources': [ | 847 'sources': [ |
803 'test/chromedriver/server/chromedriver_server.cc', | 848 '<@(chromedriver_unittest_sources)', |
804 ], | 849 ], |
805 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 850 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
806 'msvs_disabled_warnings': [ 4267, ], | 851 'msvs_disabled_warnings': [ 4267, ], |
807 }, | 852 }, |
| 853 # TODO(kkania): Remove when infra no longer references this. |
808 { | 854 { |
809 'target_name': 'chromedriver2_unittests', | 855 'target_name': 'chromedriver2_unittests', |
810 'type': 'executable', | 856 'type': 'executable', |
811 'dependencies': [ | 857 'dependencies': [ |
812 'chromedriver2_lib', | 858 'chromedriver_lib', |
813 '../base/base.gyp:base', | 859 '../base/base.gyp:base', |
814 '../base/base.gyp:run_all_unittests', | 860 '../base/base.gyp:run_all_unittests', |
815 '../net/net.gyp:http_server', | 861 '../net/net.gyp:http_server', |
816 '../net/net.gyp:net', | 862 '../net/net.gyp:net', |
817 '../testing/gtest.gyp:gtest', | 863 '../testing/gtest.gyp:gtest', |
818 '../ui/ui.gyp:ui', | 864 '../ui/ui.gyp:ui', |
819 ], | 865 ], |
| 866 'include_dirs': [ |
| 867 '..,' |
| 868 ], |
820 'sources': [ | 869 'sources': [ |
821 'test/chromedriver/capabilities_unittest.cc', | 870 '<@(chromedriver_unittest_sources)', |
822 'test/chromedriver/chrome/chrome_finder_unittest.cc', | |
823 'test/chromedriver/chrome/console_logger_unittest.cc', | |
824 'test/chromedriver/chrome/device_manager_unittest.cc', | |
825 'test/chromedriver/chrome/devtools_client_impl_unittest.cc', | |
826 'test/chromedriver/chrome/devtools_http_client_unittest.cc', | |
827 'test/chromedriver/chrome/dom_tracker_unittest.cc', | |
828 'test/chromedriver/chrome/frame_tracker_unittest.cc', | |
829 'test/chromedriver/chrome/geolocation_override_manager_unittest.cc', | |
830 'test/chromedriver/chrome/heap_snapshot_taker_unittest.cc', | |
831 'test/chromedriver/chrome/javascript_dialog_manager_unittest.cc', | |
832 'test/chromedriver/chrome/navigation_tracker_unittest.cc', | |
833 'test/chromedriver/chrome/performance_logger_unittest.cc', | |
834 'test/chromedriver/chrome/status_unittest.cc', | |
835 'test/chromedriver/chrome/stub_chrome.cc', | |
836 'test/chromedriver/chrome/stub_chrome.h', | |
837 'test/chromedriver/chrome/stub_devtools_client.cc', | |
838 'test/chromedriver/chrome/stub_devtools_client.h', | |
839 'test/chromedriver/chrome/stub_web_view.cc', | |
840 'test/chromedriver/chrome/stub_web_view.h', | |
841 'test/chromedriver/chrome/web_view_impl_unittest.cc', | |
842 'test/chromedriver/chrome_launcher_unittest.cc', | |
843 'test/chromedriver/commands_unittest.cc', | |
844 'test/chromedriver/logging_unittest.cc', | |
845 'test/chromedriver/server/http_handler_unittest.cc', | |
846 'test/chromedriver/session_commands_unittest.cc', | |
847 'test/chromedriver/session_unittest.cc', | |
848 'test/chromedriver/util_unittest.cc', | |
849 ], | 871 ], |
850 'conditions': [ | 872 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
851 # See http://crbug.com/162998#c4 for why this is needed. | 873 'msvs_disabled_warnings': [ 4267, ], |
852 ['OS=="linux" and linux_use_tcmalloc==1', { | |
853 'dependencies': [ | |
854 '../base/allocator/allocator.gyp:allocator', | |
855 ], | |
856 }], | |
857 ], | |
858 }, | 874 }, |
859 # ChromeDriver2 tests that aren't run on the main buildbot. Available | 875 # ChromeDriver2 tests that aren't run on the main buildbot. Available |
860 # as an optional test type on trybots. | 876 # as an optional test type on trybots. |
861 { | 877 { |
| 878 'target_name': 'chromedriver_tests', |
| 879 'type': 'executable', |
| 880 'dependencies': [ |
| 881 'chromedriver_lib', |
| 882 '../base/base.gyp:base', |
| 883 '../base/base.gyp:run_all_unittests', |
| 884 '../net/net.gyp:http_server', |
| 885 '../net/net.gyp:net', |
| 886 '../net/net.gyp:net_test_support', |
| 887 '../testing/gtest.gyp:gtest', |
| 888 '../url/url.gyp:url_lib', |
| 889 ], |
| 890 'include_dirs': [ |
| 891 '..,' |
| 892 ], |
| 893 'sources': [ |
| 894 '<@(chromedriver_test_sources)', |
| 895 ], |
| 896 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 897 'msvs_disabled_warnings': [ 4267, ], |
| 898 }, |
| 899 # TODO(kkania): Remove when infra no longer references this. |
| 900 { |
862 'target_name': 'chromedriver2_tests', | 901 'target_name': 'chromedriver2_tests', |
863 'type': 'executable', | 902 'type': 'executable', |
864 'dependencies': [ | 903 'dependencies': [ |
| 904 'chromedriver_lib', |
865 '../base/base.gyp:base', | 905 '../base/base.gyp:base', |
866 '../base/base.gyp:run_all_unittests', | 906 '../base/base.gyp:run_all_unittests', |
867 '../net/net.gyp:http_server', | 907 '../net/net.gyp:http_server', |
868 '../net/net.gyp:net', | 908 '../net/net.gyp:net', |
869 '../net/net.gyp:net_test_support', | 909 '../net/net.gyp:net_test_support', |
870 '../testing/gtest.gyp:gtest', | 910 '../testing/gtest.gyp:gtest', |
871 '../url/url.gyp:url_lib', | 911 '../url/url.gyp:url_lib', |
872 'chromedriver2_lib', | |
873 ], | 912 ], |
874 'include_dirs': [ | 913 'include_dirs': [ |
875 '..,' | 914 '..,' |
876 ], | 915 ], |
877 'sources': [ | 916 'sources': [ |
878 'test/chromedriver/key_converter_unittest.cc', | 917 '<@(chromedriver_test_sources)', |
879 'test/chromedriver/keycode_text_conversion_unittest.cc', | |
880 'test/chromedriver/net/net_util_unittest.cc', | |
881 'test/chromedriver/net/sync_websocket_impl_unittest.cc', | |
882 'test/chromedriver/net/test_http_server.cc', | |
883 'test/chromedriver/net/test_http_server.h', | |
884 'test/chromedriver/net/websocket_unittest.cc', | |
885 'test/chromedriver/test_util.cc', | |
886 'test/chromedriver/test_util.h', | |
887 ], | 918 ], |
888 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 919 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
889 'msvs_disabled_warnings': [ 4267, ], | 920 'msvs_disabled_warnings': [ 4267, ], |
890 }, | 921 }, |
891 { | 922 { |
892 # Executable that runs each browser test in a new process. | 923 # Executable that runs each browser test in a new process. |
893 'target_name': 'browser_tests', | 924 'target_name': 'browser_tests', |
894 'type': 'executable', | 925 'type': 'executable', |
895 'msvs_cygwin_shell': 0, | 926 'msvs_cygwin_shell': 0, |
896 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], | 927 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], |
(...skipping 2368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3265 'utility', | 3296 'utility', |
3266 ], | 3297 ], |
3267 'sources': [ | 3298 'sources': [ |
3268 'tools/service_discovery_sniffer/service_discovery_sniffer.h', | 3299 'tools/service_discovery_sniffer/service_discovery_sniffer.h', |
3269 'tools/service_discovery_sniffer/service_discovery_sniffer.cc', | 3300 'tools/service_discovery_sniffer/service_discovery_sniffer.cc', |
3270 ], | 3301 ], |
3271 }] | 3302 }] |
3272 }], | 3303 }], |
3273 ], # 'conditions' | 3304 ], # 'conditions' |
3274 } | 3305 } |
OLD | NEW |