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 'target_defaults': { | 6 'target_defaults': { |
7 'conditions': [ | 7 'conditions': [ |
8 ['OS=="win"', { | 8 ['OS=="win"', { |
9 'defines': ['PLATFORM_WIN'], | 9 'defines': ['PLATFORM_WIN'], |
10 }], | 10 }], |
(...skipping 18 matching lines...) Expand all Loading... | |
29 ], | 29 ], |
30 'sources': [ | 30 'sources': [ |
31 'program.c', | 31 'program.c', |
32 ], | 32 ], |
33 }, | 33 }, |
34 { | 34 { |
35 'target_name': 'lib1', | 35 'target_name': 'lib1', |
36 'type': 'loadable_module', | 36 'type': 'loadable_module', |
37 'product_name': 'lib1', | 37 'product_name': 'lib1', |
38 'product_prefix': '', | 38 'product_prefix': '', |
39 'xcode_settings': {'OTHER_LDFLAGS': ['-dynamiclib'], 'MACH_O_TYPE': ''}, | |
Nico
2013/09/05 04:36:21
Not sure what this was for. mmoss added it in http
Michael Moss
2013/09/05 15:00:16
I don't know much about xcode, so I probably eithe
| |
40 'sources': [ | 39 'sources': [ |
41 'lib1.c', | 40 'lib1.c', |
42 ], | 41 ], |
43 }, | 42 }, |
44 { | 43 { |
45 'target_name': 'lib2', | 44 'target_name': 'lib2', |
46 'product_name': 'lib2', | 45 'product_name': 'lib2', |
47 'product_prefix': '', | 46 'product_prefix': '', |
48 'type': 'loadable_module', | 47 'type': 'loadable_module', |
49 'xcode_settings': {'OTHER_LDFLAGS': ['-dynamiclib'], 'MACH_O_TYPE': ''}, | |
50 'sources': [ | 48 'sources': [ |
51 'lib2.c', | 49 'lib2.c', |
52 ], | 50 ], |
53 }, | 51 }, |
54 ], | 52 ], |
55 } | 53 } |
OLD | NEW |