| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 or OS=="netbsd"', { | 93 or OS=="netbsd"', { |
| 94 'target_defaults': { | 94 'target_defaults': { |
| 95 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', | 95 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', |
| 96 '-Wnon-virtual-dtor', '-pthread', '-fno-rtti', | 96 '-Wnon-virtual-dtor', '-pthread', '-fno-rtti', |
| 97 '-fno-exceptions', '-pedantic' ], | 97 '-fno-exceptions', '-pedantic' ], |
| 98 'ldflags': [ '-pthread', ], | 98 'ldflags': [ '-pthread', ], |
| 99 'conditions': [ | 99 'conditions': [ |
| 100 [ 'OS=="linux"', { | 100 [ 'OS=="linux"', { |
| 101 'cflags': [ '-ansi' ], | 101 'cflags': [ '-ansi' ], |
| 102 }], | 102 }], |
| 103 [ 'visibility=="hidden"', { | 103 [ 'visibility=="hidden" and v8_enable_backtrace==0', { |
| 104 'cflags': [ '-fvisibility=hidden' ], | 104 'cflags': [ '-fvisibility=hidden' ], |
| 105 }], | 105 }], |
| 106 [ 'component=="shared_library"', { | 106 [ 'component=="shared_library"', { |
| 107 'cflags': [ '-fPIC', ], | 107 'cflags': [ '-fPIC', ], |
| 108 }], | 108 }], |
| 109 ], | 109 ], |
| 110 }, | 110 }, |
| 111 }], | 111 }], |
| 112 # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" | 112 # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" |
| 113 # or OS=="netbsd"' | 113 # or OS=="netbsd"' |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 }, | 211 }, |
| 212 'target_conditions': [ | 212 'target_conditions': [ |
| 213 ['_type!="static_library"', { | 213 ['_type!="static_library"', { |
| 214 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 214 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
| 215 }], | 215 }], |
| 216 ], # target_conditions | 216 ], # target_conditions |
| 217 }, # target_defaults | 217 }, # target_defaults |
| 218 }], # OS=="mac" | 218 }], # OS=="mac" |
| 219 ], | 219 ], |
| 220 } | 220 } |
| OLD | NEW |