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