Add solaris support to gyp build.

Patch by Ben Noordhuis <info@bnoordhuis.nl>. I don't have a Solaris box around to test this myself.

BUG=v8:1684

Review URL: http://codereview.chromium.org/7889038

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9291 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
jkummerow@chromium.org 2011-09-15 08:13:39 +00:00
parent 48b5328bde
commit 5a33daf643
2 changed files with 10 additions and 0 deletions

View File

@ -184,6 +184,9 @@
}],
],
}],
['OS=="solaris"', {
'defines': [ '__C99FEATURES__=1' ], # isinf() etc.
}],
],
'configurations': {
'Debug': {

View File

@ -641,6 +641,13 @@
],
}
],
['OS=="solaris"', {
'sources': [
'../../src/platform-solaris.cc',
'../../src/platform-posix.cc',
],
}
],
['OS=="mac"', {
'sources': [
'../../src/platform-macos.cc',