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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/chromevox_tests.gypi

Issue 320753002: Support javascript gtests in an extension background page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixup comment Created 6 years, 6 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 'includes': [ 6 'includes': [
7 '../../../../js_unittest_vars.gypi', 7 '../../../../js_unittest_vars.gypi',
8 ], 8 ],
9 'variables': { 9 'variables': {
10 'chromevox_test_deps_js_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/re sources/chromeos/chromevox/test_deps.js', 10 'chromevox_test_deps_js_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/re sources/chromeos/chromevox/test_deps.js',
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 '--deps_js', '<(chromevox_test_deps_js_file)', 64 '--deps_js', '<(chromevox_test_deps_js_file)',
65 '<(mock_js)', 65 '<(mock_js)',
66 '<(test_api_js)', 66 '<(test_api_js)',
67 '<(js2gtest)', 67 '<(js2gtest)',
68 'webui', 68 'webui',
69 '<(RULE_INPUT_PATH)', 69 '<(RULE_INPUT_PATH)',
70 'chrome/browser/resources/chromeos/chromevox/<(RULE_INPUT_DIRNAME)/< (RULE_INPUT_ROOT).js', 70 'chrome/browser/resources/chromeos/chromevox/<(RULE_INPUT_DIRNAME)/< (RULE_INPUT_ROOT).js',
71 '<@(_outputs)', 71 '<@(_outputs)',
72 ], 72 ],
73 }, 73 },
74 {
75 # A JavaScript test that runs in the ChromeVox background page's
76 # isolate.
77 'rule_name': 'js2extension',
78 'extension': 'extjs',
79 'msvs_external_rule': 1,
80 'inputs': [
81 '<(gypv8sh)',
82 '<(PRODUCT_DIR)/d8<(EXECUTABLE_SUFFIX)',
83 '<(mock_js)',
84 '<(test_api_js)',
85 '<(js2gtest)',
86 'testing/chromevox_unittest_base.js',
87 ],
88 'outputs': [
89 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-gen.cc ',
90 '<(PRODUCT_DIR)/test_data/chrome/browser/resources/chromeos/chromevo x/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).extjs',
91 ],
92 'process_outputs_as_sources': 1,
93 'action': [
94 'python',
95 '<(gypv8sh)',
96 '<(PRODUCT_DIR)/d8<(EXECUTABLE_SUFFIX)',
97 '--deps_js', '<(chromevox_test_deps_js_file)',
Peter Lundblad 2014/06/11 16:45:04 Need to remove deps file here as well.
Peter Lundblad 2014/06/11 16:45:04 Need to remove deps file here as well.
Peter Lundblad 2014/06/11 16:45:04 Need to remove deps file here as well.
David Tseng 2014/06/11 17:52:54 Done.
98 '<(mock_js)',
99 '<(test_api_js)',
100 '<(js2gtest)',
101 'extension',
102 '<(RULE_INPUT_PATH)',
103 'chrome/browser/resources/chromeos/chromevox/<(RULE_INPUT_DIRNAME)/< (RULE_INPUT_ROOT).extjs',
104 '<@(_outputs)',
105 ],
106 },
74 ], 107 ],
75 'sources': [ 108 'sources': [
76 '<(DEPTH)/chrome/browser/ui/webui/web_ui_test_handler.cc', 109 '<(DEPTH)/chrome/browser/ui/webui/web_ui_test_handler.cc',
77 '<(DEPTH)/chrome/browser/ui/webui/web_ui_test_handler.h', 110 '<(DEPTH)/chrome/browser/ui/webui/web_ui_test_handler.h',
78 '<(DEPTH)/chrome/test/base/browser_tests_main.cc', 111 '<(DEPTH)/chrome/test/base/browser_tests_main.cc',
112 '<(DEPTH)/chrome/test/base/extension_load_waiter.cc',
113 '<(DEPTH)/chrome/test/base/extension_load_waiter.h',
114 '<(DEPTH)/chrome/test/base/extension_js_browser_test.cc',
115 '<(DEPTH)/chrome/test/base/extension_js_browser_test.h',
116 '<(DEPTH)/chrome/test/base/javascript_browser_test.cc',
117 '<(DEPTH)/chrome/test/base/javascript_browser_test.h',
79 '<(DEPTH)/chrome/test/base/test_chrome_web_ui_controller_factory.cc', 118 '<(DEPTH)/chrome/test/base/test_chrome_web_ui_controller_factory.cc',
80 '<(DEPTH)/chrome/test/base/test_chrome_web_ui_controller_factory.h', 119 '<(DEPTH)/chrome/test/base/test_chrome_web_ui_controller_factory.h',
81 '<(DEPTH)/chrome/test/base/web_ui_browser_test.cc', 120 '<(DEPTH)/chrome/test/base/web_ui_browser_test.cc',
82 '<(DEPTH)/chrome/test/base/web_ui_browser_test.h', 121 '<(DEPTH)/chrome/test/base/web_ui_browser_test.h',
122 '<(DEPTH)/chrome/browser/extensions/browsertest_util.cc',
123 '<(DEPTH)/chrome/browser/extensions/browsertest_util.h',
83 124
84 'common/aria_util_test.js', 125 'common/aria_util_test.js',
85 'common/cursor_selection_test.js', 126 'common/cursor_selection_test.js',
86 'common/editable_text_area_shadow_test.js', 127 'common/editable_text_area_shadow_test.js',
87 'common/key_sequence_test.js', 128 'common/key_sequence_test.js',
88 'common/math_semantic_tree_test.js', 129 'common/math_semantic_tree_test.js',
89 'common/selection_util_test.js', 130 'common/selection_util_test.js',
131
132 '<(DEPTH)/chrome/browser/resources/chromeos/chromevox2/cvox2/background/ background.extjs',
Peter Lundblad 2014/06/11 16:45:04 nit: Use .. here instead of the full path to make
Peter Lundblad 2014/06/11 16:45:04 nit: Use .. here instead of the full path to make
Peter Lundblad 2014/06/11 16:45:04 nit: Use .. here instead of the full path to make
David Tseng 2014/06/11 17:52:54 Done.
90 ], 133 ],
91 }, # target chromevox_tests 134 }, # target chromevox_tests
92 { 135 {
93 'target_name': 'chromevox_test_deps_js', 136 'target_name': 'chromevox_test_deps_js',
94 'type': 'none', 137 'type': 'none',
95 'actions': [ 138 'actions': [
96 { 139 {
97 'action_name': 'deps_js', 140 'action_name': 'deps_js',
98 'message': 'Generate <(_target_name)', 141 'message': 'Generate <(_target_name)',
99 'variables': { 142 'variables': {
(...skipping 17 matching lines...) Expand all
117 '-w', '<(DEPTH)/<(closure_dir):<(closure_dir)', 160 '-w', '<(DEPTH)/<(closure_dir):<(closure_dir)',
118 '-w', ':chrome/browser/resources/chromeos/chromevox', 161 '-w', ':chrome/browser/resources/chromeos/chromevox',
119 '-o', '<(chromevox_test_deps_js_file)', 162 '-o', '<(chromevox_test_deps_js_file)',
120 '<@(js_files)', 163 '<@(js_files)',
121 ], 164 ],
122 }, 165 },
123 ], 166 ],
124 }, 167 },
125 ], 168 ],
126 } 169 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698