blob: 6bdd60a1fb79f321760fe300befd76d149664ef3 [file] [log] [blame]
Ben Murdoch097c5b22016-05-18 11:27:45 +01001# Copyright (c) 2009 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{
6 'targets': [
7 {
8 'target_name': 'program',
9 'type': 'executable',
10 'msvs_cygwin_shell': 0,
11 'sources': [
12 'program.c',
13 ],
14 'actions': [
15 {
16 'action_name': 'make-prog1',
17 'inputs': [
18 'make-prog1.py',
19 ],
20 'outputs': [
21 '<(INTERMEDIATE_DIR)/prog1.c',
22 ],
23 'action': [
24 'python', '<(_inputs)', '<@(_outputs)',
25 ],
26 'process_outputs_as_sources': 1,
27 },
28 {
29 'action_name': 'make-prog2',
30 'inputs': [
31 'make-prog2.py',
32 ],
33 'outputs': [
34 'actions-out/prog2.c',
35 ],
36 'action': [
37 'python', '<(_inputs)', '<@(_outputs)',
38 ],
39 'process_outputs_as_sources': 1,
40 },
41 ],
42 },
43 ],
44}