Home | History | Annotate | Download | only in self-dependency
      1 # Copyright (c) 2013 Google Inc. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 # dep.gyp contains a target dep, on which all the targets in the project
      6 # depend. This means there's a self-dependency of dep on itself, which is
      7 # pruned by setting prune_self_dependency to 1.
      8 
      9 {
     10   'includes': [
     11     'common.gypi',
     12   ],
     13   'targets': [
     14     {
     15       'target_name': 'dep',
     16       'type': 'none',
     17       'variables': {
     18         # Without this GYP will report a cycle in dependency graph.
     19         'prune_self_dependency': 1,
     20       },
     21     },
     22   ],
     23 }
     24