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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 ], | 209 ], |
210 'defines': [ | 210 'defines': [ |
211 'THREAD_SANITIZER', | 211 'THREAD_SANITIZER', |
212 ], | 212 ], |
213 }, | 213 }, |
214 }], | 214 }], |
215 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | 215 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
216 or OS=="netbsd"', { | 216 or OS=="netbsd"', { |
217 'target_defaults': { | 217 'target_defaults': { |
218 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', | 218 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', |
219 '-Wno-long-long', '-pthread', '-fno-exceptions' ], | 219 '-Wno-long-long', '-pthread', '-fno-exceptions', |
| 220 '-pedantic' ], |
220 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti', '-std=gnu++0x' ], | 221 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti', '-std=gnu++0x' ], |
221 'ldflags': [ '-pthread', ], | 222 'ldflags': [ '-pthread', ], |
222 'conditions': [ | 223 'conditions': [ |
223 [ 'visibility=="hidden" and v8_enable_backtrace==0', { | 224 [ 'visibility=="hidden" and v8_enable_backtrace==0', { |
224 'cflags': [ '-fvisibility=hidden' ], | 225 'cflags': [ '-fvisibility=hidden' ], |
225 }], | 226 }], |
226 [ 'component=="shared_library"', { | 227 [ 'component=="shared_library"', { |
227 'cflags': [ '-fPIC', ], | 228 'cflags': [ '-fPIC', ], |
228 }], | 229 }], |
229 ], | 230 ], |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 ], | 376 ], |
376 'target_conditions': [ | 377 'target_conditions': [ |
377 ['_type!="static_library"', { | 378 ['_type!="static_library"', { |
378 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 379 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
379 }], | 380 }], |
380 ], # target_conditions | 381 ], # target_conditions |
381 }, # target_defaults | 382 }, # target_defaults |
382 }], # OS=="mac" | 383 }], # OS=="mac" |
383 ], | 384 ], |
384 } | 385 } |
OLD | NEW |