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

Side by Side Diff: test/rules/src/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/multiple-targets/gyptest-default.py ('k') | test/scons_tools/gyptest-tools.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.in', 13 'function1.in',
14 'function2.in', 14 'function2.in',
15 ], 15 ],
16 'rules': [ 16 'rules': [
17 { 17 {
18 'rule_name': 'copy_file', 18 'rule_name': 'copy_file',
19 'extension': 'in', 19 'extension': 'in',
20 'inputs': [ 20 'inputs': [
21 '../copy-file.py', 21 '../copy-file.py',
22 ], 22 ],
23 'outputs': [ 23 'outputs': [
24 # TODO: fix SCons and Make to support generated files not 24 # TODO: fix Make to support generated files not
25 # in a variable-named path like <(INTERMEDIATE_DIR) 25 # in a variable-named path like <(INTERMEDIATE_DIR)
26 #'<(RULE_INPUT_ROOT).c', 26 #'<(RULE_INPUT_ROOT).c',
27 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).c', 27 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).c',
28 ], 28 ],
29 'action': [ 29 'action': [
30 'python', '<(_inputs)', '<(RULE_INPUT_PATH)', '<@(_outputs)', 30 'python', '<(_inputs)', '<(RULE_INPUT_PATH)', '<@(_outputs)',
31 ], 31 ],
32 'process_outputs_as_sources': 1, 32 'process_outputs_as_sources': 1,
33 }, 33 },
34 ], 34 ],
35 }, 35 },
36 ], 36 ],
37 } 37 }
OLDNEW
« no previous file with comments | « test/multiple-targets/gyptest-default.py ('k') | test/scons_tools/gyptest-tools.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698