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

Side by Side Diff: chrome/js_unittest_rules.gypi

Issue 8599010: Setup JS unittests for Chromoting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move JS unittest vars/rules into gypis Created 9 years, 1 month 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
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 {
6 'rules': [
7 {
8 'rule_name': 'copyjs',
9 'extension': 'js',
10 'msvs_external_rule': 1,
11 'inputs': [
12 '<(DEPTH)/build/cp.py',
13 ],
14 'outputs': [
15 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT ).<(_extension)',
16 ],
17 'action': [
18 'python',
19 '<@(_inputs)',
20 '<(RULE_INPUT_PATH)',
21 '<@(_outputs)',
22 ],
23 },
24 {
25 'rule_name': 'js2unit',
26 'extension': 'gtestjs',
27 'msvs_external_rule': 1,
28 'inputs': [
29 '<(gypv8sh)',
30 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)',
31 '<(mock_js)',
32 '<(test_api_js)',
33 '<(js2gtest)',
34 ],
35 'outputs': [
36 '<(INTERMEDIATE_DIR)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-gen .cc',
37 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT ).<(_extension)',
38 ],
39 'process_outputs_as_sources': 1,
40 'action': [
41 'python',
42 '<@(_inputs)',
43 'unit',
44 '<(RULE_INPUT_PATH)',
45 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).<(_extension)',
46 '<@(_outputs)',
47 ],
48 },
49 ],
50 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698