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

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

Issue 541403002: Rename ChromeVox tests and utilities for consistency. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Clarify comment in .gypi file. Created 6 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/common/aria_util_test.js » ('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 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 22 matching lines...) Expand all
33 'defines': [ 33 'defines': [
34 'HAS_OUT_OF_PROC_TEST_RUNNER', 34 'HAS_OUT_OF_PROC_TEST_RUNNER',
35 ], 35 ],
36 'include_dirs': [ 36 'include_dirs': [
37 '<(DEPTH)', 37 '<(DEPTH)',
38 '<(SHARED_INTERMEDIATE_DIR)', 38 '<(SHARED_INTERMEDIATE_DIR)',
39 ], 39 ],
40 'rules': [ 40 'rules': [
41 { 41 {
42 # A JavaScript test that runs in an environment similar to a webui 42 # A JavaScript test that runs in an environment similar to a webui
43 # browser test. 43 # browser test. This is meant for unit tests that test individual
44 # components without depending on the ChromeVox extension.
44 'rule_name': 'js2webui', 45 'rule_name': 'js2webui',
45 'extension': 'js', 46 'extension': 'unitjs',
46 'msvs_external_rule': 1, 47 'msvs_external_rule': 1,
47 'inputs': [ 48 'inputs': [
48 '<(gypv8sh)', 49 '<(gypv8sh)',
49 '<(PRODUCT_DIR)/d8<(EXECUTABLE_SUFFIX)', 50 '<(PRODUCT_DIR)/d8<(EXECUTABLE_SUFFIX)',
50 '<(mock_js)', 51 '<(mock_js)',
51 '<(test_api_js)', 52 '<(test_api_js)',
52 '<(js2gtest)', 53 '<(js2gtest)',
53 '<(chromevox_test_deps_js_file)', 54 '<(chromevox_test_deps_js_file)',
54 'testing/chromevox_unittest_base.js', 55 'testing/chromevox_unittest_base.js',
55 ], 56 ],
56 'outputs': [ 57 'outputs': [
57 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-gen.cc ', 58 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-gen.cc ',
58 '<(PRODUCT_DIR)/test_data/chrome/browser/resources/chromeos/chromevo x/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js', 59 '<(PRODUCT_DIR)/test_data/chrome/browser/resources/chromeos/chromevo x/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
59 ], 60 ],
60 'process_outputs_as_sources': 1, 61 'process_outputs_as_sources': 1,
61 'action': [ 62 'action': [
62 'python', 63 'python',
63 '<(gypv8sh)', 64 '<(gypv8sh)',
64 '<(PRODUCT_DIR)/d8<(EXECUTABLE_SUFFIX)', 65 '<(PRODUCT_DIR)/d8<(EXECUTABLE_SUFFIX)',
65 '--deps_js', '<(chromevox_test_deps_js_file)', 66 '--deps_js', '<(chromevox_test_deps_js_file)',
66 '<(mock_js)', 67 '<(mock_js)',
67 '<(test_api_js)', 68 '<(test_api_js)',
68 '<(js2gtest)', 69 '<(js2gtest)',
69 'webui', 70 'webui',
70 '<(RULE_INPUT_PATH)', 71 '<(RULE_INPUT_PATH)',
71 'chrome/browser/resources/chromeos/chromevox/<(RULE_INPUT_DIRNAME)/< (RULE_INPUT_ROOT).js', 72 'chrome/browser/resources/chromeos/chromevox/<(RULE_INPUT_DIRNAME)/< (RULE_INPUT_ROOT).unitjs',
72 '<@(_outputs)', 73 '<@(_outputs)',
73 ], 74 ],
74 }, 75 },
75 { 76 {
76 # A JavaScript test that runs in the ChromeVox background page's 77 # A JavaScript test that runs in the ChromeVox background page's
77 # isolate. 78 # isolate.
78 'rule_name': 'js2extension', 79 'rule_name': 'js2extension',
79 'extension': 'extjs', 80 'extension': 'extjs',
80 'msvs_external_rule': 1, 81 'msvs_external_rule': 1,
81 'inputs': [ 82 'inputs': [
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 '<(DEPTH)/chrome/test/base/extension_js_browser_test.h', 116 '<(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.cc',
117 '<(DEPTH)/chrome/test/base/javascript_browser_test.h', 118 '<(DEPTH)/chrome/test/base/javascript_browser_test.h',
118 '<(DEPTH)/chrome/test/base/test_chrome_web_ui_controller_factory.cc', 119 '<(DEPTH)/chrome/test/base/test_chrome_web_ui_controller_factory.cc',
119 '<(DEPTH)/chrome/test/base/test_chrome_web_ui_controller_factory.h', 120 '<(DEPTH)/chrome/test/base/test_chrome_web_ui_controller_factory.h',
120 '<(DEPTH)/chrome/test/base/web_ui_browser_test.cc', 121 '<(DEPTH)/chrome/test/base/web_ui_browser_test.cc',
121 '<(DEPTH)/chrome/test/base/web_ui_browser_test.h', 122 '<(DEPTH)/chrome/test/base/web_ui_browser_test.h',
122 '<(DEPTH)/chrome/browser/extensions/browsertest_util.cc', 123 '<(DEPTH)/chrome/browser/extensions/browsertest_util.cc',
123 '<(DEPTH)/chrome/browser/extensions/browsertest_util.h', 124 '<(DEPTH)/chrome/browser/extensions/browsertest_util.h',
124 125
125 'common/aria_util_test.js', 126 'common/aria_util_test.unitjs',
126 'common/braille_text_handler_test.js', 127 'common/braille_text_handler_test.unitjs',
127 'common/braille_util_test.js', 128 'common/braille_util_test.unitjs',
128 'common/command_store_test.js', 129 'common/command_store_test.unitjs',
129 'common/cursor_selection_test.js', 130 'common/cursor_selection_test.unitjs',
130 'common/dom_util_test.js', 131 'common/dom_util_test.unitjs',
131 'common/editable_text_area_shadow_test.js', 132 'common/editable_text_area_shadow_test.unitjs',
132 'common/editable_text_test.js', 133 'common/editable_text_test.unitjs',
133 'common/find_util_test.js', 134 'common/find_util_test.unitjs',
134 'common/key_sequence_test.js', 135 'common/key_sequence_test.unitjs',
135 'common/math_semantic_tree_test.js', 136 'common/math_semantic_tree_test.unitjs',
136 'common/page_selection_test.js', 137 'common/page_selection_test.unitjs',
137 'common/selection_util_test.js', 138 'common/selection_util_test.unitjs',
138 'common/spannable_test.js', 139 'common/spannable_test.unitjs',
139 ], 140 ],
140 'conditions': [ 141 'conditions': [
141 ['use_chromevox_next==1', { 142 ['use_chromevox_next==1', {
142 'sources': ['../chromevox2/cvox2/background/background.extjs'], 143 'sources': ['../chromevox2/cvox2/background/background.extjs'],
143 }], 144 }],
144 ], 145 ],
145 }, # target chromevox_tests 146 }, # target chromevox_tests
146 { 147 {
147 'target_name': 'chromevox_test_messages_js', 148 'target_name': 'chromevox_test_messages_js',
148 'type': 'none', 149 'type': 'none',
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 '<@(js_files)', 203 '<@(js_files)',
203 ], 204 ],
204 }, 205 },
205 ], 206 ],
206 'dependencies': [ 207 'dependencies': [
207 'chromevox_test_messages_js', 208 'chromevox_test_messages_js',
208 ], 209 ],
209 }, # target chromevox_test_deps_js 210 }, # target chromevox_test_deps_js
210 ], 211 ],
211 } 212 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/common/aria_util_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698