| 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'trailing_dir_path': '../', | 7 'trailing_dir_path': '../', |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| 11 'target_name': 'foo', | 11 'target_name': 'foo', |
| 12 'type': 'static_library', | 12 'type': 'static_library', |
| 13 'sources': [ | 13 'sources': [ |
| 14 'subdir_source.c', | 14 'subdir_source.c', |
| 15 '<(trailing_dir_path)/parent_source.c', | 15 '<(trailing_dir_path)/parent_source.c', |
| 16 ], | 16 ], |
| 17 }, | 17 }, |
| 18 { |
| 19 'target_name': 'subdir2a', |
| 20 'type': 'static_library', |
| 21 'sources': [ |
| 22 'subdir2_source.c', |
| 23 ], |
| 24 'dependencies': [ |
| 25 'subdir2b', |
| 26 ], |
| 27 }, |
| 28 { |
| 29 'target_name': 'subdir2b', |
| 30 'type': 'static_library', |
| 31 'sources': [ |
| 32 'subdir2b_source.c', |
| 33 ], |
| 34 }, |
| 18 ], | 35 ], |
| 19 } | 36 } |
| OLD | NEW |