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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 ], | 182 ], |
183 'ldflags': [ | 183 'ldflags': [ |
184 '-fsanitize=address', | 184 '-fsanitize=address', |
185 ], | 185 ], |
186 }, | 186 }, |
187 }], | 187 }], |
188 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | 188 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
189 or OS=="netbsd"', { | 189 or OS=="netbsd"', { |
190 'target_defaults': { | 190 'target_defaults': { |
191 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', | 191 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', |
192 '-pthread', '-fno-exceptions', '-pedantic' ], | 192 '-Wno-long-long', '-pthread', '-fno-exceptions', |
| 193 '-pedantic' ], |
193 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti' ], | 194 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti' ], |
194 'ldflags': [ '-pthread', ], | 195 'ldflags': [ '-pthread', ], |
195 'conditions': [ | 196 'conditions': [ |
196 [ 'OS=="linux"', { | 197 [ 'OS=="linux"', { |
197 'cflags': [ '-ansi' ], | 198 'cflags': [ '-ansi' ], |
198 }], | 199 }], |
199 [ 'visibility=="hidden" and v8_enable_backtrace==0', { | 200 [ 'visibility=="hidden" and v8_enable_backtrace==0', { |
200 'cflags': [ '-fvisibility=hidden' ], | 201 'cflags': [ '-fvisibility=hidden' ], |
201 }], | 202 }], |
202 [ 'component=="shared_library"', { | 203 [ 'component=="shared_library"', { |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 ], | 352 ], |
352 'target_conditions': [ | 353 'target_conditions': [ |
353 ['_type!="static_library"', { | 354 ['_type!="static_library"', { |
354 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 355 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
355 }], | 356 }], |
356 ], # target_conditions | 357 ], # target_conditions |
357 }, # target_defaults | 358 }, # target_defaults |
358 }], # OS=="mac" | 359 }], # OS=="mac" |
359 ], | 360 ], |
360 } | 361 } |
OLD | NEW |