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

Side by Side Diff: chrome/js_unittest_rules.gypi

Issue 394023002: Retire gtestjs unit tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Handle merging from master Created 6 years, 5 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 | « no previous file | chrome/test/base/run_all_remoting_unittests.cc » ('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
28 # src/chrome/test/base/v8_unit_test.cc to setup and run the tests. 28 # src/chrome/test/base/v8_unit_test.cc to setup and run the tests.
29 #
30 # See src/chrome/test/base/run_all_remoting_unittests.cc for an example.
31 29
32 { 30 {
33 'dependencies': [ 31 'dependencies': [
34 # Used by rule js2unit below. 32 # Used by rule js2unit below.
35 '../v8/src/d8.gyp:d8#host', 33 '../v8/src/d8.gyp:d8#host',
36 ], 34 ],
37 'rules': [ 35 'rules': [
38 { 36 {
39 'rule_name': 'copyjs', 37 'rule_name': 'copyjs',
40 'extension': 'js', 38 'extension': 'js',
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 'python', 70 'python',
73 '<@(_inputs)', 71 '<@(_inputs)',
74 'unit', 72 'unit',
75 '<(RULE_INPUT_PATH)', 73 '<(RULE_INPUT_PATH)',
76 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).<(_extension)', 74 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).<(_extension)',
77 '<@(_outputs)', 75 '<@(_outputs)',
78 ], 76 ],
79 }, 77 },
80 ], 78 ],
81 } 79 }
OLDNEW
« no previous file with comments | « no previous file | chrome/test/base/run_all_remoting_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698