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

Side by Side Diff: chrome/chrome_tests.gypi

Issue 8515016: WebUI test framework: fix Mock4JS verification, allow chrome.send passthrough. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 9 years, 1 month 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
« no previous file with comments | « no previous file | chrome/test/data/webui/chrome_send_browsertest.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 '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',
10 'mock_js': 'third_party/mock4js/mock4js.js', 9 'mock_js': 'third_party/mock4js/mock4js.js',
11 'test_api_js': 'test/data/webui/test_api.js', 10 'test_api_js': 'test/data/webui/test_api.js',
12 11
13 'pyautolib_sources': [ 12 'pyautolib_sources': [
14 'app/chrome_command_ids.h', 13 'app/chrome_command_ids.h',
15 'app/chrome_dll_resource.h', 14 'app/chrome_dll_resource.h',
16 'common/automation_constants.h', 15 'common/automation_constants.h',
17 'common/pref_names.cc', 16 'common/pref_names.cc',
18 'common/pref_names.h', 17 'common/pref_names.h',
19 'test/automation/browser_proxy.cc', 18 'test/automation/browser_proxy.cc',
(...skipping 1986 matching lines...) Expand 10 before | Expand all | Expand 10 after
2006 'extension': 'gtestjs', 2005 'extension': 'gtestjs',
2007 'msvs_external_rule': 1, 2006 'msvs_external_rule': 1,
2008 'inputs': [ 2007 'inputs': [
2009 '<(gypv8sh)', 2008 '<(gypv8sh)',
2010 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)', 2009 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)',
2011 '<(mock_js)', 2010 '<(mock_js)',
2012 '<(test_api_js)', 2011 '<(test_api_js)',
2013 '<(js2gtest)', 2012 '<(js2gtest)',
2014 ], 2013 ],
2015 'outputs': [ 2014 'outputs': [
2016 '<(js2gtest_out_dir)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT) .cc', 2015 '<(INTERMEDIATE_DIR)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT) -gen.cc',
2017 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ ROOT).<(_extension)', 2016 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ ROOT).<(_extension)',
2018 ], 2017 ],
2019 'process_outputs_as_sources': 1, 2018 'process_outputs_as_sources': 1,
2020 'action': [ 2019 'action': [
2021 'python', 2020 'python',
2022 '<@(_inputs)', 2021 '<@(_inputs)',
2023 'unit', 2022 'unit',
2024 '<(RULE_INPUT_PATH)', 2023 '<(RULE_INPUT_PATH)',
2025 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).<(_extension)', 2024 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).<(_extension)',
2026 '<@(_outputs)', 2025 '<@(_outputs)',
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
2663 'test/automation/dom_automation_browsertest.cc', 2662 'test/automation/dom_automation_browsertest.cc',
2664 'test/base/in_process_browser_test_browsertest.cc', 2663 'test/base/in_process_browser_test_browsertest.cc',
2665 'test/base/chrome_render_view_test.cc', 2664 'test/base/chrome_render_view_test.cc',
2666 'test/base/chrome_render_view_test.h', 2665 'test/base/chrome_render_view_test.h',
2667 'test/base/chrome_test_launcher.cc', 2666 'test/base/chrome_test_launcher.cc',
2668 'test/data/webui/assertions.js', 2667 'test/data/webui/assertions.js',
2669 'test/data/webui/async_gen-inl.h', 2668 'test/data/webui/async_gen-inl.h',
2670 'test/data/webui/async_gen.js', 2669 'test/data/webui/async_gen.js',
2671 'test/data/webui/certificate_viewer_dialog_test.js', 2670 'test/data/webui/certificate_viewer_dialog_test.js',
2672 'test/data/webui/certificate_viewer_ui_test-inl.h', 2671 'test/data/webui/certificate_viewer_ui_test-inl.h',
2672 'test/data/webui/chrome_send_browsertest.cc',
2673 'test/data/webui/chrome_send_browsertest.h',
2674 'test/data/webui/chrome_send_browsertest.js',
2675 'test/data/webui/mock4js_browsertest.js',
2673 'test/data/webui/ntp4.js', 2676 'test/data/webui/ntp4.js',
2674 'test/data/webui/print_preview.js', 2677 'test/data/webui/print_preview.js',
2675 # TODO(craig): Rename this and run from base_unittests when the test 2678 # TODO(craig): Rename this and run from base_unittests when the test
2676 # is safe to run there. See http://crbug.com/78722 for details. 2679 # is safe to run there. See http://crbug.com/78722 for details.
2677 '../base/files/file_path_watcher_browsertest.cc', 2680 '../base/files/file_path_watcher_browsertest.cc',
2678 '../content/app/startup_helper_win.cc', 2681 '../content/app/startup_helper_win.cc',
2679 '../content/browser/child_process_security_policy_browsertest.cc', 2682 '../content/browser/child_process_security_policy_browsertest.cc',
2680 '../content/browser/device_orientation/device_orientation_browsertest.cc ', 2683 '../content/browser/device_orientation/device_orientation_browsertest.cc ',
2681 '../content/browser/download/mhtml_generation_browsertest.cc', 2684 '../content/browser/download/mhtml_generation_browsertest.cc',
2682 '../content/browser/file_system/file_system_browsertest.cc', 2685 '../content/browser/file_system/file_system_browsertest.cc',
(...skipping 20 matching lines...) Expand all
2703 'extension': 'js', 2706 'extension': 'js',
2704 'msvs_external_rule': 1, 2707 'msvs_external_rule': 1,
2705 'inputs': [ 2708 'inputs': [
2706 '<(gypv8sh)', 2709 '<(gypv8sh)',
2707 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)', 2710 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)',
2708 '<(mock_js)', 2711 '<(mock_js)',
2709 '<(test_api_js)', 2712 '<(test_api_js)',
2710 '<(js2gtest)', 2713 '<(js2gtest)',
2711 ], 2714 ],
2712 'outputs': [ 2715 'outputs': [
2713 '<(js2gtest_out_dir)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT) .cc', 2716 '<(INTERMEDIATE_DIR)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT) -gen.cc',
2714 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ ROOT).js', 2717 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ ROOT).js',
2715 ], 2718 ],
2716 'process_outputs_as_sources': 1, 2719 'process_outputs_as_sources': 1,
2717 'action': [ 2720 'action': [
2718 'python', 2721 'python',
2719 '<@(_inputs)', 2722 '<@(_inputs)',
2720 'webui', 2723 'webui',
2721 '<(RULE_INPUT_PATH)', 2724 '<(RULE_INPUT_PATH)',
2722 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js', 2725 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
2723 '<@(_outputs)', 2726 '<@(_outputs)',
(...skipping 1523 matching lines...) Expand 10 before | Expand all | Expand 10 after
4247 # Use outputs of this action as inputs for the main target build. 4250 # Use outputs of this action as inputs for the main target build.
4248 # Seems as a misnomer but makes this happy on Linux (scons). 4251 # Seems as a misnomer but makes this happy on Linux (scons).
4249 'process_outputs_as_sources': 1, 4252 'process_outputs_as_sources': 1,
4250 }, 4253 },
4251 ], # 'actions' 4254 ], # 'actions'
4252 }, 4255 },
4253 ] 4256 ]
4254 }], # 'coverage!=0' 4257 }], # 'coverage!=0'
4255 ], # 'conditions' 4258 ], # 'conditions'
4256 } 4259 }
OLDNEW
« no previous file with comments | « no previous file | chrome/test/data/webui/chrome_send_browsertest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698