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