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 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 '_CRT_SECURE_NO_DEPRECATE', | 796 '_CRT_SECURE_NO_DEPRECATE', |
797 '_CRT_NONSTDC_NO_DEPRECATE', | 797 '_CRT_NONSTDC_NO_DEPRECATE', |
798 '_USING_V110_SDK71_', | 798 '_USING_V110_SDK71_', |
799 ], | 799 ], |
800 'conditions': [ | 800 'conditions': [ |
801 ['component=="static_library"', { | 801 ['component=="static_library"', { |
802 'defines': [ | 802 'defines': [ |
803 '_HAS_EXCEPTIONS=0', | 803 '_HAS_EXCEPTIONS=0', |
804 ], | 804 ], |
805 }], | 805 }], |
| 806 ['component=="shared_library"', { |
| 807 'msvs_disabled_warnings': [ |
| 808 4251, # class 'std::xx' needs to have dll-interface. |
| 809 ], |
| 810 }], |
806 ], | 811 ], |
807 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], | 812 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], |
808 'msvs_disabled_warnings': [ | 813 'msvs_disabled_warnings': [ |
809 # C4091: 'typedef ': ignored on left of 'X' when no variable is | 814 # C4091: 'typedef ': ignored on left of 'X' when no variable is |
810 # declared. | 815 # declared. |
811 # This happens in a number of Windows headers. Dumb. | 816 # This happens in a number of Windows headers. Dumb. |
812 4091, | 817 4091, |
813 | 818 |
814 # C4127: conditional expression is constant | 819 # C4127: conditional expression is constant |
815 # This warning can in theory catch dead code and other problems, but | 820 # This warning can in theory catch dead code and other problems, but |
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1451 '-fsanitize=cfi-vcall', | 1456 '-fsanitize=cfi-vcall', |
1452 '-fsanitize=cfi-derived-cast', | 1457 '-fsanitize=cfi-derived-cast', |
1453 '-fsanitize=cfi-unrelated-cast', | 1458 '-fsanitize=cfi-unrelated-cast', |
1454 ], | 1459 ], |
1455 }], | 1460 }], |
1456 ], | 1461 ], |
1457 }, | 1462 }, |
1458 }], | 1463 }], |
1459 ], | 1464 ], |
1460 } | 1465 } |
OLD | NEW |