Revision: 18621
Author:   [email protected]
Date:     Wed Jan 15 15:35:10 2014 UTC
Log:      Make it possible to compile d8 for the host toolset as well

2nd attempt. Use a different output path for the host d8.

BUG=v8:1775
[email protected]
LOG=n

Review URL: https://codereview.chromium.org/139493002
http://code.google.com/p/v8/source/detail?r=18621

Modified:
 /branches/bleeding_edge/src/d8.gyp

=======================================
--- /branches/bleeding_edge/src/d8.gyp  Wed Jan 15 14:24:32 2014 UTC
+++ /branches/bleeding_edge/src/d8.gyp  Wed Jan 15 15:35:10 2014 UTC
@@ -48,7 +48,17 @@
       'sources': [
         'd8.cc',
       ],
+      'target_conditions': [
+        [ '_toolset == "host"', {
+          'product_dir': '<(PRODUCT_DIR)/host',
+        }],
+      ],
       'conditions': [
+        [ 'want_separate_host_toolset==1', {
+          'toolsets': ['host', 'target'],
+        }, {
+          'toolsets': ['target'],
+        }],
         [ 'console=="readline"', {
           'libraries': [ '-lreadline', ],
           'sources': [ 'd8-readline.cc' ],

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to