| 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic | 185 'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic |
| 186 # (Equivalent to -fPIC) | 186 # (Equivalent to -fPIC) |
| 187 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions | 187 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions |
| 188 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti | 188 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti |
| 189 'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings | 189 'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings |
| 190 # GCC_INLINES_ARE_PRIVATE_EXTERN maps to -fvisibility-inlines-hidden | 190 # GCC_INLINES_ARE_PRIVATE_EXTERN maps to -fvisibility-inlines-hidden |
| 191 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', | 191 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', |
| 192 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden | 192 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden |
| 193 'GCC_THREADSAFE_STATICS': 'NO', # -fno-threadsafe-statics | 193 'GCC_THREADSAFE_STATICS': 'NO', # -fno-threadsafe-statics |
| 194 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror | 194 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror |
| 195 'GCC_VERSION': '4.2', | 195 'GCC_VERSION': 'com.apple.compilers.llvmgcc42', |
| 196 'GCC_WARN_ABOUT_MISSING_NEWLINE': 'YES', # -Wnewline-eof | 196 'GCC_WARN_ABOUT_MISSING_NEWLINE': 'YES', # -Wnewline-eof |
| 197 # MACOSX_DEPLOYMENT_TARGET maps to -mmacosx-version-min | 197 # MACOSX_DEPLOYMENT_TARGET maps to -mmacosx-version-min |
| 198 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)', | 198 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)', |
| 199 'PREBINDING': 'NO', # No -Wl,-prebind | 199 'PREBINDING': 'NO', # No -Wl,-prebind |
| 200 'SYMROOT': '<(DEPTH)/xcodebuild', | 200 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 201 'USE_HEADERMAP': 'NO', | 201 'USE_HEADERMAP': 'NO', |
| 202 'OTHER_CFLAGS': [ | 202 'OTHER_CFLAGS': [ |
| 203 '-fno-strict-aliasing', | 203 '-fno-strict-aliasing', |
| 204 ], | 204 ], |
| 205 'WARNING_CFLAGS': [ | 205 'WARNING_CFLAGS': [ |
| 206 '-Wall', | 206 '-Wall', |
| 207 '-Wendif-labels', | 207 '-Wendif-labels', |
| 208 '-W', | 208 '-W', |
| 209 '-Wno-unused-parameter', | 209 '-Wno-unused-parameter', |
| 210 '-Wnon-virtual-dtor', | 210 '-Wnon-virtual-dtor', |
| 211 ], | 211 ], |
| 212 }, | 212 }, |
| 213 'target_conditions': [ | 213 'target_conditions': [ |
| 214 ['_type!="static_library"', { | 214 ['_type!="static_library"', { |
| 215 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 215 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
| 216 }], | 216 }], |
| 217 ], # target_conditions | 217 ], # target_conditions |
| 218 }, # target_defaults | 218 }, # target_defaults |
| 219 }], # OS=="mac" | 219 }], # OS=="mac" |
| 220 ], | 220 ], |
| 221 } | 221 } |
| OLD | NEW |