| 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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 }], | 439 }], |
| 440 ['OS=="mac"', { | 440 ['OS=="mac"', { |
| 441 'xcode_settings': { | 441 'xcode_settings': { |
| 442 'GCC_OPTIMIZATION_LEVEL': '0', # -O0 | 442 'GCC_OPTIMIZATION_LEVEL': '0', # -O0 |
| 443 }, | 443 }, |
| 444 }], | 444 }], |
| 445 ], | 445 ], |
| 446 }, # Debug | 446 }, # Debug |
| 447 'Release': { | 447 'Release': { |
| 448 'variables': { | 448 'variables': { |
| 449 'v8_enable_extra_checks%': 0, | 449 'v8_enable_extra_checks%': 1, |
| 450 }, | 450 }, |
| 451 'conditions': [ | 451 'conditions': [ |
| 452 ['v8_enable_extra_checks==1', { | 452 ['v8_enable_extra_checks==1', { |
| 453 'defines': ['ENABLE_EXTRA_CHECKS',], | 453 'defines': ['ENABLE_EXTRA_CHECKS',], |
| 454 }], | 454 }], |
| 455 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" \ | 455 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" \ |
| 456 or OS=="android"', { | 456 or OS=="android"', { |
| 457 'cflags!': [ | 457 'cflags!': [ |
| 458 '-O2', | 458 '-O2', |
| 459 '-Os', | 459 '-Os', |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 'OptimizeReferences': '2', | 508 'OptimizeReferences': '2', |
| 509 'EnableCOMDATFolding': '2', | 509 'EnableCOMDATFolding': '2', |
| 510 }, | 510 }, |
| 511 }, | 511 }, |
| 512 }], # OS=="win" | 512 }], # OS=="win" |
| 513 ], # conditions | 513 ], # conditions |
| 514 }, # Release | 514 }, # Release |
| 515 }, # configurations | 515 }, # configurations |
| 516 }, # target_defaults | 516 }, # target_defaults |
| 517 } | 517 } |
| OLD | NEW |