OLD | NEW |
(Empty) | |
| 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 a target marked as 'link_dependency==1' isn't being pulled into |
| 9 the 'none' target's dependency (which would otherwise lead to a dependency |
| 10 cycle in ninja). |
| 11 """ |
| 12 |
| 13 import TestGyp |
| 14 |
| 15 test = TestGyp.TestGyp() |
| 16 |
| 17 test.run_gyp('test.gyp') |
| 18 test.build('test.gyp', 'main') |
| 19 |
| 20 # If running gyp worked, all is well. |
| 21 test.pass_test() |
OLD | NEW |