1 #!/usr/bin/env python 2 3 # Copyright (c) 2013 Google Inc. All rights reserved. 4 # Use of this source code is governed by a BSD-style license that can be 5 # found in the LICENSE file. 6 7 """ 8 Verify that pulling in a dependency a second time in a conditional works for 9 shared_library targets. Regression test for http://crbug.com/122588 10 """ 11 12 import TestGyp 13 14 test = TestGyp.TestGyp() 15 16 test.run_gyp('self_dependency.gyp') 17 18 # If running gyp worked, all is well. 19 test.pass_test() 20