| OLD | NEW |
| 1 # Copyright (c) 2014 Google Inc. All rights reserved. | 1 # Copyright (c) 2014 Google Inc. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # These gyp files create the following dependencies: |
| 6 # |
| 7 # test.gyp: |
| 8 # #exe -> subdir/subdir.gyp#foo, subdir/subdir2/subdir2.gyp#subdir2 |
| 9 # foo.c |
| 10 # subdir/subdir_source2.c |
| 11 # conditional_source.c (if test_variable==1) |
| 12 # action_input.c |
| 13 # action_output.c |
| 14 # rule_input.c |
| 15 # rule_output.pdf |
| 16 # #exe2 |
| 17 # exe2.c |
| 18 # #exe3 -> subdir/subdir.gyp#foo, subdir/subdir.gyp#subdir2a |
| 19 # exe3.c |
| 20 # #all (type none) -> exe, exe3 |
| 21 # |
| 22 # subdir/subdir.gyp |
| 23 # #foo |
| 24 # subdir/subdir_source.c |
| 25 # parent_source.c |
| 26 # #subdir2a -> subdir2b |
| 27 # subdir/subdir2_source.c |
| 28 # #subdir2b |
| 29 # subdir/subdir2b_source.c |
| 30 # |
| 31 # subdir/subdir2/subdir2.gyp |
| 32 # #subdir2 |
| 33 # subdir/subdir_source.h |
| 34 |
| 5 { | 35 { |
| 6 'variables': { | 36 'variables': { |
| 7 'test_variable%': 0, | 37 'test_variable%': 0, |
| 8 'variable_path': 'subdir', | 38 'variable_path': 'subdir', |
| 9 }, | 39 }, |
| 10 'targets': [ | 40 'targets': [ |
| 11 { | 41 { |
| 12 'target_name': 'exe', | 42 'target_name': 'exe', |
| 13 'type': 'executable', | 43 'type': 'executable', |
| 14 'dependencies': [ | 44 'dependencies': [ |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 'dependencies': [ | 96 'dependencies': [ |
| 67 'subdir/subdir.gyp:foo', | 97 'subdir/subdir.gyp:foo', |
| 68 'subdir/subdir.gyp:subdir2a', | 98 'subdir/subdir.gyp:subdir2a', |
| 69 ], | 99 ], |
| 70 'sources': [ | 100 'sources': [ |
| 71 'exe3.c', | 101 'exe3.c', |
| 72 ], | 102 ], |
| 73 }, | 103 }, |
| 74 { | 104 { |
| 75 'target_name': 'all', | 105 'target_name': 'all', |
| 76 'type': 'executable', | 106 'type': 'none', |
| 77 'dependencies': [ | 107 'dependencies': [ |
| 78 'exe', | 108 'exe', |
| 79 'exe3', | 109 'exe3', |
| 80 ], | 110 ], |
| 81 }, | 111 }, |
| 82 ], | 112 ], |
| 83 } | 113 } |
| OLD | NEW |