Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(200)

Side by Side Diff: chrome/chrome_tests.gypi

Issue 7522024: Refactor chromedriver's script execution to reduce amount of custom Value parsing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/test/automation/javascript_message_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'variables' : { 6 'variables' : {
7 'pyautolib_sources': [ 7 'pyautolib_sources': [
8 'app/chrome_command_ids.h', 8 'app/chrome_command_ids.h',
9 'app/chrome_dll_resource.h', 9 'app/chrome_dll_resource.h',
10 'common/automation_constants.h', 10 'common/automation_constants.h',
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 'test/automation/browser_proxy.h', 139 'test/automation/browser_proxy.h',
140 'test/automation/dom_element_proxy.cc', 140 'test/automation/dom_element_proxy.cc',
141 'test/automation/dom_element_proxy.h', 141 'test/automation/dom_element_proxy.h',
142 'test/automation/extension_proxy.cc', 142 'test/automation/extension_proxy.cc',
143 'test/automation/extension_proxy.h', 143 'test/automation/extension_proxy.h',
144 'test/automation/javascript_execution_controller.cc', 144 'test/automation/javascript_execution_controller.cc',
145 'test/automation/javascript_execution_controller.h', 145 'test/automation/javascript_execution_controller.h',
146 'test/automation/javascript_message_utils.h', 146 'test/automation/javascript_message_utils.h',
147 'test/automation/tab_proxy.cc', 147 'test/automation/tab_proxy.cc',
148 'test/automation/tab_proxy.h', 148 'test/automation/tab_proxy.h',
149 'test/automation/value_conversion_traits.cc',
150 'test/automation/value_conversion_traits.h',
151 'test/automation/value_conversion_util.h',
149 'test/automation/window_proxy.cc', 152 'test/automation/window_proxy.cc',
150 'test/automation/window_proxy.h', 153 'test/automation/window_proxy.h',
151 'test/base/bookmark_load_observer.cc', 154 'test/base/bookmark_load_observer.cc',
152 'test/base/bookmark_load_observer.h', 155 'test/base/bookmark_load_observer.h',
153 'test/base/chrome_process_util.cc', 156 'test/base/chrome_process_util.cc',
154 'test/base/chrome_process_util.h', 157 'test/base/chrome_process_util.h',
155 'test/base/chrome_process_util_mac.cc', 158 'test/base/chrome_process_util_mac.cc',
156 'test/base/chrome_test_suite.cc', 159 'test/base/chrome_test_suite.cc',
157 'test/base/chrome_test_suite.h', 160 'test/base/chrome_test_suite.h',
158 'test/base/in_process_browser_test.cc', 161 'test/base/in_process_browser_test.cc',
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 }], 814 }],
812 ['chromeos==1', { 815 ['chromeos==1', {
813 'sources!': [ 816 'sources!': [
814 # TODO(thestig): Enable when print preview is ready for CrOS. 817 # TODO(thestig): Enable when print preview is ready for CrOS.
815 'browser/ui/webui/print_preview_ui_uitest.cc', 818 'browser/ui/webui/print_preview_ui_uitest.cc',
816 ], 819 ],
817 }], 820 }],
818 ], 821 ],
819 }, 822 },
820 { 823 {
824 # Third-party support sources for chromedriver_lib.
825 'target_name': 'chromedriver_support',
826 'type': 'static_library',
827 'sources': [
828 '../third_party/mongoose/mongoose.c',
829 '../third_party/mongoose/mongoose.h',
830 '../third_party/webdriver/atoms.h',
831 ],
832 },
833 {
821 # chromedriver is the chromium impelmentation of the WebDriver 834 # chromedriver is the chromium impelmentation of the WebDriver
822 # wire protcol. A description of the WebDriver and examples can 835 # wire protcol. A description of the WebDriver and examples can
823 # be found at: http://seleniumhq.org/docs/09_webdriver.html. 836 # be found at: http://seleniumhq.org/docs/09_webdriver.html.
824 # The documention of the protocol implemented is at: 837 # The documention of the protocol implemented is at:
825 # http://code.google.com/p/selenium/wiki/JsonWireProtocol 838 # http://code.google.com/p/selenium/wiki/JsonWireProtocol
826 'target_name': 'chromedriver_lib', 839 'target_name': 'chromedriver_lib',
827 'type': 'static_library', 840 'type': 'static_library',
828 'dependencies': [ 841 'dependencies': [
829 'browser', 842 'browser',
830 'chrome', 843 'chrome',
831 'chrome_resources', 844 'chrome_resources',
832 'chrome_strings', 845 'chrome_strings',
846 'chromedriver_support',
833 'common', 847 'common',
834 'syncapi_core', 848 'syncapi_core',
835 'test_support_ui', 849 'test_support_ui',
836 '../base/base.gyp:base', 850 '../base/base.gyp:base',
837 '../build/temp_gyp/googleurl.gyp:googleurl', 851 '../build/temp_gyp/googleurl.gyp:googleurl',
838 '../net/net.gyp:net', 852 '../net/net.gyp:net',
839 '../skia/skia.gyp:skia', 853 '../skia/skia.gyp:skia',
840 '../testing/gtest.gyp:gtest', 854 '../testing/gtest.gyp:gtest',
841 '../third_party/icu/icu.gyp:icui18n', 855 '../third_party/icu/icu.gyp:icui18n',
842 '../third_party/icu/icu.gyp:icuuc', 856 '../third_party/icu/icu.gyp:icuuc',
843 '../third_party/libxml/libxml.gyp:libxml', 857 '../third_party/libxml/libxml.gyp:libxml',
844 ], 858 ],
845 'include_dirs': [ 859 'include_dirs': [
846 '..', 860 '..',
847 ], 861 ],
848 'sources': [ 862 'sources': [
849 '../third_party/mongoose/mongoose.h', 863 'test/webdriver/automation.cc',
850 '../third_party/mongoose/mongoose.c',
851 '../third_party/webdriver/atoms.h',
852 'test/webdriver/automation.h', 864 'test/webdriver/automation.h',
853 'test/webdriver/automation.cc', 865 'test/webdriver/commands/alert_commands.cc',
866 'test/webdriver/commands/alert_commands.h',
867 'test/webdriver/commands/appcache_status_command.cc',
868 'test/webdriver/commands/appcache_status_command.h',
869 'test/webdriver/commands/browser_connection_commands.cc',
870 'test/webdriver/commands/browser_connection_commands.h',
871 'test/webdriver/commands/command.cc',
872 'test/webdriver/commands/command.h',
873 'test/webdriver/commands/cookie_commands.cc',
874 'test/webdriver/commands/cookie_commands.h',
875 'test/webdriver/commands/create_session.cc',
876 'test/webdriver/commands/create_session.h',
877 'test/webdriver/commands/execute_async_script_command.cc',
878 'test/webdriver/commands/execute_async_script_command.h',
879 'test/webdriver/commands/execute_command.cc',
880 'test/webdriver/commands/execute_command.h',
881 'test/webdriver/commands/find_element_commands.cc',
882 'test/webdriver/commands/find_element_commands.h',
883 'test/webdriver/commands/navigate_commands.cc',
884 'test/webdriver/commands/navigate_commands.h',
885 'test/webdriver/commands/mouse_commands.cc',
886 'test/webdriver/commands/mouse_commands.h',
887 'test/webdriver/commands/response.h',
888 'test/webdriver/commands/response.cc',
889 'test/webdriver/commands/screenshot_command.cc',
890 'test/webdriver/commands/screenshot_command.h',
891 'test/webdriver/commands/session_with_id.cc',
892 'test/webdriver/commands/session_with_id.h',
893 'test/webdriver/commands/set_timeout_commands.cc',
894 'test/webdriver/commands/set_timeout_commands.h',
895 'test/webdriver/commands/source_command.cc',
896 'test/webdriver/commands/source_command.h',
897 'test/webdriver/commands/target_locator_commands.cc',
898 'test/webdriver/commands/target_locator_commands.h',
899 'test/webdriver/commands/title_command.cc',
900 'test/webdriver/commands/title_command.h',
901 'test/webdriver/commands/url_command.cc',
902 'test/webdriver/commands/url_command.h',
903 'test/webdriver/commands/webdriver_command.cc',
904 'test/webdriver/commands/webdriver_command.h',
905 'test/webdriver/commands/webelement_commands.cc',
906 'test/webdriver/commands/webelement_commands.h',
907 'test/webdriver/dispatch.cc',
854 'test/webdriver/dispatch.h', 908 'test/webdriver/dispatch.h',
855 'test/webdriver/dispatch.cc', 909 'test/webdriver/frame_path.cc',
856 'test/webdriver/frame_path.h', 910 'test/webdriver/frame_path.h',
857 'test/webdriver/frame_path.cc', 911 'test/webdriver/http_response.cc',
858 'test/webdriver/http_response.h', 912 'test/webdriver/http_response.h',
859 'test/webdriver/http_response.cc',
860 'test/webdriver/keycode_text_conversion.h', 913 'test/webdriver/keycode_text_conversion.h',
861 'test/webdriver/keycode_text_conversion_linux.cc', 914 'test/webdriver/keycode_text_conversion_linux.cc',
862 'test/webdriver/keycode_text_conversion_mac.mm', 915 'test/webdriver/keycode_text_conversion_mac.mm',
863 'test/webdriver/keycode_text_conversion_win.cc', 916 'test/webdriver/keycode_text_conversion_win.cc',
917 'test/webdriver/keymap.cc',
864 'test/webdriver/keymap.h', 918 'test/webdriver/keymap.h',
865 'test/webdriver/keymap.cc', 919 'test/webdriver/session.cc',
866 'test/webdriver/session.h', 920 'test/webdriver/session.h',
867 'test/webdriver/session.cc', 921 'test/webdriver/session_manager.cc',
868 'test/webdriver/session_manager.h', 922 'test/webdriver/session_manager.h',
869 'test/webdriver/session_manager.cc', 923 'test/webdriver/webdriver_basic_types.cc',
870 'test/webdriver/utility_functions.h', 924 'test/webdriver/webdriver_basic_types.h',
871 'test/webdriver/utility_functions.cc', 925 'test/webdriver/webdriver_error.cc',
872 'test/webdriver/utility_functions_mac.mm',
873 'test/webdriver/webdriver_error.h', 926 'test/webdriver/webdriver_error.h',
874 'test/webdriver/webdriver_error.cc', 927 'test/webdriver/webdriver_key_converter.cc',
928 'test/webdriver/webdriver_key_converter.h',
929 'test/webdriver/webdriver_logging.cc',
875 'test/webdriver/webdriver_logging.h', 930 'test/webdriver/webdriver_logging.h',
876 'test/webdriver/webdriver_logging.cc', 931 'test/webdriver/webdriver_util.cc',
877 'test/webdriver/webdriver_key_converter.h', 932 'test/webdriver/webdriver_util.h',
878 'test/webdriver/webdriver_key_converter.cc', 933 'test/webdriver/webdriver_util_mac.mm',
934 'test/webdriver/web_element_id.cc',
879 'test/webdriver/web_element_id.h', 935 'test/webdriver/web_element_id.h',
880 'test/webdriver/web_element_id.cc',
881 'test/webdriver/commands/alert_commands.h',
882 'test/webdriver/commands/alert_commands.cc',
883 'test/webdriver/commands/appcache_status_command.h',
884 'test/webdriver/commands/appcache_status_command.cc',
885 'test/webdriver/commands/browser_connection_commands.h',
886 'test/webdriver/commands/browser_connection_commands.cc',
887 'test/webdriver/commands/command.h',
888 'test/webdriver/commands/command.cc',
889 'test/webdriver/commands/cookie_commands.h',
890 'test/webdriver/commands/cookie_commands.cc',
891 'test/webdriver/commands/create_session.h',
892 'test/webdriver/commands/create_session.cc',
893 'test/webdriver/commands/execute_async_script_command.h',
894 'test/webdriver/commands/execute_async_script_command.cc',
895 'test/webdriver/commands/execute_command.h',
896 'test/webdriver/commands/execute_command.cc',
897 'test/webdriver/commands/find_element_commands.h',
898 'test/webdriver/commands/find_element_commands.cc',
899 'test/webdriver/commands/navigate_commands.h',
900 'test/webdriver/commands/navigate_commands.cc',
901 'test/webdriver/commands/mouse_commands.h',
902 'test/webdriver/commands/mouse_commands.cc',
903 'test/webdriver/commands/response.cc',
904 'test/webdriver/commands/response.h',
905 'test/webdriver/commands/screenshot_command.h',
906 'test/webdriver/commands/screenshot_command.cc',
907 'test/webdriver/commands/session_with_id.h',
908 'test/webdriver/commands/session_with_id.cc',
909 'test/webdriver/commands/set_timeout_commands.h',
910 'test/webdriver/commands/set_timeout_commands.cc',
911 'test/webdriver/commands/source_command.h',
912 'test/webdriver/commands/source_command.cc',
913 'test/webdriver/commands/target_locator_commands.h',
914 'test/webdriver/commands/target_locator_commands.cc',
915 'test/webdriver/commands/title_command.h',
916 'test/webdriver/commands/title_command.cc',
917 'test/webdriver/commands/url_command.h',
918 'test/webdriver/commands/url_command.cc',
919 'test/webdriver/commands/webdriver_command.h',
920 'test/webdriver/commands/webdriver_command.cc',
921 'test/webdriver/commands/webelement_commands.h',
922 'test/webdriver/commands/webelement_commands.cc',
923 ], 936 ],
924 'conditions': [ 937 'conditions': [
925 ['toolkit_uses_gtk == 1', { 938 ['toolkit_uses_gtk == 1', {
926 'dependencies': [ 939 'dependencies': [
927 '../build/linux/system.gyp:gtk', 940 '../build/linux/system.gyp:gtk',
928 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 941 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
929 ], 942 ],
930 }], 943 }],
931 ['OS=="linux" and toolkit_views==1', { 944 ['OS=="linux" and toolkit_views==1', {
932 'dependencies': [ 945 'dependencies': [
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
998 'include_dirs': [ 1011 'include_dirs': [
999 '..', 1012 '..',
1000 ], 1013 ],
1001 'sources': [ 1014 'sources': [
1002 '../base/test/run_all_unittests.cc', 1015 '../base/test/run_all_unittests.cc',
1003 'test/webdriver/commands/set_timeout_commands_unittest.cc', 1016 'test/webdriver/commands/set_timeout_commands_unittest.cc',
1004 'test/webdriver/dispatch_unittest.cc', 1017 'test/webdriver/dispatch_unittest.cc',
1005 'test/webdriver/frame_path_unittest.cc', 1018 'test/webdriver/frame_path_unittest.cc',
1006 'test/webdriver/http_response_unittest.cc', 1019 'test/webdriver/http_response_unittest.cc',
1007 'test/webdriver/keycode_text_conversion_unittest.cc', 1020 'test/webdriver/keycode_text_conversion_unittest.cc',
1008 'test/webdriver/utility_functions_unittest.cc',
1009 'test/webdriver/webdriver_key_converter_unittest.cc', 1021 'test/webdriver/webdriver_key_converter_unittest.cc',
1010 'test/webdriver/webdriver_test_util.cc', 1022 'test/webdriver/webdriver_test_util.cc',
1011 'test/webdriver/webdriver_test_util.h', 1023 'test/webdriver/webdriver_test_util.h',
1024 'test/webdriver/webdriver_util_unittest.cc',
1012 ], 1025 ],
1013 'conditions': [ 1026 'conditions': [
1014 ['OS=="win"', { 1027 ['OS=="win"', {
1015 'conditions': [ 1028 'conditions': [
1016 ['win_use_allocator_shim==1', { 1029 ['win_use_allocator_shim==1', {
1017 'dependencies': [ 1030 'dependencies': [
1018 '<(allocator_target)', 1031 '<(allocator_target)',
1019 ], 1032 ],
1020 }], 1033 }],
1021 ], 1034 ],
(...skipping 3115 matching lines...) Expand 10 before | Expand all | Expand 10 after
4137 # Use outputs of this action as inputs for the main target build. 4150 # Use outputs of this action as inputs for the main target build.
4138 # Seems as a misnomer but makes this happy on Linux (scons). 4151 # Seems as a misnomer but makes this happy on Linux (scons).
4139 'process_outputs_as_sources': 1, 4152 'process_outputs_as_sources': 1,
4140 }, 4153 },
4141 ], # 'actions' 4154 ], # 'actions'
4142 }, 4155 },
4143 ] 4156 ]
4144 }], # 'coverage!=0' 4157 }], # 'coverage!=0'
4145 ], # 'conditions' 4158 ], # 'conditions'
4146 } 4159 }
OLDNEW
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/test/automation/javascript_message_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698