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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 'conditions': [ | 371 'conditions': [ |
372 ['android_full_debug==0', { | 372 ['android_full_debug==0', { |
373 # Disable full debug if we want a faster v8 in a debug build. | 373 # Disable full debug if we want a faster v8 in a debug build. |
374 # TODO(2304): pass DISABLE_DEBUG_ASSERT instead of hiding DEBUG. | 374 # TODO(2304): pass DISABLE_DEBUG_ASSERT instead of hiding DEBUG. |
375 'defines!': [ | 375 'defines!': [ |
376 'DEBUG', | 376 'DEBUG', |
377 ], | 377 ], |
378 }], | 378 }], |
379 ], | 379 ], |
380 }], | 380 }], |
| 381 ['OS=="mac"', { |
| 382 'xcode_settings': { |
| 383 'GCC_OPTIMIZATION_LEVEL': '0', # -O0 |
| 384 }, |
| 385 }], |
381 ], | 386 ], |
382 }, # Debug | 387 }, # Debug |
383 'Release': { | 388 'Release': { |
384 'variables': { | 389 'variables': { |
385 'v8_enable_extra_checks%': 0, | 390 'v8_enable_extra_checks%': 0, |
386 }, | 391 }, |
387 'conditions': [ | 392 'conditions': [ |
388 ['v8_enable_extra_checks==1', { | 393 ['v8_enable_extra_checks==1', { |
389 'defines': ['ENABLE_EXTRA_CHECKS',], | 394 'defines': ['ENABLE_EXTRA_CHECKS',], |
390 }], | 395 }], |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
444 'OptimizeReferences': '2', | 449 'OptimizeReferences': '2', |
445 'EnableCOMDATFolding': '2', | 450 'EnableCOMDATFolding': '2', |
446 }, | 451 }, |
447 }, | 452 }, |
448 }], # OS=="win" | 453 }], # OS=="win" |
449 ], # conditions | 454 ], # conditions |
450 }, # Release | 455 }, # Release |
451 }, # configurations | 456 }, # configurations |
452 }, # target_defaults | 457 }, # target_defaults |
453 } | 458 } |
OLD | NEW |