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

Side by Side Diff: build/isolate.gypi

Issue 11236005: Convert all the foo_test_run from using actions to use rules. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed pseudo italic Created 8 years, 2 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 | « base/base.gyp ('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
(Empty)
1 # Copyright (c) 2012 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 # This file is meant to be included into a target to provide a rule
6 # to "build" .isolate files into a .isolated file.
7 #
8 # To use this, create a gyp target with the following form:
9 # 'conditions': [
10 # ['test_isolation_mode != "noop"', {
11 # 'targets': [
12 # {
13 # 'target_name': 'foo_test_run',
14 # 'type': 'none',
15 # 'dependencies': [
16 # 'foo_test',
17 # ],
18 # 'includes': [
19 # '../build/isolate.gypi',
20 # 'foo_test.isolate',
21 # ],
22 # 'sources': [
23 # 'foo_test.isolate',
24 # ],
25 # },
26 # ],
27 # }],
28 # ],
29 #
30 # Note: foo_test.isolate is included and a source file. It is an inherent
31 # property of the .isolate format. This permits to define GYP variables but is
32 # a stricter format than GYP so isolate.py can read it.
33 #
34 # The generated .isolated file will be:
35 # <(PRODUCT_DIR)/foo_test.isolated
36
37 {
38 'rules': [
39 {
40 'rule_name': 'isolate',
41 'extension': 'isolate',
42 'inputs': [
43 '<@(isolate_dependency_tracked)',
44 '<(RULE_INPUT_PATH)',
45 ],
46 'outputs': [
47 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated',
48 ],
49 'action': [
50 '<(DEPTH)/tools/swarm_client/isolate.py',
51 '<(test_isolation_mode)',
52 '--outdir', '<(test_isolation_outdir)',
53 '--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)',
54 '--variable', 'OS', '<(OS)',
55 '--result', '<@(_outputs)',
56 '--isolate', '<(RULE_INPUT_PATH)',
57 ],
58 'msvs_cygwin_shell': 0,
59 },
60 ],
61 }
OLDNEW
« no previous file with comments | « base/base.gyp ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698