summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/actions-depfile/depfile.gyp
blob: 617fe705b575f1be4a2be3d111c8df3667fd6ec6 (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) 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': 'depfile_target',
      'type': 'none',
      'actions': [
        {
          'action_name': 'depfile_action',
          'inputs': [
            'input.txt',
          ],
          'outputs': [
            'output.txt',
          ],
          'depfile': 'depfile_action.d',
          'action': [
            'python', 'touch.py', '<(PRODUCT_DIR)/<(_depfile)',
          ],
          'msvs_cygwin_shell': 0,
        },
        {
          'action_name': 'depfile_action_intermediate_dir',
          'inputs': [
            'input.txt',
          ],
          'outputs': [
            'output-intermediate.txt',
          ],
          'depfile': '<(INTERMEDIATE_DIR)/depfile_action_intermediate_dir.d',
          'action': [
            'python', 'touch.py', '<(_depfile)',
          ],
          'msvs_cygwin_shell': 0,
        },
      ],
    },
  ],
}