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 '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 2254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2265 # http://crbug.com/64926 | 2265 # http://crbug.com/64926 |
2266 ['exclude', '^browser/importer/'], | 2266 ['exclude', '^browser/importer/'], |
2267 ], | 2267 ], |
2268 }], | 2268 }], |
2269 ], | 2269 ], |
2270 }, | 2270 }, |
2271 { | 2271 { |
2272 # Executable that runs each browser test in a new process. | 2272 # Executable that runs each browser test in a new process. |
2273 'target_name': 'browser_tests', | 2273 'target_name': 'browser_tests', |
2274 'type': 'executable', | 2274 'type': 'executable', |
| 2275 'variables': { |
| 2276 'gypv8sh': '../tools/gypv8sh.py', |
| 2277 'js2webui': 'browser/ui/webui/javascript2webui.js', |
| 2278 'js2webui_out_dir': '<(SHARED_INTERMEDIATE_DIR)/js2webui', |
| 2279 'rule_input_relpath': 'test/data/webui', |
| 2280 }, |
2275 'dependencies': [ | 2281 'dependencies': [ |
2276 'browser', | 2282 'browser', |
2277 'browser/sync/protocol/sync_proto.gyp:sync_proto_cpp', | 2283 'browser/sync/protocol/sync_proto.gyp:sync_proto_cpp', |
2278 'chrome', | 2284 'chrome', |
2279 'chrome_resources', | 2285 'chrome_resources', |
2280 'chrome_strings', | 2286 'chrome_strings', |
2281 'profile_import', | 2287 'profile_import', |
2282 'renderer', | 2288 'renderer', |
2283 'test_support_common', | 2289 'test_support_common', |
2284 '../app/app.gyp:app_base', | 2290 '../app/app.gyp:app_base', |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2526 'renderer/print_web_view_helper_browsertest.cc', | 2532 'renderer/print_web_view_helper_browsertest.cc', |
2527 'renderer/safe_browsing/malware_dom_details_browsertest.cc', | 2533 'renderer/safe_browsing/malware_dom_details_browsertest.cc', |
2528 'renderer/safe_browsing/phishing_classifier_browsertest.cc', | 2534 'renderer/safe_browsing/phishing_classifier_browsertest.cc', |
2529 'renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc', | 2535 'renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc', |
2530 'renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc', | 2536 'renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc', |
2531 'renderer/safe_browsing/phishing_thumbnailer_browsertest.cc', | 2537 'renderer/safe_browsing/phishing_thumbnailer_browsertest.cc', |
2532 'renderer/safe_browsing/render_view_fake_resources_test.cc', | 2538 'renderer/safe_browsing/render_view_fake_resources_test.cc', |
2533 'renderer/safe_browsing/render_view_fake_resources_test.h', | 2539 'renderer/safe_browsing/render_view_fake_resources_test.h', |
2534 'renderer/translate_helper_browsertest.cc', | 2540 'renderer/translate_helper_browsertest.cc', |
2535 'test/automation/dom_automation_browsertest.cc', | 2541 'test/automation/dom_automation_browsertest.cc', |
| 2542 'test/data/webui/sample_pass.js', |
2536 'test/gpu/gpu_browsertest.cc', | 2543 'test/gpu/gpu_browsertest.cc', |
2537 'test/in_process_browser_test_browsertest.cc', | 2544 'test/in_process_browser_test_browsertest.cc', |
2538 'test/out_of_proc_test_runner.cc', | 2545 'test/out_of_proc_test_runner.cc', |
2539 'test/render_view_test.cc', | 2546 'test/render_view_test.cc', |
2540 'test/render_view_test.h', | 2547 'test/render_view_test.h', |
2541 # TODO(craig): Rename this and run from base_unittests when the test | 2548 # TODO(craig): Rename this and run from base_unittests when the test |
2542 # is safe to run there. See http://crbug.com/78722 for details. | 2549 # is safe to run there. See http://crbug.com/78722 for details. |
2543 '../base/files/file_path_watcher_browsertest.cc', | 2550 '../base/files/file_path_watcher_browsertest.cc', |
2544 '../content/browser/child_process_security_policy_browsertest.cc', | 2551 '../content/browser/child_process_security_policy_browsertest.cc', |
2545 '../content/browser/device_orientation/device_orientation_browsertest.cc
', | 2552 '../content/browser/device_orientation/device_orientation_browsertest.cc
', |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2709 }, { # else: toolkit_views == 0 | 2716 }, { # else: toolkit_views == 0 |
2710 'sources!': [ | 2717 'sources!': [ |
2711 'browser/extensions/browser_action_test_util_views.cc', | 2718 'browser/extensions/browser_action_test_util_views.cc', |
2712 'browser/ui/panels/panel_browser_view_browsertest.cc', | 2719 'browser/ui/panels/panel_browser_view_browsertest.cc', |
2713 'browser/ui/views/browser_actions_container_browsertest.cc', | 2720 'browser/ui/views/browser_actions_container_browsertest.cc', |
2714 'browser/ui/views/dom_view_browsertest.cc', | 2721 'browser/ui/views/dom_view_browsertest.cc', |
2715 'browser/ui/views/html_dialog_view_browsertest.cc', | 2722 'browser/ui/views/html_dialog_view_browsertest.cc', |
2716 ], | 2723 ], |
2717 }], | 2724 }], |
2718 ['target_arch!="arm"', { | 2725 ['target_arch!="arm"', { |
| 2726 'rules': [ |
| 2727 { |
| 2728 'rule_name': 'js2webui', |
| 2729 'extension': 'js', |
| 2730 'inputs': [ |
| 2731 '<(gypv8sh)', |
| 2732 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)', |
| 2733 '<(js2webui)', |
| 2734 ], |
| 2735 'outputs': [ |
| 2736 '<(js2webui_out_dir)/chrome/<(rule_input_relpath)/<(RULE_INPUT_R
OOT)-inl.h', |
| 2737 ], |
| 2738 'process_outputs_as_sources': 1, |
| 2739 'action': [ |
| 2740 'python', '<@(_inputs)', '<(RULE_INPUT_PATH)', '<@(_outputs)', |
| 2741 ], |
| 2742 }, |
| 2743 ], |
| 2744 'include_dirs': [ |
| 2745 '<(js2webui_out_dir)', |
| 2746 ], |
2719 'dependencies': [ | 2747 'dependencies': [ |
| 2748 # build time dependency. |
| 2749 '../v8/tools/gyp/v8.gyp:v8_shell#host', |
2720 # run time dependency | 2750 # run time dependency |
2721 '../webkit/webkit.gyp:copy_npapi_test_plugin', | 2751 '../webkit/webkit.gyp:copy_npapi_test_plugin', |
2722 ], | 2752 ], |
2723 }], | 2753 }], |
2724 ], # conditions | 2754 ], # conditions |
2725 }, # target browser_tests | 2755 }, # target browser_tests |
2726 { | 2756 { |
2727 # Executable that runs safebrowsing test in a new process. | 2757 # Executable that runs safebrowsing test in a new process. |
2728 'target_name': 'safe_browsing_tests', | 2758 'target_name': 'safe_browsing_tests', |
2729 'type': 'executable', | 2759 'type': 'executable', |
(...skipping 1401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4131 ] | 4161 ] |
4132 }], # 'coverage!=0' | 4162 }], # 'coverage!=0' |
4133 ], # 'conditions' | 4163 ], # 'conditions' |
4134 } | 4164 } |
4135 | 4165 |
4136 # Local Variables: | 4166 # Local Variables: |
4137 # tab-width:2 | 4167 # tab-width:2 |
4138 # indent-tabs-mode:nil | 4168 # indent-tabs-mode:nil |
4139 # End: | 4169 # End: |
4140 # vim: set expandtab tabstop=2 shiftwidth=2: | 4170 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |