Commit a36bda5c authored by bmeurer@chromium.org's avatar bmeurer@chromium.org

Revert "Add (mostly Chromium-compatible) V8_OS_* defines to v8.gyp."

This reverts commit r16238 for not being able to use the defines
outside of libv8 (i.e. in tests). Will reland the #define's in a
build config header style.

R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/22861022

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16267 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 40f81949
......@@ -689,10 +689,6 @@
}],
],
},
'defines': [
'V8_OS_LINUX=1',
'V8_OS_POSIX=1'
],
'sources': [ ### gcmole(os:linux) ###
'../../src/platform-linux.cc',
'../../src/platform-posix.cc'
......@@ -710,29 +706,16 @@
['host_os=="mac"', {
'target_conditions': [
['_toolset=="host"', {
'defines': [
'V8_OS_BSD=1',
'V8_OS_MACOSX=1',
'V8_OS_POSIX=1'
],
'sources': [
'../../src/platform-macos.cc'
]
}, {
'defines': [
'V8_OS_LINUX=1',
'V8_OS_POSIX=1'
],
'sources': [
'../../src/platform-linux.cc'
]
}],
],
}, {
'defines': [
'V8_OS_LINUX=1',
'V8_OS_POSIX=1'
],
'sources': [
'../../src/platform-linux.cc'
]
......@@ -741,11 +724,6 @@
},
],
['OS=="freebsd"', {
'defines': [
'V8_OS_BSD=1',
'V8_OS_FREEBSD=1',
'V8_OS_POSIX=1'
],
'link_settings': {
'libraries': [
'-L/usr/local/lib -lexecinfo',
......@@ -757,11 +735,6 @@
}
],
['OS=="openbsd"', {
'defines': [
'V8_OS_BSD=1',
'V8_OS_OPENBSD=1',
'V8_OS_POSIX=1'
],
'link_settings': {
'libraries': [
'-L/usr/local/lib -lexecinfo',
......@@ -773,11 +746,6 @@
}
],
['OS=="netbsd"', {
'defines': [
'V8_OS_BSD=1',
'V8_OS_NETBSD=1',
'V8_OS_POSIX=1'
],
'link_settings': {
'libraries': [
'-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lexecinfo',
......@@ -789,10 +757,6 @@
}
],
['OS=="solaris"', {
'defines': [
'V8_OS_POSIX=1',
'V8_OS_SOLARIS=1'
],
'link_settings': {
'libraries': [
'-lsocket -lnsl',
......@@ -804,11 +768,6 @@
}
],
['OS=="mac"', {
'defines': [
'V8_OS_BSD=1',
'V8_OS_MACOSX=1',
'V8_OS_POSIX=1'
],
'sources': [
'../../src/platform-macos.cc',
'../../src/platform-posix.cc'
......@@ -825,18 +784,11 @@
},
'conditions': [
['build_env=="Cygwin"', {
'defines': [
'V8_OS_CYGWIN=1',
'V8_OS_POSIX=1'
],
'sources': [
'../../src/platform-cygwin.cc',
'../../src/platform-posix.cc',
],
}, {
'defines': [
'V8_OS_WIN=1'
],
'sources': [
'../../src/platform-win32.cc',
'../../src/win32-math.h',
......@@ -848,9 +800,6 @@
'libraries': [ '-lwinmm', '-lws2_32' ],
},
}, {
'defines': [
'V8_OS_WIN=1'
],
'sources': [
'../../src/platform-win32.cc',
'../../src/win32-math.h',
......
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