summaryrefslogtreecommitdiff
path: root/deps/gyp/test/dependencies/adso/all_dependent_settings_order.gyp
blob: 89817d6bbb33daf46545a390df697fd8a277ede0 (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
43
44
45
{
  'targets': [
    {
      'target_name': 'a',
      'type': 'none',
      'sources': ['a.cc'],
      'all_dependent_settings': {'sources': ['a.cc']},
    },
    {
      'target_name': 'b',
      'type': 'none',
      'sources': ['b.cc'],
      'all_dependent_settings': {'sources': ['b.cc']},
      'dependencies': ['a'],
    },

    {
      'target_name': 'c',
      'type': 'none',
      'sources': ['c.cc'],
      'all_dependent_settings': {'sources': ['c.cc']},
      'dependencies': ['b', 'a'],
    },
    {
      'target_name': 'd',
      'type': 'none',
      'sources': ['d.cc'],
      'dependencies': ['c', 'a', 'b'],
      'actions': [
        {
          'action_name': 'write_sources',
          'inputs': ['write_args.py'],
          'outputs': ['<(PRODUCT_DIR)/out.txt'],
          'action': [
            'python',
            'write_args.py',
            '<(PRODUCT_DIR)/out.txt',
            '>@(_sources)'
          ],
          'msvs_cygwin_shell': 0,
        },
      ],
    },
  ],
}