summaryrefslogtreecommitdiff
path: root/deps/gyp/test/actions/src/subdir3/null_input.gyp
blob: 9b0bea5fdb40b818141cf72ef9ca06247f0a60e6 (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
# Copyright (c) 2009 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': 'null_input',
      'type': 'executable',
      'msvs_cygwin_shell': 0,
      'actions': [
        {
          'action_name': 'generate_main',
          'process_outputs_as_sources': 1,
          'inputs': [],
          'outputs': [
            '<(INTERMEDIATE_DIR)/main.c',
          ],
          'action': [
            # TODO:  we can't just use <(_outputs) here?!
            'python', 'generate_main.py', '<(INTERMEDIATE_DIR)/main.c',
          ],
          # Allows the test to run without hermetic cygwin on windows.
          'msvs_cygwin_shell': 0,
        },
      ],
    },
  ],
}