OLD | NEW |
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 12 matching lines...) Expand all Loading... |
23 '<(DEPTH)/chrome/chrome.gyp:test_support_common', | 23 '<(DEPTH)/chrome/chrome.gyp:test_support_common', |
24 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', | 24 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', |
25 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings', | 25 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings', |
26 '<(DEPTH)/chrome/chrome_resources.gyp:packed_extra_resources', | 26 '<(DEPTH)/chrome/chrome_resources.gyp:packed_extra_resources', |
27 '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources', | 27 '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources', |
28 '<(DEPTH)/testing/gmock.gyp:gmock', | 28 '<(DEPTH)/testing/gmock.gyp:gmock', |
29 '<(DEPTH)/testing/gtest.gyp:gtest', | 29 '<(DEPTH)/testing/gtest.gyp:gtest', |
30 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', | 30 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
31 'chromevox_test_deps_js', | 31 'chromevox_test_deps_js', |
32 ], | 32 ], |
| 33 'conditions': [ |
| 34 [ 'cld_version==0 or cld_version==2', { |
| 35 'dependencies': [ |
| 36 # Interactive tests should use whatever CLD2 data access mode that |
| 37 # the application embedder is using. |
| 38 '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_platform_impl', ], |
| 39 }], |
| 40 ], |
33 'defines': [ | 41 'defines': [ |
34 'HAS_OUT_OF_PROC_TEST_RUNNER', | 42 'HAS_OUT_OF_PROC_TEST_RUNNER', |
35 ], | 43 ], |
36 'include_dirs': [ | 44 'include_dirs': [ |
37 '<(DEPTH)', | 45 '<(DEPTH)', |
38 '<(SHARED_INTERMEDIATE_DIR)', | 46 '<(SHARED_INTERMEDIATE_DIR)', |
39 ], | 47 ], |
40 'rules': [ | 48 'rules': [ |
41 { | 49 { |
42 # A JavaScript test that runs in an environment similar to a webui | 50 # A JavaScript test that runs in an environment similar to a webui |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 '<@(js_files)', | 251 '<@(js_files)', |
244 ], | 252 ], |
245 }, | 253 }, |
246 ], | 254 ], |
247 'dependencies': [ | 255 'dependencies': [ |
248 'chromevox_test_messages_js', | 256 'chromevox_test_messages_js', |
249 ], | 257 ], |
250 }, # target chromevox_test_deps_js | 258 }, # target chromevox_test_deps_js |
251 ], | 259 ], |
252 } | 260 } |
OLD | NEW |