| 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 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 624 'target_defaults': { | 624 'target_defaults': { |
| 625 'cflags': [ | 625 'cflags': [ |
| 626 '-Wall', | 626 '-Wall', |
| 627 '<(werror)', | 627 '<(werror)', |
| 628 '-Wno-unused-parameter', | 628 '-Wno-unused-parameter', |
| 629 '-Wno-long-long', | 629 '-Wno-long-long', |
| 630 '-pthread', | 630 '-pthread', |
| 631 '-pedantic', | 631 '-pedantic', |
| 632 # Don't warn about the "struct foo f = {0};" initialization pattern. | 632 # Don't warn about the "struct foo f = {0};" initialization pattern. |
| 633 '-Wno-missing-field-initializers', | 633 '-Wno-missing-field-initializers', |
| 634 '-Wno-gnu-zero-variadic-macro-arguments', |
| 634 ], | 635 ], |
| 635 'cflags_cc': [ | 636 'cflags_cc': [ |
| 636 '-Wnon-virtual-dtor', | 637 '-Wnon-virtual-dtor', |
| 637 '-fno-exceptions', | 638 '-fno-exceptions', |
| 638 '-fno-rtti', | 639 '-fno-rtti', |
| 639 '-std=gnu++0x', | 640 '-std=gnu++0x', |
| 640 ], | 641 ], |
| 641 'ldflags': [ '-pthread', ], | 642 'ldflags': [ '-pthread', ], |
| 642 'conditions': [ | 643 'conditions': [ |
| 643 [ 'clang==1 and (v8_target_arch=="x64" or v8_target_arch=="arm64" \ | 644 [ 'clang==1 and (v8_target_arch=="x64" or v8_target_arch=="arm64" \ |
| (...skipping 15 matching lines...) Expand all Loading... |
| 659 # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" | 660 # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" |
| 660 # or OS=="netbsd"' | 661 # or OS=="netbsd"' |
| 661 ['OS=="qnx"', { | 662 ['OS=="qnx"', { |
| 662 'target_defaults': { | 663 'target_defaults': { |
| 663 'cflags': [ | 664 'cflags': [ |
| 664 '-Wall', | 665 '-Wall', |
| 665 '<(werror)', | 666 '<(werror)', |
| 666 '-Wno-unused-parameter', | 667 '-Wno-unused-parameter', |
| 667 # Don't warn about the "struct foo f = {0};" initialization pattern. | 668 # Don't warn about the "struct foo f = {0};" initialization pattern. |
| 668 '-Wno-missing-field-initializers', | 669 '-Wno-missing-field-initializers', |
| 670 '-Wno-gnu-zero-variadic-macro-arguments', |
| 669 ], | 671 ], |
| 670 'cflags_cc': [ | 672 'cflags_cc': [ |
| 671 '-Wnon-virtual-dtor', | 673 '-Wnon-virtual-dtor', |
| 672 '-fno-exceptions', | 674 '-fno-exceptions', |
| 673 '-fno-rtti', | 675 '-fno-rtti', |
| 674 '-std=gnu++0x', | 676 '-std=gnu++0x', |
| 675 ], | 677 ], |
| 676 'conditions': [ | 678 'conditions': [ |
| 677 [ 'visibility=="hidden"', { | 679 [ 'visibility=="hidden"', { |
| 678 'cflags': [ '-fvisibility=hidden' ], | 680 'cflags': [ '-fvisibility=hidden' ], |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 883 'USE_HEADERMAP': 'NO', | 885 'USE_HEADERMAP': 'NO', |
| 884 'OTHER_CFLAGS': [ | 886 'OTHER_CFLAGS': [ |
| 885 '-fno-strict-aliasing', | 887 '-fno-strict-aliasing', |
| 886 ], | 888 ], |
| 887 'WARNING_CFLAGS': [ | 889 'WARNING_CFLAGS': [ |
| 888 '-Wall', | 890 '-Wall', |
| 889 '-Wendif-labels', | 891 '-Wendif-labels', |
| 890 '-Wno-unused-parameter', | 892 '-Wno-unused-parameter', |
| 891 # Don't warn about the "struct foo f = {0};" initialization pattern. | 893 # Don't warn about the "struct foo f = {0};" initialization pattern. |
| 892 '-Wno-missing-field-initializers', | 894 '-Wno-missing-field-initializers', |
| 895 '-Wno-gnu-zero-variadic-macro-arguments', |
| 893 ], | 896 ], |
| 894 }, | 897 }, |
| 895 'conditions': [ | 898 'conditions': [ |
| 896 ['werror==""', { | 899 ['werror==""', { |
| 897 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO'}, | 900 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO'}, |
| 898 }, { | 901 }, { |
| 899 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES'}, | 902 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES'}, |
| 900 }], | 903 }], |
| 901 ['clang==1', { | 904 ['clang==1', { |
| 902 'xcode_settings': { | 905 'xcode_settings': { |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1279 '-fsanitize=cfi-vcall', | 1282 '-fsanitize=cfi-vcall', |
| 1280 '-fsanitize=cfi-derived-cast', | 1283 '-fsanitize=cfi-derived-cast', |
| 1281 '-fsanitize=cfi-unrelated-cast', | 1284 '-fsanitize=cfi-unrelated-cast', |
| 1282 ], | 1285 ], |
| 1283 }], | 1286 }], |
| 1284 ], | 1287 ], |
| 1285 }, | 1288 }, |
| 1286 }], | 1289 }], |
| 1287 ], | 1290 ], |
| 1288 } | 1291 } |
| OLD | NEW |