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 778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
789 '_CRT_SECURE_NO_DEPRECATE', | 789 '_CRT_SECURE_NO_DEPRECATE', |
790 '_CRT_NONSTDC_NO_DEPRECATE', | 790 '_CRT_NONSTDC_NO_DEPRECATE', |
791 '_USING_V110_SDK71_', | 791 '_USING_V110_SDK71_', |
792 ], | 792 ], |
793 'conditions': [ | 793 'conditions': [ |
794 ['component=="static_library"', { | 794 ['component=="static_library"', { |
795 'defines': [ | 795 'defines': [ |
796 '_HAS_EXCEPTIONS=0', | 796 '_HAS_EXCEPTIONS=0', |
797 ], | 797 ], |
798 }], | 798 }], |
799 ['component=="shared_library"', { | |
800 'msvs_disabled_warnings': [ | |
801 4251, # class 'std::xx' needs to have dll-interface. | |
802 ], | |
803 }], | |
804 ], | 799 ], |
805 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], | 800 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], |
806 'msvs_disabled_warnings': [ | 801 'msvs_disabled_warnings': [ |
807 # C4091: 'typedef ': ignored on left of 'X' when no variable is | 802 # C4091: 'typedef ': ignored on left of 'X' when no variable is |
808 # declared. | 803 # declared. |
809 # This happens in a number of Windows headers. Dumb. | 804 # This happens in a number of Windows headers. Dumb. |
810 4091, | 805 4091, |
811 | 806 |
812 # C4127: conditional expression is constant | 807 # C4127: conditional expression is constant |
813 # This warning can in theory catch dead code and other problems, but | 808 # This warning can in theory catch dead code and other problems, but |
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1404 '-fsanitize=cfi-vcall', | 1399 '-fsanitize=cfi-vcall', |
1405 '-fsanitize=cfi-derived-cast', | 1400 '-fsanitize=cfi-derived-cast', |
1406 '-fsanitize=cfi-unrelated-cast', | 1401 '-fsanitize=cfi-unrelated-cast', |
1407 ], | 1402 ], |
1408 }], | 1403 }], |
1409 ], | 1404 ], |
1410 }, | 1405 }, |
1411 }], | 1406 }], |
1412 ], | 1407 ], |
1413 } | 1408 } |
OLD | NEW |