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

Side by Side Diff: test/generator-output/rules/subdir1/executable.gyp

Issue 13869005: Dropping the scons generator. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 8 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 | « test/external-cross-compile/gyptest-cross.py ('k') | test/include_dirs/gyptest-all.py » ('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) 2009 Google Inc. All rights reserved. 1 # Copyright (c) 2009 Google Inc. 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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'program', 8 'target_name': 'program',
9 'type': 'executable', 9 'type': 'executable',
10 'msvs_cygwin_shell': 0, 10 'msvs_cygwin_shell': 0,
11 'sources': [ 11 'sources': [
12 'program.c', 12 'program.c',
13 'function1.in1', 13 'function1.in1',
14 'function2.in1', 14 'function2.in1',
15 'define3.in0', 15 'define3.in0',
16 'define4.in0', 16 'define4.in0',
17 ], 17 ],
18 'include_dirs': [ 18 'include_dirs': [
19 '<(INTERMEDIATE_DIR)', 19 '<(INTERMEDIATE_DIR)',
20 ], 20 ],
21 'rules': [ 21 'rules': [
22 { 22 {
23 'rule_name': 'copy_file_0', 23 'rule_name': 'copy_file_0',
24 'extension': 'in0', 24 'extension': 'in0',
25 'inputs': [ 25 'inputs': [
26 '../copy-file.py', 26 '../copy-file.py',
27 ], 27 ],
28 'outputs': [ 28 'outputs': [
29 # TODO: fix SCons and Make to support generated files not 29 # TODO: fix Make to support generated files not
30 # in a variable-named path like <(INTERMEDIATE_DIR) 30 # in a variable-named path like <(INTERMEDIATE_DIR)
31 #'<(RULE_INPUT_ROOT).c', 31 #'<(RULE_INPUT_ROOT).c',
32 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).h', 32 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).h',
33 ], 33 ],
34 'action': [ 34 'action': [
35 'python', '<(_inputs)', '<(RULE_INPUT_PATH)', '<@(_outputs)', 35 'python', '<(_inputs)', '<(RULE_INPUT_PATH)', '<@(_outputs)',
36 ], 36 ],
37 'process_outputs_as_sources': 0, 37 'process_outputs_as_sources': 0,
38 }, 38 },
39 { 39 {
40 'rule_name': 'copy_file_1', 40 'rule_name': 'copy_file_1',
41 'extension': 'in1', 41 'extension': 'in1',
42 'inputs': [ 42 'inputs': [
43 '../copy-file.py', 43 '../copy-file.py',
44 ], 44 ],
45 'outputs': [ 45 'outputs': [
46 # TODO: fix SCons and Make to support generated files not 46 # TODO: fix Make to support generated files not
47 # in a variable-named path like <(INTERMEDIATE_DIR) 47 # in a variable-named path like <(INTERMEDIATE_DIR)
48 #'<(RULE_INPUT_ROOT).c', 48 #'<(RULE_INPUT_ROOT).c',
49 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).c', 49 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).c',
50 ], 50 ],
51 'action': [ 51 'action': [
52 'python', '<(_inputs)', '<(RULE_INPUT_PATH)', '<@(_outputs)', 52 'python', '<(_inputs)', '<(RULE_INPUT_PATH)', '<@(_outputs)',
53 ], 53 ],
54 'process_outputs_as_sources': 1, 54 'process_outputs_as_sources': 1,
55 }, 55 },
56 ], 56 ],
57 }, 57 },
58 ], 58 ],
59 } 59 }
OLDNEW
« no previous file with comments | « test/external-cross-compile/gyptest-cross.py ('k') | test/include_dirs/gyptest-all.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698