summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/dependencies/gyptest-double-dependency.py
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/python/gyp/test/dependencies/gyptest-double-dependency.py')
-rw-r--r--third_party/python/gyp/test/dependencies/gyptest-double-dependency.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/third_party/python/gyp/test/dependencies/gyptest-double-dependency.py b/third_party/python/gyp/test/dependencies/gyptest-double-dependency.py
new file mode 100644
index 0000000000..7692740c54
--- /dev/null
+++ b/third_party/python/gyp/test/dependencies/gyptest-double-dependency.py
@@ -0,0 +1,19 @@
+#!/usr/bin/env python
+
+# Copyright (c) 2012 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.
+
+"""
+Verify that pulling in a dependency a second time in a conditional works for
+shared_library targets. Regression test for http://crbug.com/122588
+"""
+
+import TestGyp
+
+test = TestGyp.TestGyp()
+
+test.run_gyp('double_dependency.gyp')
+
+# If running gyp worked, all is well.
+test.pass_test()