| OLD | NEW |
| 1 # Copyright (c) 2009 Google Inc. All rights reserved. | 1 # Copyright (c) 2009 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': 'prog1', | 8 'target_name': 'prog1', |
| 9 'type': 'executable', | 9 'type': 'executable', |
| 10 'defines': [ | 10 'defines': [ |
| 11 'PROG="prog1"', | 11 'PROG="prog1"', |
| 12 ], | 12 ], |
| 13 'sources': [ | 13 'sources': [ |
| 14 'prog1.c', | 14 'prog1.c', |
| 15 'func.c', | 15 'func.c', |
| 16 # Uncomment to test same-named files in different directories, | |
| 17 # which Visual Studio doesn't support. | |
| 18 #'subdir1/func.c', | |
| 19 #'subdir2/func.c', | |
| 20 ], | 16 ], |
| 21 }, | 17 }, |
| 22 { | 18 { |
| 23 'target_name': 'prog2', | 19 'target_name': 'prog2', |
| 24 'type': 'executable', | 20 'type': 'executable', |
| 25 'defines': [ | 21 'defines': [ |
| 26 'PROG="prog2"', | 22 'PROG="prog2"', |
| 27 ], | 23 ], |
| 28 'sources': [ | 24 'sources': [ |
| 29 'prog2.c', | 25 'prog2.c', |
| 30 'func.c', | 26 'func.c', |
| 31 # Uncomment to test same-named files in different directories, | |
| 32 # which Visual Studio doesn't support. | |
| 33 #'subdir1/func.c', | |
| 34 #'subdir2/func.c', | |
| 35 ], | 27 ], |
| 36 }, | 28 }, |
| 37 ], | 29 ], |
| 38 } | 30 } |
| OLD | NEW |