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