| 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 |
| 7 'pyautolib_sources': [ | 14 'pyautolib_sources': [ |
| 8 'app/chrome_command_ids.h', | 15 'app/chrome_command_ids.h', |
| 9 'app/chrome_dll_resource.h', | 16 'app/chrome_dll_resource.h', |
| 10 'common/automation_constants.h', | 17 'common/automation_constants.h', |
| 11 'common/pref_names.cc', | 18 'common/pref_names.cc', |
| 12 'common/pref_names.h', | 19 'common/pref_names.h', |
| 13 'test/automation/browser_proxy.cc', | 20 'test/automation/browser_proxy.cc', |
| 14 'test/automation/browser_proxy.h', | 21 'test/automation/browser_proxy.h', |
| 15 'test/automation/tab_proxy.cc', | 22 'test/automation/tab_proxy.cc', |
| 16 'test/automation/tab_proxy.h', | 23 'test/automation/tab_proxy.h', |
| (...skipping 1889 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1906 'service/service_process_unittest.cc', | 1913 'service/service_process_unittest.cc', |
| 1907 'test/base/browser_with_test_window_test.cc', | 1914 'test/base/browser_with_test_window_test.cc', |
| 1908 'test/base/browser_with_test_window_test.h', | 1915 'test/base/browser_with_test_window_test.h', |
| 1909 'test/base/chrome_render_view_test.cc', | 1916 'test/base/chrome_render_view_test.cc', |
| 1910 'test/base/chrome_render_view_test.h', | 1917 'test/base/chrome_render_view_test.h', |
| 1911 'test/base/menu_model_test.cc', | 1918 'test/base/menu_model_test.cc', |
| 1912 'test/base/menu_model_test.h', | 1919 'test/base/menu_model_test.h', |
| 1913 'test/base/v8_unit_test.cc', | 1920 'test/base/v8_unit_test.cc', |
| 1914 'test/base/v8_unit_test.h', | 1921 'test/base/v8_unit_test.h', |
| 1915 'test/data/resource.rc', | 1922 'test/data/resource.rc', |
| 1923 'test/data/unit/framework_unittest.js', |
| 1916 'tools/convert_dict/convert_dict_unittest.cc', | 1924 'tools/convert_dict/convert_dict_unittest.cc', |
| 1917 '../content/browser/renderer_host/render_widget_host_unittest.cc', | 1925 '../content/browser/renderer_host/render_widget_host_unittest.cc', |
| 1918 '../content/browser/renderer_host/text_input_client_mac_unittest.mm', | 1926 '../content/browser/renderer_host/text_input_client_mac_unittest.mm', |
| 1919 '../content/browser/tab_contents/navigation_controller_unittest.cc', | 1927 '../content/browser/tab_contents/navigation_controller_unittest.cc', |
| 1920 '../content/browser/tab_contents/render_view_host_manager_unittest.cc', | 1928 '../content/browser/tab_contents/render_view_host_manager_unittest.cc', |
| 1921 '../content/common/sandbox_mac_diraccess_unittest.mm', | 1929 '../content/common/sandbox_mac_diraccess_unittest.mm', |
| 1922 '../content/common/sandbox_mac_fontloading_unittest.mm', | 1930 '../content/common/sandbox_mac_fontloading_unittest.mm', |
| 1923 '../content/common/sandbox_mac_unittest_helper.h', | 1931 '../content/common/sandbox_mac_unittest_helper.h', |
| 1924 '../content/common/sandbox_mac_unittest_helper.mm', | 1932 '../content/common/sandbox_mac_unittest_helper.mm', |
| 1925 '../content/common/sandbox_mac_system_access_unittest.mm', | 1933 '../content/common/sandbox_mac_system_access_unittest.mm', |
| 1926 '../testing/gtest_mac_unittest.mm', | 1934 '../testing/gtest_mac_unittest.mm', |
| 1927 '../third_party/cld/encodings/compact_lang_det/compact_lang_det_unittest
_small.cc', | 1935 '../third_party/cld/encodings/compact_lang_det/compact_lang_det_unittest
_small.cc', |
| 1928 '../webkit/fileapi/file_system_dir_url_request_job_unittest.cc', | 1936 '../webkit/fileapi/file_system_dir_url_request_job_unittest.cc', |
| 1929 '../webkit/fileapi/file_system_operation_write_unittest.cc', | 1937 '../webkit/fileapi/file_system_operation_write_unittest.cc', |
| 1930 '../webkit/fileapi/file_system_url_request_job_unittest.cc', | 1938 '../webkit/fileapi/file_system_url_request_job_unittest.cc', |
| 1931 '../webkit/fileapi/file_writer_delegate_unittest.cc', | 1939 '../webkit/fileapi/file_writer_delegate_unittest.cc', |
| 1932 '../webkit/fileapi/file_system_test_helper.cc', | 1940 '../webkit/fileapi/file_system_test_helper.cc', |
| 1933 '../webkit/fileapi/file_system_test_helper.h', | 1941 '../webkit/fileapi/file_system_test_helper.h', |
| 1934 '../webkit/quota/mock_storage_client.cc', | 1942 '../webkit/quota/mock_storage_client.cc', |
| 1935 '../webkit/quota/mock_storage_client.h', | 1943 '../webkit/quota/mock_storage_client.h', |
| 1936 ], | 1944 ], |
| 1945 'rules': [ |
| 1946 { |
| 1947 'rule_name': 'js2unit', |
| 1948 'extension': 'js', |
| 1949 'msvs_external_rule': 1, |
| 1950 'inputs': [ |
| 1951 '<(gypv8sh)', |
| 1952 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)', |
| 1953 '<(mock_js)', |
| 1954 '<(test_api_js)', |
| 1955 '<(js2gtest)', |
| 1956 ], |
| 1957 'outputs': [ |
| 1958 '<(js2gtest_out_dir)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)
.cc', |
| 1959 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_
ROOT).js', |
| 1960 ], |
| 1961 'process_outputs_as_sources': 1, |
| 1962 'action': [ |
| 1963 'python', |
| 1964 '<@(_inputs)', |
| 1965 'unit', |
| 1966 '<(RULE_INPUT_PATH)', |
| 1967 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js', |
| 1968 '<@(_outputs)', |
| 1969 ], |
| 1970 }, |
| 1971 ], |
| 1937 'conditions': [ | 1972 'conditions': [ |
| 1938 ['p2p_apis==1', { | 1973 ['p2p_apis==1', { |
| 1939 'sources': [ | 1974 'sources': [ |
| 1940 '../content/browser/renderer_host/p2p/socket_host_test_utils.h', | 1975 '../content/browser/renderer_host/p2p/socket_host_test_utils.h', |
| 1941 '../content/browser/renderer_host/p2p/socket_host_tcp_unittest.cc', | 1976 '../content/browser/renderer_host/p2p/socket_host_tcp_unittest.cc', |
| 1942 '../content/browser/renderer_host/p2p/socket_host_tcp_server_unittes
t.cc', | 1977 '../content/browser/renderer_host/p2p/socket_host_tcp_server_unittes
t.cc', |
| 1943 '../content/browser/renderer_host/p2p/socket_host_udp_unittest.cc', | 1978 '../content/browser/renderer_host/p2p/socket_host_udp_unittest.cc', |
| 1944 '../content/renderer/p2p/p2p_transport_impl_unittest.cc', | 1979 '../content/renderer/p2p/p2p_transport_impl_unittest.cc', |
| 1945 ], | 1980 ], |
| 1946 }], | 1981 }], |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2234 ], | 2269 ], |
| 2235 }], | 2270 }], |
| 2236 ], | 2271 ], |
| 2237 }, | 2272 }, |
| 2238 { | 2273 { |
| 2239 # Executable that runs each browser test in a new process. | 2274 # Executable that runs each browser test in a new process. |
| 2240 'target_name': 'browser_tests', | 2275 'target_name': 'browser_tests', |
| 2241 'type': 'executable', | 2276 'type': 'executable', |
| 2242 'msvs_cygwin_shell': 0, | 2277 'msvs_cygwin_shell': 0, |
| 2243 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], | 2278 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], |
| 2244 'variables': { | |
| 2245 'gypv8sh': '../tools/gypv8sh.py', | |
| 2246 'js2webui': 'browser/ui/webui/javascript2webui.js', | |
| 2247 'js2webui_out_dir': '<(SHARED_INTERMEDIATE_DIR)/js2webui', | |
| 2248 'mock_js': 'third_party/mock4js/mock4js.js', | |
| 2249 'test_api_js': 'test/data/webui/test_api.js', | |
| 2250 }, | |
| 2251 'dependencies': [ | 2279 'dependencies': [ |
| 2252 'browser', | 2280 'browser', |
| 2253 'browser/sync/protocol/sync_proto.gyp:sync_proto', | 2281 'browser/sync/protocol/sync_proto.gyp:sync_proto', |
| 2254 'chrome', | 2282 'chrome', |
| 2255 'chrome_resources', | 2283 'chrome_resources', |
| 2256 'chrome_strings', | 2284 'chrome_strings', |
| 2257 'renderer', | 2285 'renderer', |
| 2258 'test_support_common', | 2286 'test_support_common', |
| 2259 '../base/base.gyp:base', | 2287 '../base/base.gyp:base', |
| 2260 '../base/base.gyp:base_i18n', | 2288 '../base/base.gyp:base_i18n', |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2588 'rules': [ | 2616 'rules': [ |
| 2589 { | 2617 { |
| 2590 'rule_name': 'js2webui', | 2618 'rule_name': 'js2webui', |
| 2591 'extension': 'js', | 2619 'extension': 'js', |
| 2592 'msvs_external_rule': 1, | 2620 'msvs_external_rule': 1, |
| 2593 'inputs': [ | 2621 'inputs': [ |
| 2594 '<(gypv8sh)', | 2622 '<(gypv8sh)', |
| 2595 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)', | 2623 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)', |
| 2596 '<(mock_js)', | 2624 '<(mock_js)', |
| 2597 '<(test_api_js)', | 2625 '<(test_api_js)', |
| 2598 '<(js2webui)', | 2626 '<(js2gtest)', |
| 2599 ], | 2627 ], |
| 2600 'outputs': [ | 2628 'outputs': [ |
| 2601 '<(js2webui_out_dir)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)
.cc', | 2629 '<(js2gtest_out_dir)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)
.cc', |
| 2602 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_
ROOT).js', | 2630 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_
ROOT).js', |
| 2603 ], | 2631 ], |
| 2604 'process_outputs_as_sources': 1, | 2632 'process_outputs_as_sources': 1, |
| 2605 'action': [ | 2633 'action': [ |
| 2606 'python', | 2634 'python', |
| 2607 '<@(_inputs)', | 2635 '<@(_inputs)', |
| 2636 'webui', |
| 2608 '<(RULE_INPUT_PATH)', | 2637 '<(RULE_INPUT_PATH)', |
| 2609 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js', | 2638 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js', |
| 2610 '<@(_outputs)', | 2639 '<@(_outputs)', |
| 2611 ], | 2640 ], |
| 2612 }, | 2641 }, |
| 2613 ], | 2642 ], |
| 2614 'conditions': [ | 2643 'conditions': [ |
| 2615 ['chromeos==0', { | 2644 ['chromeos==0', { |
| 2616 'sources/': [ | 2645 'sources/': [ |
| 2617 ['exclude', '^browser/chromeos'], | 2646 ['exclude', '^browser/chromeos'], |
| (...skipping 1491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4109 # Use outputs of this action as inputs for the main target build. | 4138 # Use outputs of this action as inputs for the main target build. |
| 4110 # Seems as a misnomer but makes this happy on Linux (scons). | 4139 # Seems as a misnomer but makes this happy on Linux (scons). |
| 4111 'process_outputs_as_sources': 1, | 4140 'process_outputs_as_sources': 1, |
| 4112 }, | 4141 }, |
| 4113 ], # 'actions' | 4142 ], # 'actions' |
| 4114 }, | 4143 }, |
| 4115 ] | 4144 ] |
| 4116 }], # 'coverage!=0' | 4145 }], # 'coverage!=0' |
| 4117 ], # 'conditions' | 4146 ], # 'conditions' |
| 4118 } | 4147 } |
| OLD | NEW |