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

Side by Side Diff: test/win/idl-excluded/idl-excluded.gyp

Issue 307953002: msvs: Revert r1920 and add a test for excluded idl (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « test/win/idl-excluded/copy-file.py ('k') | test/win/idl-excluded/program.cc » ('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) 2014 The Chromium Authors. 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 {
6 'targets': [
7 {
8 'target_name': 'exclude_with_action',
9 'type': 'none',
10 'msvs_cygwin_shell': 0,
11 'actions': [{
12 'action_name': 'copy_action',
13 'inputs': [
14 'copy-file.py',
15 'bad.idl',
16 ],
17 'outputs': [
18 '<(INTERMEDIATE_DIR)/bad.idl',
19 ],
20 'action': [
21 'python', '<@(_inputs)', '<@(_outputs)',
22 ],
23 }],
24 },
25 {
26 'target_name': 'exclude_with_rule',
27 'type': 'none',
28 'msvs_cygwin_shell': 0,
29 'sources': [
30 'bad.idl',
31 ],
32 'rules': [{
33 'rule_name': 'copy_rule',
34 'extension': 'idl',
35 'inputs': [
36 'copy-file.py',
37 ],
38 'outputs': [
39 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).idl',
40 ],
41 'action': [
42 'python', '<@(_inputs)', '<(RULE_INPUT_PATH)', '<@(_outputs)',
43 ],
44 }],
45 },
46 {
47 'target_name': 'program',
48 'type': 'executable',
49 'sources': [
50 'program.cc',
51 ],
52 'dependencies': [
53 'exclude_with_action',
54 'exclude_with_rule',
55 ],
56 },
57 ],
58 }
OLDNEW
« no previous file with comments | « test/win/idl-excluded/copy-file.py ('k') | test/win/idl-excluded/program.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698