| 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 'variables' : { | 5 'variables' : { |
| 6 # Variables for js2gtest rules | 6 # Variables for js2gtest rules |
| 7 'gypv8sh': '../tools/gypv8sh.py', | 7 'gypv8sh': '../tools/gypv8sh.py', |
| 8 'js2gtest': 'test/base/js2gtest.js', | 8 'js2gtest': 'test/base/js2gtest.js', |
| 9 'js2gtest_out_dir': '<(SHARED_INTERMEDIATE_DIR)/js2gtest', | 9 'js2gtest_out_dir': '<(SHARED_INTERMEDIATE_DIR)/js2gtest', |
| 10 'mock_js': 'third_party/mock4js/mock4js.js', | 10 'mock_js': 'third_party/mock4js/mock4js.js', |
| (...skipping 1509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1520 'browser/printing/print_job_unittest.cc', | 1520 'browser/printing/print_job_unittest.cc', |
| 1521 'browser/printing/print_preview_tab_controller_unittest.cc', | 1521 'browser/printing/print_preview_tab_controller_unittest.cc', |
| 1522 'browser/process_info_snapshot_mac_unittest.cc', | 1522 'browser/process_info_snapshot_mac_unittest.cc', |
| 1523 'browser/process_singleton_mac_unittest.cc', | 1523 'browser/process_singleton_mac_unittest.cc', |
| 1524 'browser/profiles/avatar_menu_model_unittest.cc', | 1524 'browser/profiles/avatar_menu_model_unittest.cc', |
| 1525 'browser/profiles/off_the_record_profile_impl_unittest.cc', | 1525 'browser/profiles/off_the_record_profile_impl_unittest.cc', |
| 1526 'browser/profiles/profile_dependency_manager_unittest.cc', | 1526 'browser/profiles/profile_dependency_manager_unittest.cc', |
| 1527 'browser/profiles/profile_info_cache_unittest.cc', | 1527 'browser/profiles/profile_info_cache_unittest.cc', |
| 1528 'browser/profiles/profile_manager_unittest.cc', | 1528 'browser/profiles/profile_manager_unittest.cc', |
| 1529 'browser/renderer_host/web_cache_manager_unittest.cc', | 1529 'browser/renderer_host/web_cache_manager_unittest.cc', |
| 1530 'browser/resources/print_preview/print_preview_utils.js', |
| 1531 'browser/resources/print_preview/print_preview_utils_unittest.gtestjs', |
| 1530 'browser/resources_util_unittest.cc', | 1532 'browser/resources_util_unittest.cc', |
| 1531 'browser/rlz/rlz_unittest.cc', | 1533 'browser/rlz/rlz_unittest.cc', |
| 1532 'browser/safe_browsing/bloom_filter_unittest.cc', | 1534 'browser/safe_browsing/bloom_filter_unittest.cc', |
| 1533 'browser/safe_browsing/browser_feature_extractor_unittest.cc', | 1535 'browser/safe_browsing/browser_feature_extractor_unittest.cc', |
| 1534 'browser/safe_browsing/chunk_range_unittest.cc', | 1536 'browser/safe_browsing/chunk_range_unittest.cc', |
| 1535 'browser/safe_browsing/client_side_detection_host_unittest.cc', | 1537 'browser/safe_browsing/client_side_detection_host_unittest.cc', |
| 1536 'browser/safe_browsing/client_side_detection_service_unittest.cc', | 1538 'browser/safe_browsing/client_side_detection_service_unittest.cc', |
| 1537 'browser/safe_browsing/download_protection_service_unittest.cc', | 1539 'browser/safe_browsing/download_protection_service_unittest.cc', |
| 1538 'browser/safe_browsing/malware_details_unittest.cc', | 1540 'browser/safe_browsing/malware_details_unittest.cc', |
| 1539 'browser/safe_browsing/prefix_set_unittest.cc', | 1541 'browser/safe_browsing/prefix_set_unittest.cc', |
| (...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1946 'service/service_process_unittest.cc', | 1948 'service/service_process_unittest.cc', |
| 1947 'test/base/browser_with_test_window_test.cc', | 1949 'test/base/browser_with_test_window_test.cc', |
| 1948 'test/base/browser_with_test_window_test.h', | 1950 'test/base/browser_with_test_window_test.h', |
| 1949 'test/base/chrome_render_view_test.cc', | 1951 'test/base/chrome_render_view_test.cc', |
| 1950 'test/base/chrome_render_view_test.h', | 1952 'test/base/chrome_render_view_test.h', |
| 1951 'test/base/menu_model_test.cc', | 1953 'test/base/menu_model_test.cc', |
| 1952 'test/base/menu_model_test.h', | 1954 'test/base/menu_model_test.h', |
| 1953 'test/base/v8_unit_test.cc', | 1955 'test/base/v8_unit_test.cc', |
| 1954 'test/base/v8_unit_test.h', | 1956 'test/base/v8_unit_test.h', |
| 1955 'test/data/resource.rc', | 1957 'test/data/resource.rc', |
| 1956 'test/data/unit/framework_unittest.js', | 1958 'test/data/unit/framework_unittest.gtestjs', |
| 1957 'tools/convert_dict/convert_dict_unittest.cc', | 1959 'tools/convert_dict/convert_dict_unittest.cc', |
| 1958 '../content/browser/renderer_host/render_widget_host_unittest.cc', | 1960 '../content/browser/renderer_host/render_widget_host_unittest.cc', |
| 1959 '../content/browser/renderer_host/text_input_client_mac_unittest.mm', | 1961 '../content/browser/renderer_host/text_input_client_mac_unittest.mm', |
| 1960 '../content/browser/tab_contents/navigation_controller_unittest.cc', | 1962 '../content/browser/tab_contents/navigation_controller_unittest.cc', |
| 1961 '../content/browser/tab_contents/render_view_host_manager_unittest.cc', | 1963 '../content/browser/tab_contents/render_view_host_manager_unittest.cc', |
| 1962 '../content/common/sandbox_mac_diraccess_unittest.mm', | 1964 '../content/common/sandbox_mac_diraccess_unittest.mm', |
| 1963 '../content/common/sandbox_mac_fontloading_unittest.mm', | 1965 '../content/common/sandbox_mac_fontloading_unittest.mm', |
| 1964 '../content/common/sandbox_mac_unittest_helper.h', | 1966 '../content/common/sandbox_mac_unittest_helper.h', |
| 1965 '../content/common/sandbox_mac_unittest_helper.mm', | 1967 '../content/common/sandbox_mac_unittest_helper.mm', |
| 1966 '../content/common/sandbox_mac_system_access_unittest.mm', | 1968 '../content/common/sandbox_mac_system_access_unittest.mm', |
| 1967 '../testing/gtest_mac_unittest.mm', | 1969 '../testing/gtest_mac_unittest.mm', |
| 1968 '../third_party/cld/encodings/compact_lang_det/compact_lang_det_unittest
_small.cc', | 1970 '../third_party/cld/encodings/compact_lang_det/compact_lang_det_unittest
_small.cc', |
| 1969 '../webkit/fileapi/file_system_dir_url_request_job_unittest.cc', | 1971 '../webkit/fileapi/file_system_dir_url_request_job_unittest.cc', |
| 1970 '../webkit/fileapi/file_system_operation_write_unittest.cc', | 1972 '../webkit/fileapi/file_system_operation_write_unittest.cc', |
| 1971 '../webkit/fileapi/file_system_url_request_job_unittest.cc', | 1973 '../webkit/fileapi/file_system_url_request_job_unittest.cc', |
| 1972 '../webkit/fileapi/file_writer_delegate_unittest.cc', | 1974 '../webkit/fileapi/file_writer_delegate_unittest.cc', |
| 1973 '../webkit/fileapi/file_system_test_helper.cc', | 1975 '../webkit/fileapi/file_system_test_helper.cc', |
| 1974 '../webkit/fileapi/file_system_test_helper.h', | 1976 '../webkit/fileapi/file_system_test_helper.h', |
| 1975 '../webkit/quota/mock_storage_client.cc', | 1977 '../webkit/quota/mock_storage_client.cc', |
| 1976 '../webkit/quota/mock_storage_client.h', | 1978 '../webkit/quota/mock_storage_client.h', |
| 1977 ], | 1979 ], |
| 1978 'rules': [ | 1980 'rules': [ |
| 1979 { | 1981 { |
| 1982 'rule_name': 'copyjs', |
| 1983 'extension': 'js', |
| 1984 'msvs_external_rule': 1, |
| 1985 'inputs': [ |
| 1986 '../build/cp.py', |
| 1987 ], |
| 1988 'outputs': [ |
| 1989 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_
ROOT).<(_extension)', |
| 1990 ], |
| 1991 'action': [ |
| 1992 'python', |
| 1993 '<@(_inputs)', |
| 1994 '<(RULE_INPUT_PATH)', |
| 1995 '<@(_outputs)', |
| 1996 ], |
| 1997 }, |
| 1998 { |
| 1980 'rule_name': 'js2unit', | 1999 'rule_name': 'js2unit', |
| 1981 'extension': 'js', | 2000 'extension': 'gtestjs', |
| 1982 'msvs_external_rule': 1, | 2001 'msvs_external_rule': 1, |
| 1983 'inputs': [ | 2002 'inputs': [ |
| 1984 '<(gypv8sh)', | 2003 '<(gypv8sh)', |
| 1985 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)', | 2004 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)', |
| 1986 '<(mock_js)', | 2005 '<(mock_js)', |
| 1987 '<(test_api_js)', | 2006 '<(test_api_js)', |
| 1988 '<(js2gtest)', | 2007 '<(js2gtest)', |
| 1989 ], | 2008 ], |
| 1990 'outputs': [ | 2009 'outputs': [ |
| 1991 '<(js2gtest_out_dir)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)
.cc', | 2010 '<(js2gtest_out_dir)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)
.cc', |
| 1992 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_
ROOT).js', | 2011 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_
ROOT).<(_extension)', |
| 1993 ], | 2012 ], |
| 1994 'process_outputs_as_sources': 1, | 2013 'process_outputs_as_sources': 1, |
| 1995 'action': [ | 2014 'action': [ |
| 1996 'python', | 2015 'python', |
| 1997 '<@(_inputs)', | 2016 '<@(_inputs)', |
| 1998 'unit', | 2017 'unit', |
| 1999 '<(RULE_INPUT_PATH)', | 2018 '<(RULE_INPUT_PATH)', |
| 2000 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js', | 2019 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).<(_extension)', |
| 2001 '<@(_outputs)', | 2020 '<@(_outputs)', |
| 2002 ], | 2021 ], |
| 2003 }, | 2022 }, |
| 2004 ], | 2023 ], |
| 2005 'conditions': [ | 2024 'conditions': [ |
| 2006 ['target_arch!="arm"', { | 2025 ['target_arch!="arm"', { |
| 2007 'dependencies': [ | 2026 'dependencies': [ |
| 2008 # build time dependency. | 2027 # build time dependency. |
| 2009 '../v8/tools/gyp/v8.gyp:v8_shell#host', | 2028 '../v8/tools/gyp/v8.gyp:v8_shell#host', |
| 2010 ], | 2029 ], |
| (...skipping 2211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4222 # Use outputs of this action as inputs for the main target build. | 4241 # Use outputs of this action as inputs for the main target build. |
| 4223 # Seems as a misnomer but makes this happy on Linux (scons). | 4242 # Seems as a misnomer but makes this happy on Linux (scons). |
| 4224 'process_outputs_as_sources': 1, | 4243 'process_outputs_as_sources': 1, |
| 4225 }, | 4244 }, |
| 4226 ], # 'actions' | 4245 ], # 'actions' |
| 4227 }, | 4246 }, |
| 4228 ] | 4247 ] |
| 4229 }], # 'coverage!=0' | 4248 }], # 'coverage!=0' |
| 4230 ], # 'conditions' | 4249 ], # 'conditions' |
| 4231 } | 4250 } |
| OLD | NEW |