Upstream Android V8 change.

Fix the Mac build. "_toolset" needs to be tested inside target_conditions now.

And there is no need to have -llog any more.

Review URL: http://codereview.chromium.org/8631012
Patch from Jing Zhao <jingzhao@chromium.org>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10057 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
jkummerow@chromium.org 2011-11-23 17:32:34 +00:00
parent 83b01d84a1
commit 67c3cc41e2
2 changed files with 13 additions and 14 deletions

View File

@ -141,7 +141,7 @@
}],
# The ARM assembler assumes the host is 32 bits,
# so force building 32-bit host tools.
['host_arch=="x64"', {
['host_arch=="x64" or OS=="android"', {
'target_conditions': [
['_toolset=="host"', {
'cflags': ['-m32'],

View File

@ -27,15 +27,6 @@
{
'includes': ['../../build/common.gypi'],
'target_conditions': [
['OS=="android" and _toolset=="target"', {
'link_settings': {
'libraries': [
'-llog',
],
}
}],
],
'conditions': [
['use_system_v8==0', {
'targets': [
@ -648,10 +639,18 @@
'../../src/platform-posix.cc',
],
'conditions': [
['host_os=="mac" and _toolset!="target"', {
'sources': [
'../../src/platform-macos.cc'
]
['host_os=="mac"', {
'target_conditions': [
['_toolset=="host"', {
'sources': [
'../../src/platform-macos.cc'
]
}, {
'sources': [
'../../src/platform-linux.cc'
]
}],
],
}, {
'sources': [
'../../src/platform-linux.cc'