summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/intermediate_dir/src/test2.gyp
blob: 41f5564663e5e1e180b6b34c739e240cc68719a6 (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': 'target2',
      'type': 'none',
      'actions': [
        {
          'action_name': 'intermediate',
          'inputs': [],
          'outputs': [
            '<(INTERMEDIATE_DIR)/intermediate_out.txt',
            'outfile.txt',
          ],
          'action': [
            'python', 'script.py', 'target2', '<(_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_target2', '<(_outputs)',
          ],
          # Allows the test to run without hermetic cygwin on windows.
          'msvs_cygwin_shell': 0,
        },
      ],
    },
  ],
}