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

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

Issue 1953233002: Use the v8 shell instead of d8 to compile jstests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename to v8_shell Created 4 years, 7 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 | « build/common.gypi ('k') | chrome/chrome_tests.gypi » ('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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 'conditions': [ 142 'conditions': [
143 ['v8_use_external_startup_data==1', { 143 ['v8_use_external_startup_data==1', {
144 'external_v8': 'y', 144 'external_v8': 'y',
145 }, { 145 }, {
146 'external_v8': 'n', 146 'external_v8': 'n',
147 }], 147 }],
148 ], 148 ],
149 }, 149 },
150 'inputs': [ 150 'inputs': [
151 '<(gypv8sh)', 151 '<(gypv8sh)',
152 '<(PRODUCT_DIR)/d8<(EXECUTABLE_SUFFIX)', 152 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)',
153 '<(mock_js)', 153 '<(mock_js)',
154 '<(test_api_js)', 154 '<(test_api_js)',
155 '<(js2gtest)', 155 '<(js2gtest)',
156 '<(chromevox_test_deps_js_file)', 156 '<(chromevox_test_deps_js_file)',
157 '<@(chromevox_tests_unit_gen_include_sources)', 157 '<@(chromevox_tests_unit_gen_include_sources)',
158 ], 158 ],
159 'outputs': [ 159 'outputs': [
160 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-gen.cc ', 160 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-gen.cc ',
161 '<(PRODUCT_DIR)/test_data/chrome/browser/resources/chromeos/chromevo x/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js', 161 '<(PRODUCT_DIR)/test_data/chrome/browser/resources/chromeos/chromevo x/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
162 ], 162 ],
163 'process_outputs_as_sources': 1, 163 'process_outputs_as_sources': 1,
164 'action': [ 164 'action': [
165 'python', 165 'python',
166 '<(gypv8sh)', 166 '<(gypv8sh)',
167 '<(PRODUCT_DIR)/d8<(EXECUTABLE_SUFFIX)', 167 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)',
168 '--deps_js', '<(chromevox_test_deps_js_file)', 168 '--deps_js', '<(chromevox_test_deps_js_file)',
169 '--external', '<(external_v8)', 169 '--external', '<(external_v8)',
170 '<(mock_js)', 170 '<(mock_js)',
171 '<(test_api_js)', 171 '<(test_api_js)',
172 '<(js2gtest)', 172 '<(js2gtest)',
173 'webui', 173 'webui',
174 '<(RULE_INPUT_PATH)', 174 '<(RULE_INPUT_PATH)',
175 'chrome/browser/resources/chromeos/chromevox/<(RULE_INPUT_DIRNAME)/< (RULE_INPUT_ROOT).unitjs', 175 'chrome/browser/resources/chromeos/chromevox/<(RULE_INPUT_DIRNAME)/< (RULE_INPUT_ROOT).unitjs',
176 '<@(_outputs)', 176 '<@(_outputs)',
177 ], 177 ],
178 }, 178 },
179 { 179 {
180 # A JavaScript test that runs in the ChromeVox background page's 180 # A JavaScript test that runs in the ChromeVox background page's
181 # isolate. 181 # isolate.
182 'rule_name': 'js2extension', 182 'rule_name': 'js2extension',
183 'extension': 'extjs', 183 'extension': 'extjs',
184 'msvs_external_rule': 1, 184 'msvs_external_rule': 1,
185 'variables': { 185 'variables': {
186 'conditions': [ 186 'conditions': [
187 ['v8_use_external_startup_data==1', { 187 ['v8_use_external_startup_data==1', {
188 'external_v8': 'y', 188 'external_v8': 'y',
189 }, { 189 }, {
190 'external_v8': 'n', 190 'external_v8': 'n',
191 }], 191 }],
192 ], 192 ],
193 }, 193 },
194 'inputs': [ 194 'inputs': [
195 '<(gypv8sh)', 195 '<(gypv8sh)',
196 '<(PRODUCT_DIR)/d8<(EXECUTABLE_SUFFIX)', 196 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)',
197 '<(mock_js)', 197 '<(mock_js)',
198 '<(test_api_js)', 198 '<(test_api_js)',
199 '<(js2gtest)', 199 '<(js2gtest)',
200 '<@(chromevox_tests_ext_gen_include_sources)', 200 '<@(chromevox_tests_ext_gen_include_sources)',
201 ], 201 ],
202 'outputs': [ 202 'outputs': [
203 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-gen.cc ', 203 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-gen.cc ',
204 '<(PRODUCT_DIR)/test_data/chrome/browser/resources/chromeos/chromevo x/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).extjs', 204 '<(PRODUCT_DIR)/test_data/chrome/browser/resources/chromeos/chromevo x/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).extjs',
205 ], 205 ],
206 'process_outputs_as_sources': 1, 206 'process_outputs_as_sources': 1,
207 'action': [ 207 'action': [
208 'python', 208 'python',
209 '<(gypv8sh)', 209 '<(gypv8sh)',
210 '<(PRODUCT_DIR)/d8<(EXECUTABLE_SUFFIX)', 210 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)',
211 '--external', '<(external_v8)', 211 '--external', '<(external_v8)',
212 '<(mock_js)', 212 '<(mock_js)',
213 '<(test_api_js)', 213 '<(test_api_js)',
214 '<(js2gtest)', 214 '<(js2gtest)',
215 'extension', 215 'extension',
216 '<(RULE_INPUT_PATH)', 216 '<(RULE_INPUT_PATH)',
217 'chrome/browser/resources/chromeos/chromevox/<(RULE_INPUT_DIRNAME)/< (RULE_INPUT_ROOT).extjs', 217 'chrome/browser/resources/chromeos/chromevox/<(RULE_INPUT_DIRNAME)/< (RULE_INPUT_ROOT).extjs',
218 '<@(_outputs)', 218 '<@(_outputs)',
219 ], 219 ],
220 }, 220 },
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 '<@(js_files)', 284 '<@(js_files)',
285 ], 285 ],
286 }, 286 },
287 ], 287 ],
288 'dependencies': [ 288 'dependencies': [
289 'chromevox_test_messages_js', 289 'chromevox_test_messages_js',
290 ], 290 ],
291 }, # target chromevox_test_deps_js 291 }, # target chromevox_test_deps_js
292 ], 292 ],
293 } 293 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698