summaryrefslogtreecommitdiff
path: root/deps/gyp/test/intermediate_dir/src/test.gyp
blob: b61e7e8ea5834287ea78d9de71d7b4543cd9b436 (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
# Copyright (c) 2011 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': 'target1',
      'type': 'none',
      'actions': [
        {
          'action_name': 'intermediate',
          'inputs': [],
          'outputs': [
            '<(INTERMEDIATE_DIR)/intermediate_out.txt',
            'outfile.txt',
          ],
          'action': [
            'python', 'script.py', 'target1', '<(_outputs)',
          ],
          # Allows the test to run without hermetic cygwin on windows.
          'msvs_cygwin_shell': 0,
        },
        {
          'action_name': 'shared_intermediate',
          'inputs': [
            'shared_infile.txt',
          ],
          'outputs': [
            '<(SHARED_INTERMEDIATE_DIR)/intermediate_out.txt',
            'shared_outfile.txt',
          ],
          'action': [
            'python', 'script.py', 'shared_target1', '<(_outputs)',
          ],
          # Allows the test to run without hermetic cygwin on windows.
          'msvs_cygwin_shell': 0,
        },
      ],
    },
  ],
}