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

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: fix other generators Created 8 years, 6 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/noaction/no_action_with_rules_fails.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
6 # evaluated appropriately.
7 {
8 'targets': [
9 {
10 'target_name': 'extension_does_not_match_sources_and_no_action',
11 'type': 'none',
12 'msvs_cygwin_shell': 0,
13 'sources': [
14 'file1.in',
15 'file2.in',
16 ],
17 'rules': [
18 {
19 'rule_name': 'assemble',
20 'extension': 'asm',
21 'outputs': [
22 '<(RULE_INPUT_ROOT).fail',
23 ],
24 'conditions': [
25 # Always fails.
26 [ '"true"=="false"', {
27 'action': [
28 'python', '../copy-file.py', '<(RULE_INPUT_PATH)', '<@(_outputs) ',
29 ],
30 'process_outputs_as_sources': 1,
31 'message': 'test_rule',
32 }],
33 ],
34 },
35 ],
36 },
37 ],
38 }
OLDNEW
« no previous file with comments | « test/rules/src/noaction/no_action_with_rules_fails.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698