| 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'f', | 8 'target_name': 'All', |
| 9 'type': 'executable', | 9 'type': 'executable', |
| 10 'ldflags': [ |
| 11 '-Wl,--whole-archive lib1.a', |
| 12 '-Wl,--no-whole-archive', |
| 13 |
| 14 '-Wl,--whole-archive lib2.a', |
| 15 '-Wl,--no-whole-archive', |
| 16 ], |
| 10 'sources': [ | 17 'sources': [ |
| 11 'f.c', | 18 'main.cc', |
| 12 ], | |
| 13 }, | |
| 14 { | |
| 15 'target_name': 'g', | |
| 16 'type': 'executable', | |
| 17 'sources': [ | |
| 18 'g.c', | |
| 19 ], | |
| 20 'dependencies': [ | |
| 21 'f', | |
| 22 ], | 19 ], |
| 23 }, | 20 }, |
| 24 ], | 21 ], |
| 25 } | 22 } |
| OLD | NEW |