| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 'Release': { | 96 'Release': { |
| 97 # Xcode insists on this empty entry. | 97 # Xcode insists on this empty entry. |
| 98 }, | 98 }, |
| 99 }, | 99 }, |
| 100 }, | 100 }, |
| 101 'conditions': [ | 101 'conditions': [ |
| 102 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | 102 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
| 103 or OS=="netbsd"', { | 103 or OS=="netbsd"', { |
| 104 'target_defaults': { | 104 'target_defaults': { |
| 105 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', | 105 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', |
| 106 '-Wnon-virtual-dtor', '-pthread', '-fno-rtti', | 106 '-pthread', '-fno-exceptions', '-pedantic' ], |
| 107 '-fno-exceptions', '-pedantic' ], | 107 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti' ], |
| 108 'ldflags': [ '-pthread', ], | 108 'ldflags': [ '-pthread', ], |
| 109 'conditions': [ | 109 'conditions': [ |
| 110 [ 'OS=="linux"', { | 110 [ 'OS=="linux"', { |
| 111 'cflags': [ '-ansi' ], | 111 'cflags': [ '-ansi' ], |
| 112 }], | 112 }], |
| 113 [ 'visibility=="hidden" and v8_enable_backtrace==0', { | 113 [ 'visibility=="hidden" and v8_enable_backtrace==0', { |
| 114 'cflags': [ '-fvisibility=hidden' ], | 114 'cflags': [ '-fvisibility=hidden' ], |
| 115 }], | 115 }], |
| 116 [ 'component=="shared_library"', { | 116 [ 'component=="shared_library"', { |
| 117 'cflags': [ '-fPIC', ], | 117 'cflags': [ '-fPIC', ], |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions | 196 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions |
| 197 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti | 197 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti |
| 198 'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings | 198 'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings |
| 199 # GCC_INLINES_ARE_PRIVATE_EXTERN maps to -fvisibility-inlines-hidden | 199 # GCC_INLINES_ARE_PRIVATE_EXTERN maps to -fvisibility-inlines-hidden |
| 200 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', | 200 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', |
| 201 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden | 201 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden |
| 202 'GCC_THREADSAFE_STATICS': 'NO', # -fno-threadsafe-statics | 202 'GCC_THREADSAFE_STATICS': 'NO', # -fno-threadsafe-statics |
| 203 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror | 203 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror |
| 204 'GCC_VERSION': 'com.apple.compilers.llvmgcc42', | 204 'GCC_VERSION': 'com.apple.compilers.llvmgcc42', |
| 205 'GCC_WARN_ABOUT_MISSING_NEWLINE': 'YES', # -Wnewline-eof | 205 'GCC_WARN_ABOUT_MISSING_NEWLINE': 'YES', # -Wnewline-eof |
| 206 'GCC_WARN_NON_VIRTUAL_DESTRUCTOR': 'YES', # -Wnon-virtual-dtor |
| 206 # MACOSX_DEPLOYMENT_TARGET maps to -mmacosx-version-min | 207 # MACOSX_DEPLOYMENT_TARGET maps to -mmacosx-version-min |
| 207 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)', | 208 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)', |
| 208 'PREBINDING': 'NO', # No -Wl,-prebind | 209 'PREBINDING': 'NO', # No -Wl,-prebind |
| 209 'SYMROOT': '<(DEPTH)/xcodebuild', | 210 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 210 'USE_HEADERMAP': 'NO', | 211 'USE_HEADERMAP': 'NO', |
| 211 'OTHER_CFLAGS': [ | 212 'OTHER_CFLAGS': [ |
| 212 '-fno-strict-aliasing', | 213 '-fno-strict-aliasing', |
| 213 ], | 214 ], |
| 214 'WARNING_CFLAGS': [ | 215 'WARNING_CFLAGS': [ |
| 215 '-Wall', | 216 '-Wall', |
| 216 '-Wendif-labels', | 217 '-Wendif-labels', |
| 217 '-W', | 218 '-W', |
| 218 '-Wno-unused-parameter', | 219 '-Wno-unused-parameter', |
| 219 '-Wnon-virtual-dtor', | |
| 220 ], | 220 ], |
| 221 }, | 221 }, |
| 222 'target_conditions': [ | 222 'target_conditions': [ |
| 223 ['_type!="static_library"', { | 223 ['_type!="static_library"', { |
| 224 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 224 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
| 225 }], | 225 }], |
| 226 ], # target_conditions | 226 ], # target_conditions |
| 227 }, # target_defaults | 227 }, # target_defaults |
| 228 }], # OS=="mac" | 228 }], # OS=="mac" |
| 229 ], | 229 ], |
| 230 } | 230 } |
| OLD | NEW |