diff options
Diffstat (limited to 'third_party/python/gyp/test/self-dependency/dep.gyp')
-rw-r--r-- | third_party/python/gyp/test/self-dependency/dep.gyp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/third_party/python/gyp/test/self-dependency/dep.gyp b/third_party/python/gyp/test/self-dependency/dep.gyp new file mode 100644 index 0000000000..2b6c9dda85 --- /dev/null +++ b/third_party/python/gyp/test/self-dependency/dep.gyp @@ -0,0 +1,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, + }, + }, + ], +} |