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 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
668 'target_defaults': { | 668 'target_defaults': { |
669 'cflags': [ | 669 'cflags': [ |
670 '-Wall', | 670 '-Wall', |
671 '<(werror)', | 671 '<(werror)', |
672 '-Wno-unused-parameter', | 672 '-Wno-unused-parameter', |
673 '-Wno-long-long', | 673 '-Wno-long-long', |
674 '-pthread', | 674 '-pthread', |
675 '-pedantic', | 675 '-pedantic', |
676 # Don't warn about the "struct foo f = {0};" initialization pattern. | 676 # Don't warn about the "struct foo f = {0};" initialization pattern. |
677 '-Wno-missing-field-initializers', | 677 '-Wno-missing-field-initializers', |
| 678 '-Wno-gnu-zero-variadic-macro-arguments', |
678 ], | 679 ], |
679 'cflags_cc': [ | 680 'cflags_cc': [ |
680 '-Wnon-virtual-dtor', | 681 '-Wnon-virtual-dtor', |
681 '-fno-exceptions', | 682 '-fno-exceptions', |
682 '-fno-rtti', | 683 '-fno-rtti', |
683 '-std=gnu++0x', | 684 '-std=gnu++0x', |
684 ], | 685 ], |
685 'ldflags': [ '-pthread', ], | 686 'ldflags': [ '-pthread', ], |
686 'conditions': [ | 687 'conditions': [ |
687 [ 'clang==1 and (v8_target_arch=="x64" or v8_target_arch=="arm64" \ | 688 [ 'clang==1 and (v8_target_arch=="x64" or v8_target_arch=="arm64" \ |
(...skipping 15 matching lines...) Expand all Loading... |
703 # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" | 704 # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" |
704 # or OS=="netbsd"' | 705 # or OS=="netbsd"' |
705 ['OS=="qnx"', { | 706 ['OS=="qnx"', { |
706 'target_defaults': { | 707 'target_defaults': { |
707 'cflags': [ | 708 'cflags': [ |
708 '-Wall', | 709 '-Wall', |
709 '<(werror)', | 710 '<(werror)', |
710 '-Wno-unused-parameter', | 711 '-Wno-unused-parameter', |
711 # Don't warn about the "struct foo f = {0};" initialization pattern. | 712 # Don't warn about the "struct foo f = {0};" initialization pattern. |
712 '-Wno-missing-field-initializers', | 713 '-Wno-missing-field-initializers', |
| 714 '-Wno-gnu-zero-variadic-macro-arguments', |
713 ], | 715 ], |
714 'cflags_cc': [ | 716 'cflags_cc': [ |
715 '-Wnon-virtual-dtor', | 717 '-Wnon-virtual-dtor', |
716 '-fno-exceptions', | 718 '-fno-exceptions', |
717 '-fno-rtti', | 719 '-fno-rtti', |
718 '-std=gnu++0x', | 720 '-std=gnu++0x', |
719 ], | 721 ], |
720 'conditions': [ | 722 'conditions': [ |
721 [ 'visibility=="hidden"', { | 723 [ 'visibility=="hidden"', { |
722 'cflags': [ '-fvisibility=hidden' ], | 724 'cflags': [ '-fvisibility=hidden' ], |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
927 'USE_HEADERMAP': 'NO', | 929 'USE_HEADERMAP': 'NO', |
928 'OTHER_CFLAGS': [ | 930 'OTHER_CFLAGS': [ |
929 '-fno-strict-aliasing', | 931 '-fno-strict-aliasing', |
930 ], | 932 ], |
931 'WARNING_CFLAGS': [ | 933 'WARNING_CFLAGS': [ |
932 '-Wall', | 934 '-Wall', |
933 '-Wendif-labels', | 935 '-Wendif-labels', |
934 '-Wno-unused-parameter', | 936 '-Wno-unused-parameter', |
935 # Don't warn about the "struct foo f = {0};" initialization pattern. | 937 # Don't warn about the "struct foo f = {0};" initialization pattern. |
936 '-Wno-missing-field-initializers', | 938 '-Wno-missing-field-initializers', |
| 939 '-Wno-gnu-zero-variadic-macro-arguments', |
937 ], | 940 ], |
938 }, | 941 }, |
939 'conditions': [ | 942 'conditions': [ |
940 ['werror==""', { | 943 ['werror==""', { |
941 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO'}, | 944 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO'}, |
942 }, { | 945 }, { |
943 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES'}, | 946 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES'}, |
944 }], | 947 }], |
945 ['clang==1', { | 948 ['clang==1', { |
946 'xcode_settings': { | 949 'xcode_settings': { |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1323 '-fsanitize=cfi-vcall', | 1326 '-fsanitize=cfi-vcall', |
1324 '-fsanitize=cfi-derived-cast', | 1327 '-fsanitize=cfi-derived-cast', |
1325 '-fsanitize=cfi-unrelated-cast', | 1328 '-fsanitize=cfi-unrelated-cast', |
1326 ], | 1329 ], |
1327 }], | 1330 }], |
1328 ], | 1331 ], |
1329 }, | 1332 }, |
1330 }], | 1333 }], |
1331 ], | 1334 ], |
1332 } | 1335 } |
OLD | NEW |