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 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
740 ], | 740 ], |
741 } | 741 } |
742 ], | 742 ], |
743 ['OS=="mac"', { | 743 ['OS=="mac"', { |
744 'sources': [ | 744 'sources': [ |
745 '../../src/platform-macos.cc', | 745 '../../src/platform-macos.cc', |
746 '../../src/platform-posix.cc' | 746 '../../src/platform-posix.cc' |
747 ]}, | 747 ]}, |
748 ], | 748 ], |
749 ['OS=="win"', { | 749 ['OS=="win"', { |
| 750 'variables': { |
| 751 'gyp_generators': '<!(echo $GYP_GENERATORS)', |
| 752 }, |
750 'sources': [ | 753 'sources': [ |
751 '../../src/platform-win32.cc', | 754 '../../src/platform-win32.cc', |
752 '../../src/win32-math.cc', | 755 '../../src/win32-math.cc', |
753 '../../src/win32-math.h', | 756 '../../src/win32-math.h', |
754 ], | 757 ], |
755 'msvs_disabled_warnings': [4351, 4355, 4800], | 758 'conditions': [ |
756 'link_settings': { | 759 ['gyp_generators=="make"', { |
757 'libraries': [ '-lwinmm.lib', '-lws2_32.lib' ], | 760 'link_settings': { |
758 }, | 761 'libraries': [ '-lwinmm', '-lws2_32' ], |
| 762 }, |
| 763 }, { |
| 764 'msvs_disabled_warnings': [4351, 4355, 4800], |
| 765 'link_settings': { |
| 766 'libraries': [ '-lwinmm.lib', '-lws2_32.lib' ], |
| 767 }, |
| 768 }], |
| 769 ], |
759 }], | 770 }], |
760 ['component=="shared_library"', { | 771 ['component=="shared_library"', { |
761 'defines': [ | 772 'defines': [ |
762 'BUILDING_V8_SHARED', | 773 'BUILDING_V8_SHARED', |
763 'V8_SHARED', | 774 'V8_SHARED', |
764 ], | 775 ], |
765 }], | 776 }], |
766 ['v8_postmortem_support=="true"', { | 777 ['v8_postmortem_support=="true"', { |
767 'sources': [ | 778 'sources': [ |
768 '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc', | 779 '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc', |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
998 }], | 1009 }], |
999 ], | 1010 ], |
1000 'dependencies': [ | 1011 'dependencies': [ |
1001 'v8' | 1012 'v8' |
1002 ], | 1013 ], |
1003 }, | 1014 }, |
1004 ], | 1015 ], |
1005 }], | 1016 }], |
1006 ], | 1017 ], |
1007 } | 1018 } |
OLD | NEW |