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

Side by Side Diff: chrome/js_unittest_rules.gypi

Issue 11664011: Add a mechanism to ignore certain elements for accessibility audit on a per-test basis. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update use of gypv8sh in js_unittest_rules.gypi to point to axs_testing.js Created 7 years, 11 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/js_unittest_vars.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 (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 # This file defines rules that allow you to include JavaScript tests in 5 # This file defines rules that allow you to include JavaScript tests in
6 # your unittests target. 6 # your unittests target.
7 7
8 # To add JS unittests to an existing unittest target, first include 8 # To add JS unittests to an existing unittest target, first include
9 # 'js_unittest_vars.gypi' at the top of your GYP file to define the required 9 # 'js_unittest_vars.gypi' at the top of your GYP file to define the required
10 # variables: 10 # variables:
11 # 11 #
12 # 'includes': [ 12 # 'includes': [
13 # '<(DEPTH)/chrome/js_unittest_vars.gypi', 13 # '<(DEPTH)/chrome/js_unittest_vars.gypi',
14 # ], 14 # ],
15 # 15 #
16 # Then include this rule file in each of your unittest targets: 16 # Then include this rule file in each of your unittest targets:
17 # 17 #
18 # { 18 # {
19 # 'target_name': 'my_unittests', 19 # 'target_name': 'my_unittests',
20 # ... 20 # ...
21 # 'includes': [ 21 # 'includes': [
22 # '<(DEPTH)/chrome/js_unittest_rules.gypi', 22 # '<(DEPTH)/chrome/js_unittest_rules.gypi',
23 # ], 23 # ],
24 # } 24 # }
25 # 25 #
26 # Note that when you run your TestSuite, you'll need to call 26 # Note that when you run your TestSuite, you'll need to call
27 # chrome::RegisterPathProvider(). These path providers are required by 27 # chrome::RegisterPathProvider(). These path providers are required by
(...skipping 21 matching lines...) Expand all
49 ], 49 ],
50 }, 50 },
51 { 51 {
52 'rule_name': 'js2unit', 52 'rule_name': 'js2unit',
53 'extension': 'gtestjs', 53 'extension': 'gtestjs',
54 'msvs_external_rule': 1, 54 'msvs_external_rule': 1,
55 'inputs': [ 55 'inputs': [
56 '<(gypv8sh)', 56 '<(gypv8sh)',
57 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)', 57 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)',
58 '<(mock_js)', 58 '<(mock_js)',
59 '<(accessibility_audit_js)',
59 '<(test_api_js)', 60 '<(test_api_js)',
60 '<(js2gtest)', 61 '<(js2gtest)',
61 ], 62 ],
62 'outputs': [ 63 'outputs': [
63 '<(INTERMEDIATE_DIR)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-gen .cc', 64 '<(INTERMEDIATE_DIR)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-gen .cc',
64 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT ).<(_extension)', 65 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT ).<(_extension)',
65 ], 66 ],
66 'process_outputs_as_sources': 1, 67 'process_outputs_as_sources': 1,
67 'action': [ 68 'action': [
68 'python', 69 'python',
69 '<@(_inputs)', 70 '<@(_inputs)',
70 'unit', 71 'unit',
71 '<(RULE_INPUT_PATH)', 72 '<(RULE_INPUT_PATH)',
72 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).<(_extension)', 73 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).<(_extension)',
73 '<@(_outputs)', 74 '<@(_outputs)',
74 ], 75 ],
75 }, 76 },
76 ], 77 ],
77 } 78 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/js_unittest_vars.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698