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 | 7 # Variables for js2gtest rules |
8 'gypv8sh': '../tools/gypv8sh.py', | 8 'gypv8sh': '../tools/gypv8sh.py', |
9 'js2gtest': 'test/base/js2gtest.js', | 9 'js2gtest': 'test/base/js2gtest.js', |
10 'js2gtest_out_dir': '<(SHARED_INTERMEDIATE_DIR)/js2gtest', | 10 'js2gtest_out_dir': '<(SHARED_INTERMEDIATE_DIR)/js2gtest', |
(...skipping 1500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1511 'browser/printing/print_job_unittest.cc', | 1511 'browser/printing/print_job_unittest.cc', |
1512 'browser/printing/print_preview_tab_controller_unittest.cc', | 1512 'browser/printing/print_preview_tab_controller_unittest.cc', |
1513 'browser/process_info_snapshot_mac_unittest.cc', | 1513 'browser/process_info_snapshot_mac_unittest.cc', |
1514 'browser/process_singleton_mac_unittest.cc', | 1514 'browser/process_singleton_mac_unittest.cc', |
1515 'browser/profiles/avatar_menu_model_unittest.cc', | 1515 'browser/profiles/avatar_menu_model_unittest.cc', |
1516 'browser/profiles/off_the_record_profile_impl_unittest.cc', | 1516 'browser/profiles/off_the_record_profile_impl_unittest.cc', |
1517 'browser/profiles/profile_dependency_manager_unittest.cc', | 1517 'browser/profiles/profile_dependency_manager_unittest.cc', |
1518 'browser/profiles/profile_info_cache_unittest.cc', | 1518 'browser/profiles/profile_info_cache_unittest.cc', |
1519 'browser/profiles/profile_manager_unittest.cc', | 1519 'browser/profiles/profile_manager_unittest.cc', |
1520 'browser/renderer_host/web_cache_manager_unittest.cc', | 1520 'browser/renderer_host/web_cache_manager_unittest.cc', |
| 1521 'browser/resources/print_preview/print_preview_utils.js', |
| 1522 'browser/resources/print_preview/print_preview_utils_unittest.gtestjs', |
1521 'browser/resources_util_unittest.cc', | 1523 'browser/resources_util_unittest.cc', |
1522 'browser/rlz/rlz_unittest.cc', | 1524 'browser/rlz/rlz_unittest.cc', |
1523 'browser/safe_browsing/bloom_filter_unittest.cc', | 1525 'browser/safe_browsing/bloom_filter_unittest.cc', |
1524 'browser/safe_browsing/browser_feature_extractor_unittest.cc', | 1526 'browser/safe_browsing/browser_feature_extractor_unittest.cc', |
1525 'browser/safe_browsing/chunk_range_unittest.cc', | 1527 'browser/safe_browsing/chunk_range_unittest.cc', |
1526 'browser/safe_browsing/client_side_detection_host_unittest.cc', | 1528 'browser/safe_browsing/client_side_detection_host_unittest.cc', |
1527 'browser/safe_browsing/client_side_detection_service_unittest.cc', | 1529 'browser/safe_browsing/client_side_detection_service_unittest.cc', |
1528 'browser/safe_browsing/download_protection_service_unittest.cc', | 1530 'browser/safe_browsing/download_protection_service_unittest.cc', |
1529 'browser/safe_browsing/malware_details_unittest.cc', | 1531 'browser/safe_browsing/malware_details_unittest.cc', |
1530 'browser/safe_browsing/prefix_set_unittest.cc', | 1532 'browser/safe_browsing/prefix_set_unittest.cc', |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1937 'service/service_process_unittest.cc', | 1939 'service/service_process_unittest.cc', |
1938 'test/base/browser_with_test_window_test.cc', | 1940 'test/base/browser_with_test_window_test.cc', |
1939 'test/base/browser_with_test_window_test.h', | 1941 'test/base/browser_with_test_window_test.h', |
1940 'test/base/chrome_render_view_test.cc', | 1942 'test/base/chrome_render_view_test.cc', |
1941 'test/base/chrome_render_view_test.h', | 1943 'test/base/chrome_render_view_test.h', |
1942 'test/base/menu_model_test.cc', | 1944 'test/base/menu_model_test.cc', |
1943 'test/base/menu_model_test.h', | 1945 'test/base/menu_model_test.h', |
1944 'test/base/v8_unit_test.cc', | 1946 'test/base/v8_unit_test.cc', |
1945 'test/base/v8_unit_test.h', | 1947 'test/base/v8_unit_test.h', |
1946 'test/data/resource.rc', | 1948 'test/data/resource.rc', |
1947 'test/data/unit/framework_unittest.js', | 1949 'test/data/unit/framework_unittest.gtestjs', |
1948 'tools/convert_dict/convert_dict_unittest.cc', | 1950 'tools/convert_dict/convert_dict_unittest.cc', |
1949 '../content/browser/renderer_host/render_widget_host_unittest.cc', | 1951 '../content/browser/renderer_host/render_widget_host_unittest.cc', |
1950 '../content/browser/renderer_host/text_input_client_mac_unittest.mm', | 1952 '../content/browser/renderer_host/text_input_client_mac_unittest.mm', |
1951 '../content/browser/tab_contents/navigation_controller_unittest.cc', | 1953 '../content/browser/tab_contents/navigation_controller_unittest.cc', |
1952 '../content/browser/tab_contents/render_view_host_manager_unittest.cc', | 1954 '../content/browser/tab_contents/render_view_host_manager_unittest.cc', |
1953 '../content/common/sandbox_mac_diraccess_unittest.mm', | 1955 '../content/common/sandbox_mac_diraccess_unittest.mm', |
1954 '../content/common/sandbox_mac_fontloading_unittest.mm', | 1956 '../content/common/sandbox_mac_fontloading_unittest.mm', |
1955 '../content/common/sandbox_mac_unittest_helper.h', | 1957 '../content/common/sandbox_mac_unittest_helper.h', |
1956 '../content/common/sandbox_mac_unittest_helper.mm', | 1958 '../content/common/sandbox_mac_unittest_helper.mm', |
1957 '../content/common/sandbox_mac_system_access_unittest.mm', | 1959 '../content/common/sandbox_mac_system_access_unittest.mm', |
1958 '../testing/gtest_mac_unittest.mm', | 1960 '../testing/gtest_mac_unittest.mm', |
1959 '../third_party/cld/encodings/compact_lang_det/compact_lang_det_unittest
_small.cc', | 1961 '../third_party/cld/encodings/compact_lang_det/compact_lang_det_unittest
_small.cc', |
1960 '../webkit/fileapi/file_system_dir_url_request_job_unittest.cc', | 1962 '../webkit/fileapi/file_system_dir_url_request_job_unittest.cc', |
1961 '../webkit/fileapi/file_system_operation_write_unittest.cc', | 1963 '../webkit/fileapi/file_system_operation_write_unittest.cc', |
1962 '../webkit/fileapi/file_system_url_request_job_unittest.cc', | 1964 '../webkit/fileapi/file_system_url_request_job_unittest.cc', |
1963 '../webkit/fileapi/file_writer_delegate_unittest.cc', | 1965 '../webkit/fileapi/file_writer_delegate_unittest.cc', |
1964 '../webkit/fileapi/file_system_test_helper.cc', | 1966 '../webkit/fileapi/file_system_test_helper.cc', |
1965 '../webkit/fileapi/file_system_test_helper.h', | 1967 '../webkit/fileapi/file_system_test_helper.h', |
1966 '../webkit/quota/mock_storage_client.cc', | 1968 '../webkit/quota/mock_storage_client.cc', |
1967 '../webkit/quota/mock_storage_client.h', | 1969 '../webkit/quota/mock_storage_client.h', |
1968 ], | 1970 ], |
1969 'rules': [ | 1971 'rules': [ |
1970 { | 1972 { |
| 1973 'rule_name': 'copyjs', |
| 1974 'extension': 'js', |
| 1975 'inputs': [], |
| 1976 'outputs': [ |
| 1977 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_
ROOT).<(_extension)', |
| 1978 ], |
| 1979 'action': [ |
| 1980 'python', |
| 1981 '-c', 'import shutil,sys; shutil.copyfile(sys.argv[1], sys.argv[2])'
, |
| 1982 '<@(_inputs)', '<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).<(_extensio
n)', |
| 1983 '<@(_outputs)', |
| 1984 ], |
| 1985 }, |
| 1986 { |
1971 'rule_name': 'js2unit', | 1987 'rule_name': 'js2unit', |
1972 'extension': 'js', | 1988 'extension': 'gtestjs', |
1973 'msvs_external_rule': 1, | 1989 'msvs_external_rule': 1, |
1974 'inputs': [ | 1990 'inputs': [ |
1975 '<(gypv8sh)', | 1991 '<(gypv8sh)', |
1976 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)', | 1992 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)', |
1977 '<(mock_js)', | 1993 '<(mock_js)', |
1978 '<(test_api_js)', | 1994 '<(test_api_js)', |
1979 '<(js2gtest)', | 1995 '<(js2gtest)', |
1980 ], | 1996 ], |
1981 'outputs': [ | 1997 'outputs': [ |
1982 '<(js2gtest_out_dir)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)
.cc', | 1998 '<(js2gtest_out_dir)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)
.cc', |
1983 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_
ROOT).js', | 1999 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_
ROOT).<(_extension)', |
1984 ], | 2000 ], |
1985 'process_outputs_as_sources': 1, | 2001 'process_outputs_as_sources': 1, |
1986 'action': [ | 2002 'action': [ |
1987 'python', | 2003 'python', |
1988 '<@(_inputs)', | 2004 '<@(_inputs)', |
1989 'unit', | 2005 'unit', |
1990 '<(RULE_INPUT_PATH)', | 2006 '<(RULE_INPUT_PATH)', |
1991 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js', | 2007 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).<(_extension)', |
1992 '<@(_outputs)', | 2008 '<@(_outputs)', |
1993 ], | 2009 ], |
1994 }, | 2010 }, |
1995 ], | 2011 ], |
1996 'conditions': [ | 2012 'conditions': [ |
1997 ['p2p_apis==1', { | 2013 ['p2p_apis==1', { |
1998 'sources': [ | 2014 'sources': [ |
1999 '../content/browser/renderer_host/p2p/socket_host_test_utils.h', | 2015 '../content/browser/renderer_host/p2p/socket_host_test_utils.h', |
2000 '../content/browser/renderer_host/p2p/socket_host_tcp_unittest.cc', | 2016 '../content/browser/renderer_host/p2p/socket_host_tcp_unittest.cc', |
2001 '../content/browser/renderer_host/p2p/socket_host_tcp_server_unittes
t.cc', | 2017 '../content/browser/renderer_host/p2p/socket_host_tcp_server_unittes
t.cc', |
(...skipping 2180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4182 # Use outputs of this action as inputs for the main target build. | 4198 # Use outputs of this action as inputs for the main target build. |
4183 # Seems as a misnomer but makes this happy on Linux (scons). | 4199 # Seems as a misnomer but makes this happy on Linux (scons). |
4184 'process_outputs_as_sources': 1, | 4200 'process_outputs_as_sources': 1, |
4185 }, | 4201 }, |
4186 ], # 'actions' | 4202 ], # 'actions' |
4187 }, | 4203 }, |
4188 ] | 4204 ] |
4189 }], # 'coverage!=0' | 4205 }], # 'coverage!=0' |
4190 ], # 'conditions' | 4206 ], # 'conditions' |
4191 } | 4207 } |
OLD | NEW |