Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: chrome/chrome_tests.gypi

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

Powered by Google App Engine
This is Rietveld 408576698