summaryrefslogtreecommitdiff
path: root/deps/gyp/test/self-dependency/dep.gyp
blob: 2b6c9dda854fe3cce100331c9c3a7f1575c5b925 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright (c) 2013 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.

# dep.gyp contains a target dep, on which all the targets in the project
# depend. This means there's a self-dependency of dep on itself, which is
# pruned by setting prune_self_dependency to 1.

{
  'includes': [
    'common.gypi',
  ],
  'targets': [
    {
      'target_name': 'dep',
      'type': 'none',
      'variables': {
        # Without this GYP will report a cycle in dependency graph.
        'prune_self_dependency': 1,
      },
    },
  ],
}