summaryrefslogtreecommitdiff
path: root/deps/gyp/test/dependencies/none_traversal.gyp
blob: 3d8ab30aff5a19e81547f576439f47e72028f8f3 (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
46
# 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': 'needs_chain',
      'type': 'executable',
      'sources': [
        'a.c',
        'main.c',
      ],
      'dependencies': ['chain'],
    },
    {
      'target_name': 'chain',
      'type': 'none',
      'dependencies': ['b/b.gyp:b'],
    },
    {
      'target_name': 'doesnt_need_chain',
      'type': 'executable',
      'sources': [
        'main.c',
      ],
      'dependencies': ['no_chain', 'other_chain'],
    },
    {
      'target_name': 'no_chain',
      'type': 'none',
      'sources': [
      ],
      'dependencies': ['b/b.gyp:b'],
      'dependencies_traverse': 0,
    },
    {
      'target_name': 'other_chain',
      'type': 'static_library',
      'sources': [
        'a.c',
      ],
      'dependencies': ['b/b.gyp:b3'],
    },
  ],
}