summaryrefslogtreecommitdiff
path: root/deps/gyp/test/msvs/rules_stdout_stderr/rules-stdout-stderr.gyp
blob: ce93643f8e7ef35d577a3c50a089750b37e9287c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Copyright (c) 2015 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      'target_name': 'test',
      'type': 'none',
      'sources': [
        'dummy.foo',
        'dummy.bar',
      ],
      'rules': [
        {
          'rule_name': 'test_stdout',
          'extension': 'foo',
          'message': 'testing stdout',
          'msvs_cygwin_shell': 0,
          'inputs': [
            'rule_stdout.py',
          ],
          'outputs': [
            'dummy.foo_output',
          ],
          'action': [
            'python',
            'rule_stdout.py',
            '<(RULE_INPUT_PATH)',
          ],
        },
        {
          'rule_name': 'test_stderr',
          'extension': 'bar',
          'message': 'testing stderr',
          'msvs_cygwin_shell': 0,
          'inputs': [
            'rule_stderr.py',
          ],
          'outputs': [
            'dummy.bar_output',
          ],
          'action': [
            'python',
            'rule_stderr.py',
            '<(RULE_INPUT_PATH)',
          ],
        },
      ],
    },
  ],
}