gyptest-self-dependency.py 468 B

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