Make gyp work with MingW32

Review URL: https://codereview.chromium.org/13468015
Patch from Haitao Feng <haitao.feng@intel.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14257 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent ae37cb35
......@@ -33,6 +33,7 @@
#include "platform.h"
#include "cctest.h"
#include "win32-headers.h"
using namespace ::v8::internal;
......
......@@ -747,16 +747,27 @@
]},
],
['OS=="win"', {
'variables': {
'gyp_generators': '<!(echo $GYP_GENERATORS)',
},
'sources': [
'../../src/platform-win32.cc',
'../../src/win32-math.cc',
'../../src/win32-math.h',
],
'conditions': [
['gyp_generators=="make"', {
'link_settings': {
'libraries': [ '-lwinmm', '-lws2_32' ],
},
}, {
'msvs_disabled_warnings': [4351, 4355, 4800],
'link_settings': {
'libraries': [ '-lwinmm.lib', '-lws2_32.lib' ],
},
}],
],
}],
['component=="shared_library"', {
'defines': [
'BUILDING_V8_SHARED',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment