summaryrefslogtreecommitdiff
path: root/deps/gyp/test/dependencies/gyptest-double-dependency.py
blob: 7692740c54deb474de81fe08c47fde097e27961b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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()