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' ], | |
221 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti', '-std=gnu++0x' ], | 220 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti', '-std=gnu++0x' ], |
222 'ldflags': [ '-pthread', ], | 221 'ldflags': [ '-pthread', ], |
223 'conditions': [ | 222 'conditions': [ |
224 [ 'visibility=="hidden" and v8_enable_backtrace==0', { | 223 [ 'visibility=="hidden" and v8_enable_backtrace==0', { |
225 'cflags': [ '-fvisibility=hidden' ], | 224 'cflags': [ '-fvisibility=hidden' ], |
226 }], | 225 }], |
227 [ 'component=="shared_library"', { | 226 [ 'component=="shared_library"', { |
228 'cflags': [ '-fPIC', ], | 227 'cflags': [ '-fPIC', ], |
229 }], | 228 }], |
230 ], | 229 ], |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 ], | 375 ], |
377 'target_conditions': [ | 376 'target_conditions': [ |
378 ['_type!="static_library"', { | 377 ['_type!="static_library"', { |
379 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 378 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
380 }], | 379 }], |
381 ], # target_conditions | 380 ], # target_conditions |
382 }, # target_defaults | 381 }, # target_defaults |
383 }], # OS=="mac" | 382 }], # OS=="mac" |
384 ], | 383 ], |
385 } | 384 } |
OLD | NEW |