• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2015 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': 'test',
9      'type': 'none',
10      'sources': [
11        'dummy.foo',
12        'dummy.bar',
13      ],
14      'rules': [
15        {
16          'rule_name': 'test_stdout',
17          'extension': 'foo',
18          'message': 'testing stdout',
19          'msvs_cygwin_shell': 0,
20          'inputs': [
21            'rule_stdout.py',
22          ],
23          'outputs': [
24            'dummy.foo_output',
25          ],
26          'action': [
27            'python',
28            'rule_stdout.py',
29            '<(RULE_INPUT_PATH)',
30          ],
31        },
32        {
33          'rule_name': 'test_stderr',
34          'extension': 'bar',
35          'message': 'testing stderr',
36          'msvs_cygwin_shell': 0,
37          'inputs': [
38            'rule_stderr.py',
39          ],
40          'outputs': [
41            'dummy.bar_output',
42          ],
43          'action': [
44            'python',
45            'rule_stderr.py',
46            '<(RULE_INPUT_PATH)',
47          ],
48        },
49      ],
50    },
51  ],
52}
53