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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 }], | 394 }], |
395 ['OS=="mac"', { | 395 ['OS=="mac"', { |
396 'xcode_settings': { | 396 'xcode_settings': { |
397 'GCC_OPTIMIZATION_LEVEL': '0', # -O0 | 397 'GCC_OPTIMIZATION_LEVEL': '0', # -O0 |
398 }, | 398 }, |
399 }], | 399 }], |
400 ], | 400 ], |
401 }, # Debug | 401 }, # Debug |
402 'Release': { | 402 'Release': { |
403 'variables': { | 403 'variables': { |
404 'v8_enable_extra_checks%': 0, | 404 'v8_enable_extra_checks%': 1, |
405 }, | 405 }, |
406 'conditions': [ | 406 'conditions': [ |
407 ['v8_enable_extra_checks==1', { | 407 ['v8_enable_extra_checks==1', { |
408 'defines': ['ENABLE_EXTRA_CHECKS',], | 408 'defines': ['ENABLE_EXTRA_CHECKS',], |
409 }], | 409 }], |
410 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" \ | 410 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" \ |
411 or OS=="android"', { | 411 or OS=="android"', { |
412 'cflags!': [ | 412 'cflags!': [ |
413 '-O2', | 413 '-O2', |
414 '-Os', | 414 '-Os', |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 'OptimizeReferences': '2', | 463 'OptimizeReferences': '2', |
464 'EnableCOMDATFolding': '2', | 464 'EnableCOMDATFolding': '2', |
465 }, | 465 }, |
466 }, | 466 }, |
467 }], # OS=="win" | 467 }], # OS=="win" |
468 ], # conditions | 468 ], # conditions |
469 }, # Release | 469 }, # Release |
470 }, # configurations | 470 }, # configurations |
471 }, # target_defaults | 471 }, # target_defaults |
472 } | 472 } |
OLD | NEW |