OLD | NEW |
1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 the V8 project authors. All rights reserved. |
2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
4 # met: | 4 # met: |
5 # | 5 # |
6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 'cflags': [ '-fPIC', ], | 99 'cflags': [ '-fPIC', ], |
100 }], | 100 }], |
101 ], | 101 ], |
102 }, | 102 }, |
103 }], | 103 }], |
104 # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" | 104 # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" |
105 # or OS=="netbsd"' | 105 # or OS=="netbsd"' |
106 ['OS=="win"', { | 106 ['OS=="win"', { |
107 'target_defaults': { | 107 'target_defaults': { |
108 'defines': [ | 108 'defines': [ |
109 'WIN32', | |
110 '_CRT_SECURE_NO_DEPRECATE', | 109 '_CRT_SECURE_NO_DEPRECATE', |
111 '_CRT_NONSTDC_NO_DEPRECATE', | 110 '_CRT_NONSTDC_NO_DEPRECATE', |
112 ], | 111 ], |
113 'conditions': [ | 112 'conditions': [ |
114 ['component=="static_library"', { | 113 ['component=="static_library"', { |
115 'defines': [ | 114 'defines': [ |
116 '_HAS_EXCEPTIONS=0', | 115 '_HAS_EXCEPTIONS=0', |
117 ], | 116 ], |
118 }], | 117 }], |
119 ], | 118 ], |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 }, | 198 }, |
200 'target_conditions': [ | 199 'target_conditions': [ |
201 ['_type!="static_library"', { | 200 ['_type!="static_library"', { |
202 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 201 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
203 }], | 202 }], |
204 ], # target_conditions | 203 ], # target_conditions |
205 }, # target_defaults | 204 }, # target_defaults |
206 }], # OS=="mac" | 205 }], # OS=="mac" |
207 ], | 206 ], |
208 } | 207 } |
OLD | NEW |