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 2214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2225 'sources': [ | 2225 'sources': [ |
2226 'browser/printing/print_system_task_proxy_unittest.cc', | 2226 'browser/printing/print_system_task_proxy_unittest.cc', |
2227 ], | 2227 ], |
2228 }], | 2228 }], |
2229 ], | 2229 ], |
2230 }, | 2230 }, |
2231 { | 2231 { |
2232 # Executable that runs each browser test in a new process. | 2232 # Executable that runs each browser test in a new process. |
2233 'target_name': 'browser_tests', | 2233 'target_name': 'browser_tests', |
2234 'type': 'executable', | 2234 'type': 'executable', |
| 2235 'msvs_cygwin_shell': 0, |
| 2236 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], |
2235 'variables': { | 2237 'variables': { |
2236 'gypv8sh': '../tools/gypv8sh.py', | 2238 'gypv8sh': '../tools/gypv8sh.py', |
2237 'js2webui': 'browser/ui/webui/javascript2webui.js', | 2239 'js2webui': 'browser/ui/webui/javascript2webui.js', |
2238 'js2webui_out_dir': '<(SHARED_INTERMEDIATE_DIR)/js2webui', | 2240 'js2webui_out_dir': '<(SHARED_INTERMEDIATE_DIR)/js2webui', |
2239 'mock_js': 'third_party/mock4js/mock4js.js', | 2241 'mock_js': 'third_party/mock4js/mock4js.js', |
2240 'rule_input_relpath': 'test/data/webui', | |
2241 'test_api_js': 'test/data/webui/test_api.js', | 2242 'test_api_js': 'test/data/webui/test_api.js', |
2242 }, | 2243 }, |
2243 'dependencies': [ | 2244 'dependencies': [ |
2244 'browser', | 2245 'browser', |
2245 'browser/sync/protocol/sync_proto.gyp:sync_proto', | 2246 'browser/sync/protocol/sync_proto.gyp:sync_proto', |
2246 'chrome', | 2247 'chrome', |
2247 'chrome_resources', | 2248 'chrome_resources', |
2248 'chrome_strings', | 2249 'chrome_strings', |
2249 'renderer', | 2250 'renderer', |
2250 'test_support_common', | 2251 'test_support_common', |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2501 'browser/ui/views/browser_actions_container_browsertest.cc', | 2502 'browser/ui/views/browser_actions_container_browsertest.cc', |
2502 'browser/ui/views/dom_view_browsertest.cc', | 2503 'browser/ui/views/dom_view_browsertest.cc', |
2503 'browser/ui/views/file_manager_dialog_browsertest.cc', | 2504 'browser/ui/views/file_manager_dialog_browsertest.cc', |
2504 'browser/ui/views/html_dialog_view_browsertest.cc', | 2505 'browser/ui/views/html_dialog_view_browsertest.cc', |
2505 'browser/ui/webui/chrome_url_data_manager_browsertest.cc', | 2506 'browser/ui/webui/chrome_url_data_manager_browsertest.cc', |
2506 'browser/ui/webui/ntp/most_visited_browsertest.cc', | 2507 'browser/ui/webui/ntp/most_visited_browsertest.cc', |
2507 'browser/ui/webui/test_chrome_web_ui_factory_browsertest.cc', | 2508 'browser/ui/webui/test_chrome_web_ui_factory_browsertest.cc', |
2508 'browser/ui/webui/bidi_checker_web_ui_test.cc', | 2509 'browser/ui/webui/bidi_checker_web_ui_test.cc', |
2509 'browser/ui/webui/bidi_checker_web_ui_test.h', | 2510 'browser/ui/webui/bidi_checker_web_ui_test.h', |
2510 'browser/ui/webui/net_internals_ui_browsertest.cc', | 2511 'browser/ui/webui/net_internals_ui_browsertest.cc', |
| 2512 'browser/ui/webui/options/options_browsertest.js', |
2511 'browser/ui/webui/web_ui_browsertest.cc', | 2513 'browser/ui/webui/web_ui_browsertest.cc', |
2512 'browser/ui/webui/web_ui_browsertest.h', | 2514 'browser/ui/webui/web_ui_browsertest.h', |
2513 'browser/ui/webui/web_ui_test_handler.cc', | 2515 'browser/ui/webui/web_ui_test_handler.cc', |
2514 'browser/ui/webui/web_ui_test_handler.h', | 2516 'browser/ui/webui/web_ui_test_handler.h', |
2515 'common/time_format_browsertest.cc', | 2517 'common/time_format_browsertest.cc', |
2516 'renderer/autofill/autofill_browsertest.cc', | 2518 'renderer/autofill/autofill_browsertest.cc', |
2517 'renderer/autofill/form_autocomplete_browsertest.cc', | 2519 'renderer/autofill/form_autocomplete_browsertest.cc', |
2518 'renderer/autofill/form_autofill_browsertest.cc', | 2520 'renderer/autofill/form_autofill_browsertest.cc', |
2519 'renderer/autofill/password_autofill_manager_browsertest.cc', | 2521 'renderer/autofill/password_autofill_manager_browsertest.cc', |
2520 'renderer/content_settings_observer_browsertest.cc', | 2522 'renderer/content_settings_observer_browsertest.cc', |
2521 'renderer/page_click_tracker_browsertest.cc', | 2523 'renderer/page_click_tracker_browsertest.cc', |
2522 'renderer/print_web_view_helper_browsertest.cc', | 2524 'renderer/print_web_view_helper_browsertest.cc', |
2523 'renderer/safe_browsing/malware_dom_details_browsertest.cc', | 2525 'renderer/safe_browsing/malware_dom_details_browsertest.cc', |
2524 'renderer/safe_browsing/phishing_classifier_browsertest.cc', | 2526 'renderer/safe_browsing/phishing_classifier_browsertest.cc', |
2525 'renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc', | 2527 'renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc', |
2526 'renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc', | 2528 'renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc', |
2527 'renderer/safe_browsing/phishing_thumbnailer_browsertest.cc', | 2529 'renderer/safe_browsing/phishing_thumbnailer_browsertest.cc', |
2528 'renderer/translate_helper_browsertest.cc', | 2530 'renderer/translate_helper_browsertest.cc', |
2529 'test/automation/dom_automation_browsertest.cc', | 2531 'test/automation/dom_automation_browsertest.cc', |
2530 'test/base/in_process_browser_test_browsertest.cc', | 2532 'test/base/in_process_browser_test_browsertest.cc', |
2531 'test/base/chrome_render_view_test.cc', | 2533 'test/base/chrome_render_view_test.cc', |
2532 'test/base/chrome_render_view_test.h', | 2534 'test/base/chrome_render_view_test.h', |
2533 'test/base/chrome_test_launcher.cc', | 2535 'test/base/chrome_test_launcher.cc', |
2534 'test/data/webui/assertions.js', | 2536 'test/data/webui/assertions.js', |
2535 'test/data/webui/async_gen-inl.h', | 2537 'test/data/webui/async_gen-inl.h', |
2536 'test/data/webui/async_gen.js', | 2538 'test/data/webui/async_gen.js', |
2537 'test/data/webui/certificate_viewer_dialog_test.js', | 2539 'test/data/webui/certificate_viewer_dialog_test.js', |
2538 'test/data/webui/certificate_viewer_ui_test-inl.h', | 2540 'test/data/webui/certificate_viewer_ui_test-inl.h', |
2539 'test/data/webui/ntp4.js', | 2541 'test/data/webui/ntp4.js', |
2540 'test/data/webui/options.js', | |
2541 'test/data/webui/print_preview.js', | 2542 'test/data/webui/print_preview.js', |
2542 # TODO(craig): Rename this and run from base_unittests when the test | 2543 # TODO(craig): Rename this and run from base_unittests when the test |
2543 # is safe to run there. See http://crbug.com/78722 for details. | 2544 # is safe to run there. See http://crbug.com/78722 for details. |
2544 '../base/files/file_path_watcher_browsertest.cc', | 2545 '../base/files/file_path_watcher_browsertest.cc', |
2545 '../content/app/startup_helper_win.cc', | 2546 '../content/app/startup_helper_win.cc', |
2546 '../content/browser/child_process_security_policy_browsertest.cc', | 2547 '../content/browser/child_process_security_policy_browsertest.cc', |
2547 '../content/browser/device_orientation/device_orientation_browsertest.cc
', | 2548 '../content/browser/device_orientation/device_orientation_browsertest.cc
', |
2548 '../content/browser/download/mhtml_generation_browsertest.cc', | 2549 '../content/browser/download/mhtml_generation_browsertest.cc', |
2549 '../content/browser/file_system/file_system_browsertest.cc', | 2550 '../content/browser/file_system/file_system_browsertest.cc', |
2550 '../content/browser/in_process_webkit/dom_storage_browsertest.cc', | 2551 '../content/browser/in_process_webkit/dom_storage_browsertest.cc', |
2551 '../content/browser/in_process_webkit/indexed_db_browsertest.cc', | 2552 '../content/browser/in_process_webkit/indexed_db_browsertest.cc', |
2552 '../content/browser/plugin_service_browsertest.cc', | 2553 '../content/browser/plugin_service_browsertest.cc', |
2553 '../content/browser/renderer_host/render_process_host_browsertest.cc', | 2554 '../content/browser/renderer_host/render_process_host_browsertest.cc', |
2554 '../content/browser/renderer_host/render_process_host_browsertest.h', | 2555 '../content/browser/renderer_host/render_process_host_browsertest.h', |
2555 '../content/browser/renderer_host/render_view_host_browsertest.cc', | 2556 '../content/browser/renderer_host/render_view_host_browsertest.cc', |
2556 '../content/browser/renderer_host/render_view_host_manager_browsertest.c
c', | 2557 '../content/browser/renderer_host/render_view_host_manager_browsertest.c
c', |
2557 '../content/browser/renderer_host/resource_dispatcher_host_browsertest.c
c', | 2558 '../content/browser/renderer_host/resource_dispatcher_host_browsertest.c
c', |
2558 '../content/browser/speech/speech_input_browsertest.cc', | 2559 '../content/browser/speech/speech_input_browsertest.cc', |
2559 '../content/renderer/render_view_browsertest.cc', | 2560 '../content/renderer/render_view_browsertest.cc', |
2560 '../content/renderer/render_view_browsertest_mac.mm', | 2561 '../content/renderer/render_view_browsertest_mac.mm', |
2561 '../content/test/render_widget_browsertest.cc', | 2562 '../content/test/render_widget_browsertest.cc', |
2562 '../content/test/render_widget_browsertest.h', | 2563 '../content/test/render_widget_browsertest.h', |
2563 '../content/test/test_launcher.cc', | 2564 '../content/test/test_launcher.cc', |
2564 '../content/test/test_launcher.h', | 2565 '../content/test/test_launcher.h', |
2565 ], | 2566 ], |
2566 'rules': [ | 2567 'rules': [ |
2567 { | 2568 { |
2568 'rule_name': 'js2webui', | 2569 'rule_name': 'js2webui', |
2569 'extension': 'js', | 2570 'extension': 'js', |
| 2571 'msvs_external_rule': 1, |
2570 'inputs': [ | 2572 'inputs': [ |
2571 '<(gypv8sh)', | 2573 '<(gypv8sh)', |
2572 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)', | 2574 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)', |
2573 '<(mock_js)', | 2575 '<(mock_js)', |
2574 '<(test_api_js)', | 2576 '<(test_api_js)', |
2575 '<(js2webui)', | 2577 '<(js2webui)', |
2576 ], | 2578 ], |
2577 'outputs': [ | 2579 'outputs': [ |
2578 '<(js2webui_out_dir)/chrome/<(rule_input_relpath)/<(RULE_INPUT_ROOT)
.cc', | 2580 '<(js2webui_out_dir)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)
.cc', |
| 2581 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_
ROOT).js', |
2579 ], | 2582 ], |
2580 'process_outputs_as_sources': 1, | 2583 'process_outputs_as_sources': 1, |
2581 'action': [ | 2584 'action': [ |
2582 'python', '<@(_inputs)', '<(RULE_INPUT_PATH)', '<@(_outputs)', | 2585 'python', |
| 2586 '<@(_inputs)', |
| 2587 '<(RULE_INPUT_PATH)', |
| 2588 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js', |
| 2589 '<@(_outputs)', |
2583 ], | 2590 ], |
2584 }, | 2591 }, |
2585 ], | 2592 ], |
2586 'conditions': [ | 2593 'conditions': [ |
2587 ['chromeos==0', { | 2594 ['chromeos==0', { |
2588 'sources/': [ | 2595 'sources/': [ |
2589 ['exclude', '^browser/chromeos'], | 2596 ['exclude', '^browser/chromeos'], |
2590 ], | 2597 ], |
2591 'sources!': [ | 2598 'sources!': [ |
2592 'browser/chromeos/media/media_player_browsertest.cc', | 2599 'browser/chromeos/media/media_player_browsertest.cc', |
(...skipping 1476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4069 # Use outputs of this action as inputs for the main target build. | 4076 # Use outputs of this action as inputs for the main target build. |
4070 # Seems as a misnomer but makes this happy on Linux (scons). | 4077 # Seems as a misnomer but makes this happy on Linux (scons). |
4071 'process_outputs_as_sources': 1, | 4078 'process_outputs_as_sources': 1, |
4072 }, | 4079 }, |
4073 ], # 'actions' | 4080 ], # 'actions' |
4074 }, | 4081 }, |
4075 ] | 4082 ] |
4076 }], # 'coverage!=0' | 4083 }], # 'coverage!=0' |
4077 ], # 'conditions' | 4084 ], # 'conditions' |
4078 } | 4085 } |
OLD | NEW |