summaryrefslogtreecommitdiff
path: root/deps/gyp/test/win/vs-macros/input-output-macros.gyp
blob: b4520f8cb8d3371145dbf3570c4d663fb0fba3c2 (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
# Copyright (c) 2012 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_expansions',
      'msvs_cygwin_shell': 0,
      'type': 'none',
      'rules': [
        {
          'rule_name': 'generate_file',
          'extension': 'blah',
          'inputs': [
            'do_stuff.py',
          ],
          'outputs': [
            '$(OutDir)\\<(RULE_INPUT_NAME).something',
          ],
          'action': ['python',
                     'do_stuff.py',
                     '<(RULE_INPUT_PATH)',
                     '$(OutDir)\\<(RULE_INPUT_NAME).something',],
        },
      ],
      'sources': [
        'stuff.blah',
      ],
    },
  ]
}