| OLD | NEW |
| 1 # Copyright 2013 the V8 project authors. All rights reserved. | 1 # Copyright 2013 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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 513 }], | 513 }], |
| 514 ], | 514 ], |
| 515 }, | 515 }, |
| 516 }, | 516 }, |
| 517 'conditions': [ | 517 'conditions': [ |
| 518 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" or \ | 518 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" or \ |
| 519 OS=="qnx"', { | 519 OS=="qnx"', { |
| 520 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', | 520 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', |
| 521 '-Wnon-virtual-dtor', '-Woverloaded-virtual', | 521 '-Wnon-virtual-dtor', '-Woverloaded-virtual', |
| 522 '<(wno_array_bounds)', | 522 '<(wno_array_bounds)', |
| 523 # Hide some GCC 4.8 warnings: | 523 ], |
| 524 # TODO(jbramley): Only enable these on GCC 4.8. | |
| 525 '-Wno-unused-local-typedefs', | |
| 526 '-Wno-maybe-uninitialized' ], | |
| 527 'conditions': [ | 524 'conditions': [ |
| 528 ['v8_optimized_debug==0', { | 525 ['v8_optimized_debug==0', { |
| 529 'cflags!': [ | 526 'cflags!': [ |
| 530 '-O0', | 527 '-O0', |
| 531 '-O3', | 528 '-O3', |
| 532 '-O2', | 529 '-O2', |
| 533 '-O1', | 530 '-O1', |
| 534 '-Os', | 531 '-Os', |
| 535 ], | 532 ], |
| 536 'cflags': [ | 533 'cflags': [ |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 618 'Release': { | 615 'Release': { |
| 619 'conditions': [ | 616 'conditions': [ |
| 620 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', { | 617 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', { |
| 621 'cflags!': [ | 618 'cflags!': [ |
| 622 '-Os', | 619 '-Os', |
| 623 ], | 620 ], |
| 624 'cflags': [ | 621 'cflags': [ |
| 625 '-fdata-sections', | 622 '-fdata-sections', |
| 626 '-ffunction-sections', | 623 '-ffunction-sections', |
| 627 '<(wno_array_bounds)', | 624 '<(wno_array_bounds)', |
| 628 # Hide some GCC 4.8 warnings: | |
| 629 # TODO(jbramley): Only enable these on GCC 4.8. | |
| 630 '-Wno-unused-local-typedefs', | |
| 631 '-Wno-maybe-uninitialized', | |
| 632 ], | 625 ], |
| 633 'conditions': [ | 626 'conditions': [ |
| 634 [ 'gcc_version==44 and clang==0', { | 627 [ 'gcc_version==44 and clang==0', { |
| 635 'cflags': [ | 628 'cflags': [ |
| 636 # Avoid crashes with gcc 4.4 in the v8 test suite. | 629 # Avoid crashes with gcc 4.4 in the v8 test suite. |
| 637 '-fno-tree-vrp', | 630 '-fno-tree-vrp', |
| 638 ], | 631 ], |
| 639 }], | 632 }], |
| 640 # TODO(crbug.com/272548): Avoid -O3 in NaCl | 633 # TODO(crbug.com/272548): Avoid -O3 in NaCl |
| 641 ['nacl_target_arch=="none"', { | 634 ['nacl_target_arch=="none"', { |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 'OptimizeReferences': '2', | 695 'OptimizeReferences': '2', |
| 703 'EnableCOMDATFolding': '2', | 696 'EnableCOMDATFolding': '2', |
| 704 }, | 697 }, |
| 705 }, | 698 }, |
| 706 }], # OS=="win" | 699 }], # OS=="win" |
| 707 ], # conditions | 700 ], # conditions |
| 708 }, # Release | 701 }, # Release |
| 709 }, # configurations | 702 }, # configurations |
| 710 }, # target_defaults | 703 }, # target_defaults |
| 711 } | 704 } |
| OLD | NEW |