| 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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 'GCC_CW_ASM_SYNTAX': 'NO', # No -fasm-blocks | 266 'GCC_CW_ASM_SYNTAX': 'NO', # No -fasm-blocks |
| 267 'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic | 267 'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic |
| 268 # (Equivalent to -fPIC) | 268 # (Equivalent to -fPIC) |
| 269 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions | 269 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions |
| 270 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti | 270 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti |
| 271 'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings | 271 'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings |
| 272 # GCC_INLINES_ARE_PRIVATE_EXTERN maps to -fvisibility-inlines-hidden | 272 # GCC_INLINES_ARE_PRIVATE_EXTERN maps to -fvisibility-inlines-hidden |
| 273 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', | 273 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', |
| 274 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden | 274 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden |
| 275 'GCC_THREADSAFE_STATICS': 'NO', # -fno-threadsafe-statics | 275 'GCC_THREADSAFE_STATICS': 'NO', # -fno-threadsafe-statics |
| 276 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror | |
| 277 'GCC_VERSION': 'com.apple.compilers.llvmgcc42', | 276 'GCC_VERSION': 'com.apple.compilers.llvmgcc42', |
| 278 'GCC_WARN_ABOUT_MISSING_NEWLINE': 'YES', # -Wnewline-eof | 277 'GCC_WARN_ABOUT_MISSING_NEWLINE': 'YES', # -Wnewline-eof |
| 279 'GCC_WARN_NON_VIRTUAL_DESTRUCTOR': 'YES', # -Wnon-virtual-dtor | 278 'GCC_WARN_NON_VIRTUAL_DESTRUCTOR': 'YES', # -Wnon-virtual-dtor |
| 280 # MACOSX_DEPLOYMENT_TARGET maps to -mmacosx-version-min | 279 # MACOSX_DEPLOYMENT_TARGET maps to -mmacosx-version-min |
| 281 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)', | 280 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)', |
| 282 'PREBINDING': 'NO', # No -Wl,-prebind | 281 'PREBINDING': 'NO', # No -Wl,-prebind |
| 283 'SYMROOT': '<(DEPTH)/xcodebuild', | 282 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 284 'USE_HEADERMAP': 'NO', | 283 'USE_HEADERMAP': 'NO', |
| 285 'OTHER_CFLAGS': [ | 284 'OTHER_CFLAGS': [ |
| 286 '-fno-strict-aliasing', | 285 '-fno-strict-aliasing', |
| 287 ], | 286 ], |
| 288 'WARNING_CFLAGS': [ | 287 'WARNING_CFLAGS': [ |
| 289 '-Wall', | 288 '-Wall', |
| 290 '-Wendif-labels', | 289 '-Wendif-labels', |
| 291 '-W', | 290 '-W', |
| 292 '-Wno-unused-parameter', | 291 '-Wno-unused-parameter', |
| 293 ], | 292 ], |
| 294 }, | 293 }, |
| 294 'conditions': [ |
| 295 ['werror==""', { |
| 296 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO'}, |
| 297 }, { |
| 298 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES'}, |
| 299 }], |
| 300 ], |
| 295 'target_conditions': [ | 301 'target_conditions': [ |
| 296 ['_type!="static_library"', { | 302 ['_type!="static_library"', { |
| 297 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 303 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
| 298 }], | 304 }], |
| 299 ], # target_conditions | 305 ], # target_conditions |
| 300 }, # target_defaults | 306 }, # target_defaults |
| 301 }], # OS=="mac" | 307 }], # OS=="mac" |
| 302 ], | 308 ], |
| 303 } | 309 } |
| OLD | NEW |