Reviewers: Michael Achenbach,
Description:
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
Please review this at https://codereview.chromium.org/139493002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+10, -0 lines):
M src/d8.gyp
Index: src/d8.gyp
diff --git a/src/d8.gyp b/src/d8.gyp
index
bc1dedca0fe0bf6e5ba282d0d1e10dd3302f6ef1..b9ea7639dc9bb346dfcefa8a80c04e6bb12a0254
100644
--- a/src/d8.gyp
+++ b/src/d8.gyp
@@ -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.