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

Side by Side Diff: test/rules/src/subdir2/no_action.gyp

Issue 10382161: Fix bug in ninja generator when there's no default action. (Closed) Base URL: http://git.chromium.org/external/gyp.git@master
Patch Set: revert test change Created 8 years, 7 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
« no previous file with comments | « test/rules/src/actions.gyp ('k') | no next file » | 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 Google Inc. 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 # Test that the case where an action is only specified under a conditional is ev aulated appropriately.
Nico 2012/05/15 17:21:57 80-col wrap comments typo evaulated
Yaron 2012/05/15 17:36:13 Done.
6 {
7 'targets': [
8 {
9 'target_name': 'extension_does_not_match_sources_and_no_action',
10 'type': 'none',
11 'msvs_cygwin_shell': 0,
12 'sources': [
13 'file1.in',
14 'file2.in',
15 ],
16 'rules': [
17 {
18 'rule_name': 'assemble',
19 'extension': 'asm',
20 'outputs': [
21 '<(RULE_INPUT_ROOT).fail',
22 ],
23 'conditions': [
24 # Always fails.
25 [ '"true"=="false"', {
26 'action': [
27 'python', '../copy-file.py', '<(RULE_INPUT_PATH)', '<@(_outputs) ',
28 ],
29 'process_outputs_as_sources': 1,
30 'message': 'test_rule',
31 }],
32 ],
33 },
Nico 2012/05/15 17:21:57 Reading the make generator code, it looks like it
Yaron 2012/05/15 17:36:13 Done. Is there an "expect fails to gyp" option? I
Nico 2012/05/15 17:43:22 test.run_gyp('my-gyp-file.gyp', chdir='src', statu
34 ],
35 },
36 ],
37 }
OLDNEW
« no previous file with comments | « test/rules/src/actions.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698