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 734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
745 ['OS=="mac"', { | 745 ['OS=="mac"', { |
746 'sources': [ | 746 'sources': [ |
747 '../../src/platform-macos.cc', | 747 '../../src/platform-macos.cc', |
748 '../../src/platform-posix.cc' | 748 '../../src/platform-posix.cc' |
749 ]}, | 749 ]}, |
750 ], | 750 ], |
751 ['OS=="win"', { | 751 ['OS=="win"', { |
752 'variables': { | 752 'variables': { |
753 'gyp_generators': '<!(echo $GYP_GENERATORS)', | 753 'gyp_generators': '<!(echo $GYP_GENERATORS)', |
754 }, | 754 }, |
755 'sources': [ | |
756 '../../src/platform-win32.cc', | |
757 '../../src/win32-math.cc', | |
758 '../../src/win32-math.h', | |
759 ], | |
760 'conditions': [ | 755 'conditions': [ |
761 ['gyp_generators=="make"', { | 756 ['gyp_generators=="make"', { |
| 757 'variables': { |
| 758 'build_env': '<!(uname -o)', |
| 759 }, |
| 760 'conditions': [ |
| 761 ['build_env=="Cygwin"', { |
| 762 'sources': [ |
| 763 '../../src/platform-cygwin.cc', |
| 764 '../../src/platform-posix.cc', |
| 765 ], |
| 766 }, { |
| 767 'sources': [ |
| 768 '../../src/platform-win32.cc', |
| 769 '../../src/win32-math.h', |
| 770 '../../src/win32-math.cc', |
| 771 ], |
| 772 }], |
| 773 ], |
762 'link_settings': { | 774 'link_settings': { |
763 'libraries': [ '-lwinmm', '-lws2_32' ], | 775 'libraries': [ '-lwinmm', '-lws2_32' ], |
764 }, | 776 }, |
765 }, { | 777 }, { |
| 778 'sources': [ |
| 779 '../../src/platform-win32.cc', |
| 780 '../../src/win32-math.h', |
| 781 '../../src/win32-math.cc', |
| 782 ], |
766 'msvs_disabled_warnings': [4351, 4355, 4800], | 783 'msvs_disabled_warnings': [4351, 4355, 4800], |
767 'link_settings': { | 784 'link_settings': { |
768 'libraries': [ '-lwinmm.lib', '-lws2_32.lib' ], | 785 'libraries': [ '-lwinmm.lib', '-lws2_32.lib' ], |
769 }, | 786 }, |
770 }], | 787 }], |
771 ], | 788 ], |
772 }], | 789 }], |
773 ['component=="shared_library"', { | 790 ['component=="shared_library"', { |
774 'defines': [ | 791 'defines': [ |
775 'BUILDING_V8_SHARED', | 792 'BUILDING_V8_SHARED', |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1011 }], | 1028 }], |
1012 ], | 1029 ], |
1013 'dependencies': [ | 1030 'dependencies': [ |
1014 'v8' | 1031 'v8' |
1015 ], | 1032 ], |
1016 }, | 1033 }, |
1017 ], | 1034 ], |
1018 }], | 1035 }], |
1019 ], | 1036 ], |
1020 } | 1037 } |
OLD | NEW |