Reviewers: Lasse Reichstein,
Message:
I'd like to be able to build v8_shell for the host. Can you please review
this
change to v8.gyp?
Thanks,
-SCR
Description:
Allow compiling v8_shell with the 'host' toolset.
BUG=82437
TEST=Compile browser_tests for Arm against
http://codereview.chromium.org/7087014/
Please review this at http://codereview.chromium.org/7212014/
SVN Base: http://v8.googlecode.com/svn/trunk/
Affected files:
M tools/gyp/v8.gyp
Index: tools/gyp/v8.gyp
===================================================================
--- tools/gyp/v8.gyp (revision 8294)
+++ tools/gyp/v8.gyp (working copy)
@@ -232,6 +232,7 @@
'targets': [
{
'target_name': 'v8',
+ 'toolsets': ['host', 'target'],
'conditions': [
['v8_use_snapshot=="true"', {
'dependencies': ['v8_snapshot'],
@@ -281,6 +282,7 @@
{
'target_name': 'v8_snapshot',
'type': '<(library)',
+ 'toolsets': ['host', 'target'],
'conditions': [
['component=="shared_library"', {
'conditions': [
@@ -954,6 +956,7 @@
{
'target_name': 'v8_shell',
'type': 'executable',
+ 'toolsets': ['host'],
'dependencies': [
'v8'
],
@@ -977,6 +980,7 @@
{
'target_name': 'v8',
'type': 'settings',
+ 'toolsets': ['host', 'target'],
'link_settings': {
'libraries': [
'-lv8',
@@ -986,6 +990,7 @@
{
'target_name': 'v8_shell',
'type': 'none',
+ 'toolsets': ['host'],
'dependencies': [
'v8'
],
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev