Ben Murdoch | 097c5b2 | 2016-05-18 11:27:45 +0100 | [diff] [blame^] | 1 | # Copyright 2015 Google Inc. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | # These gyp files create the following dependencies: |
| 6 | # |
| 7 | # test.gyp: |
| 8 | # #a -> b |
| 9 | # a.c |
| 10 | # #b |
| 11 | # b.c |
| 12 | # a and b are static libraries. |
| 13 | |
| 14 | { |
| 15 | 'targets': [ |
| 16 | { |
| 17 | 'target_name': 'a', |
| 18 | 'type': 'static_library', |
| 19 | 'sources': [ |
| 20 | 'a.c', |
| 21 | ], |
| 22 | 'dependencies': [ |
| 23 | 'b', |
| 24 | ], |
| 25 | }, |
| 26 | { |
| 27 | 'target_name': 'b', |
| 28 | 'type': 'static_library', |
| 29 | 'sources': [ |
| 30 | 'b.c', |
| 31 | ], |
| 32 | }, |
| 33 | ], |
| 34 | } |