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

Side by Side Diff: test/rules/src/noaction/no_action_with_rules_fails.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/file1.in ('k') | test/rules/src/subdir2/no_action.gyp » ('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 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 the case where there's no action but there are input rules that should
6 # be processed results in a gyp failure.
7 {
8 'targets': [
9 {
10 'target_name': 'extension_does_match_sources_but_no_action',
11 'type': 'none',
12 'msvs_cygwin_shell': 0,
13 'sources': [
14 'file1.in',
15 ],
16 'rules': [
17 {
18 'rule_name': 'assembled',
19 'extension': 'in',
20 'outputs': [
21 '<(RULE_INPUT_ROOT).in',
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 },
34 ],
35 },
36 ],
37 }
OLDNEW
« no previous file with comments | « test/rules/src/noaction/file1.in ('k') | test/rules/src/subdir2/no_action.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698