| OLD | NEW |
| 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 # Variables for js2gtest rules | |
| 8 'gypv8sh': '../tools/gypv8sh.py', | |
| 9 'js2gtest': 'test/base/js2gtest.js', | |
| 10 'js2gtest_out_dir': '<(SHARED_INTERMEDIATE_DIR)/js2gtest', | |
| 11 'mock_js': 'third_party/mock4js/mock4js.js', | |
| 12 'test_api_js': 'test/data/webui/test_api.js', | |
| 13 | |
| 14 'pyautolib_sources': [ | 7 'pyautolib_sources': [ |
| 15 'app/chrome_command_ids.h', | 8 'app/chrome_command_ids.h', |
| 16 'app/chrome_dll_resource.h', | 9 'app/chrome_dll_resource.h', |
| 17 'common/automation_constants.h', | 10 'common/automation_constants.h', |
| 18 'common/pref_names.cc', | 11 'common/pref_names.cc', |
| 19 'common/pref_names.h', | 12 'common/pref_names.h', |
| 20 'test/automation/browser_proxy.cc', | 13 'test/automation/browser_proxy.cc', |
| 21 'test/automation/browser_proxy.h', | 14 'test/automation/browser_proxy.h', |
| 22 'test/automation/tab_proxy.cc', | 15 'test/automation/tab_proxy.cc', |
| 23 'test/automation/tab_proxy.h', | 16 'test/automation/tab_proxy.h', |
| (...skipping 1913 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1937 'service/service_process_unittest.cc', | 1930 'service/service_process_unittest.cc', |
| 1938 'test/base/browser_with_test_window_test.cc', | 1931 'test/base/browser_with_test_window_test.cc', |
| 1939 'test/base/browser_with_test_window_test.h', | 1932 'test/base/browser_with_test_window_test.h', |
| 1940 'test/base/chrome_render_view_test.cc', | 1933 'test/base/chrome_render_view_test.cc', |
| 1941 'test/base/chrome_render_view_test.h', | 1934 'test/base/chrome_render_view_test.h', |
| 1942 'test/base/menu_model_test.cc', | 1935 'test/base/menu_model_test.cc', |
| 1943 'test/base/menu_model_test.h', | 1936 'test/base/menu_model_test.h', |
| 1944 'test/base/v8_unit_test.cc', | 1937 'test/base/v8_unit_test.cc', |
| 1945 'test/base/v8_unit_test.h', | 1938 'test/base/v8_unit_test.h', |
| 1946 'test/data/resource.rc', | 1939 'test/data/resource.rc', |
| 1947 'test/data/unit/framework_unittest.js', | |
| 1948 'tools/convert_dict/convert_dict_unittest.cc', | 1940 'tools/convert_dict/convert_dict_unittest.cc', |
| 1949 '../content/browser/renderer_host/render_widget_host_unittest.cc', | 1941 '../content/browser/renderer_host/render_widget_host_unittest.cc', |
| 1950 '../content/browser/renderer_host/text_input_client_mac_unittest.mm', | 1942 '../content/browser/renderer_host/text_input_client_mac_unittest.mm', |
| 1951 '../content/browser/tab_contents/navigation_controller_unittest.cc', | 1943 '../content/browser/tab_contents/navigation_controller_unittest.cc', |
| 1952 '../content/browser/tab_contents/render_view_host_manager_unittest.cc', | 1944 '../content/browser/tab_contents/render_view_host_manager_unittest.cc', |
| 1953 '../content/common/sandbox_mac_diraccess_unittest.mm', | 1945 '../content/common/sandbox_mac_diraccess_unittest.mm', |
| 1954 '../content/common/sandbox_mac_fontloading_unittest.mm', | 1946 '../content/common/sandbox_mac_fontloading_unittest.mm', |
| 1955 '../content/common/sandbox_mac_unittest_helper.h', | 1947 '../content/common/sandbox_mac_unittest_helper.h', |
| 1956 '../content/common/sandbox_mac_unittest_helper.mm', | 1948 '../content/common/sandbox_mac_unittest_helper.mm', |
| 1957 '../content/common/sandbox_mac_system_access_unittest.mm', | 1949 '../content/common/sandbox_mac_system_access_unittest.mm', |
| 1958 '../testing/gtest_mac_unittest.mm', | 1950 '../testing/gtest_mac_unittest.mm', |
| 1959 '../third_party/cld/encodings/compact_lang_det/compact_lang_det_unittest
_small.cc', | 1951 '../third_party/cld/encodings/compact_lang_det/compact_lang_det_unittest
_small.cc', |
| 1960 '../webkit/fileapi/file_system_dir_url_request_job_unittest.cc', | 1952 '../webkit/fileapi/file_system_dir_url_request_job_unittest.cc', |
| 1961 '../webkit/fileapi/file_system_operation_write_unittest.cc', | 1953 '../webkit/fileapi/file_system_operation_write_unittest.cc', |
| 1962 '../webkit/fileapi/file_system_url_request_job_unittest.cc', | 1954 '../webkit/fileapi/file_system_url_request_job_unittest.cc', |
| 1963 '../webkit/fileapi/file_writer_delegate_unittest.cc', | 1955 '../webkit/fileapi/file_writer_delegate_unittest.cc', |
| 1964 '../webkit/fileapi/file_system_test_helper.cc', | 1956 '../webkit/fileapi/file_system_test_helper.cc', |
| 1965 '../webkit/fileapi/file_system_test_helper.h', | 1957 '../webkit/fileapi/file_system_test_helper.h', |
| 1966 '../webkit/quota/mock_storage_client.cc', | 1958 '../webkit/quota/mock_storage_client.cc', |
| 1967 '../webkit/quota/mock_storage_client.h', | 1959 '../webkit/quota/mock_storage_client.h', |
| 1968 ], | 1960 ], |
| 1969 'rules': [ | |
| 1970 { | |
| 1971 'rule_name': 'js2unit', | |
| 1972 'extension': 'js', | |
| 1973 'msvs_external_rule': 1, | |
| 1974 'inputs': [ | |
| 1975 '<(gypv8sh)', | |
| 1976 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)', | |
| 1977 '<(mock_js)', | |
| 1978 '<(test_api_js)', | |
| 1979 '<(js2gtest)', | |
| 1980 ], | |
| 1981 'outputs': [ | |
| 1982 '<(js2gtest_out_dir)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)
.cc', | |
| 1983 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_
ROOT).js', | |
| 1984 ], | |
| 1985 'process_outputs_as_sources': 1, | |
| 1986 'action': [ | |
| 1987 'python', | |
| 1988 '<@(_inputs)', | |
| 1989 'unit', | |
| 1990 '<(RULE_INPUT_PATH)', | |
| 1991 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js', | |
| 1992 '<@(_outputs)', | |
| 1993 ], | |
| 1994 }, | |
| 1995 ], | |
| 1996 'conditions': [ | 1961 'conditions': [ |
| 1997 ['p2p_apis==1', { | 1962 ['p2p_apis==1', { |
| 1998 'sources': [ | 1963 'sources': [ |
| 1999 '../content/browser/renderer_host/p2p/socket_host_test_utils.h', | 1964 '../content/browser/renderer_host/p2p/socket_host_test_utils.h', |
| 2000 '../content/browser/renderer_host/p2p/socket_host_tcp_unittest.cc', | 1965 '../content/browser/renderer_host/p2p/socket_host_tcp_unittest.cc', |
| 2001 '../content/browser/renderer_host/p2p/socket_host_tcp_server_unittes
t.cc', | 1966 '../content/browser/renderer_host/p2p/socket_host_tcp_server_unittes
t.cc', |
| 2002 '../content/browser/renderer_host/p2p/socket_host_udp_unittest.cc', | 1967 '../content/browser/renderer_host/p2p/socket_host_udp_unittest.cc', |
| 2003 '../content/renderer/p2p/p2p_transport_impl_unittest.cc', | 1968 '../content/renderer/p2p/p2p_transport_impl_unittest.cc', |
| 2004 ], | 1969 ], |
| 2005 }], | 1970 }], |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2299 ], | 2264 ], |
| 2300 }], | 2265 }], |
| 2301 ], | 2266 ], |
| 2302 }, | 2267 }, |
| 2303 { | 2268 { |
| 2304 # Executable that runs each browser test in a new process. | 2269 # Executable that runs each browser test in a new process. |
| 2305 'target_name': 'browser_tests', | 2270 'target_name': 'browser_tests', |
| 2306 'type': 'executable', | 2271 'type': 'executable', |
| 2307 'msvs_cygwin_shell': 0, | 2272 'msvs_cygwin_shell': 0, |
| 2308 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], | 2273 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], |
| 2274 'variables': { |
| 2275 'gypv8sh': '../tools/gypv8sh.py', |
| 2276 'js2webui': 'browser/ui/webui/javascript2webui.js', |
| 2277 'js2webui_out_dir': '<(SHARED_INTERMEDIATE_DIR)/js2webui', |
| 2278 'mock_js': 'third_party/mock4js/mock4js.js', |
| 2279 'test_api_js': 'test/data/webui/test_api.js', |
| 2280 }, |
| 2309 'dependencies': [ | 2281 'dependencies': [ |
| 2310 'browser', | 2282 'browser', |
| 2311 'browser/sync/protocol/sync_proto.gyp:sync_proto', | 2283 'browser/sync/protocol/sync_proto.gyp:sync_proto', |
| 2312 'chrome', | 2284 'chrome', |
| 2313 'chrome_resources', | 2285 'chrome_resources', |
| 2314 'chrome_strings', | 2286 'chrome_strings', |
| 2315 'renderer', | 2287 'renderer', |
| 2316 'test_support_common', | 2288 'test_support_common', |
| 2317 '../base/base.gyp:base', | 2289 '../base/base.gyp:base', |
| 2318 '../base/base.gyp:base_i18n', | 2290 '../base/base.gyp:base_i18n', |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2653 'rules': [ | 2625 'rules': [ |
| 2654 { | 2626 { |
| 2655 'rule_name': 'js2webui', | 2627 'rule_name': 'js2webui', |
| 2656 'extension': 'js', | 2628 'extension': 'js', |
| 2657 'msvs_external_rule': 1, | 2629 'msvs_external_rule': 1, |
| 2658 'inputs': [ | 2630 'inputs': [ |
| 2659 '<(gypv8sh)', | 2631 '<(gypv8sh)', |
| 2660 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)', | 2632 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)', |
| 2661 '<(mock_js)', | 2633 '<(mock_js)', |
| 2662 '<(test_api_js)', | 2634 '<(test_api_js)', |
| 2663 '<(js2gtest)', | 2635 '<(js2webui)', |
| 2664 ], | 2636 ], |
| 2665 'outputs': [ | 2637 'outputs': [ |
| 2666 '<(js2gtest_out_dir)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)
.cc', | 2638 '<(js2webui_out_dir)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)
.cc', |
| 2667 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_
ROOT).js', | 2639 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_
ROOT).js', |
| 2668 ], | 2640 ], |
| 2669 'process_outputs_as_sources': 1, | 2641 'process_outputs_as_sources': 1, |
| 2670 'action': [ | 2642 'action': [ |
| 2671 'python', | 2643 'python', |
| 2672 '<@(_inputs)', | 2644 '<@(_inputs)', |
| 2673 'webui', | |
| 2674 '<(RULE_INPUT_PATH)', | 2645 '<(RULE_INPUT_PATH)', |
| 2675 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js', | 2646 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js', |
| 2676 '<@(_outputs)', | 2647 '<@(_outputs)', |
| 2677 ], | 2648 ], |
| 2678 }, | 2649 }, |
| 2679 ], | 2650 ], |
| 2680 'conditions': [ | 2651 'conditions': [ |
| 2681 ['chromeos==0', { | 2652 ['chromeos==0', { |
| 2682 'sources/': [ | 2653 'sources/': [ |
| 2683 ['exclude', '^browser/chromeos'], | 2654 ['exclude', '^browser/chromeos'], |
| (...skipping 1498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4182 # Use outputs of this action as inputs for the main target build. | 4153 # Use outputs of this action as inputs for the main target build. |
| 4183 # Seems as a misnomer but makes this happy on Linux (scons). | 4154 # Seems as a misnomer but makes this happy on Linux (scons). |
| 4184 'process_outputs_as_sources': 1, | 4155 'process_outputs_as_sources': 1, |
| 4185 }, | 4156 }, |
| 4186 ], # 'actions' | 4157 ], # 'actions' |
| 4187 }, | 4158 }, |
| 4188 ] | 4159 ] |
| 4189 }], # 'coverage!=0' | 4160 }], # 'coverage!=0' |
| 4190 ], # 'conditions' | 4161 ], # 'conditions' |
| 4191 } | 4162 } |
| OLD | NEW |