Index: tools/gyp/v8.gyp |
diff --git a/tools/gyp/v8.gyp b/tools/gyp/v8.gyp |
index 0a89fddd3fee7cc219e485cc5f643494bbf2ad4b..016eea1a8c4f9915e145976d6798b0a2fe3da0c1 100644 |
--- a/tools/gyp/v8.gyp |
+++ b/tools/gyp/v8.gyp |
@@ -132,7 +132,6 @@ |
}], |
], |
'dependencies': [ |
- 'generate_trig_table', |
'v8_base.<(v8_target_arch)', |
], |
'include_dirs+': [ |
@@ -176,7 +175,6 @@ |
'target_name': 'v8_nosnapshot.<(v8_target_arch)', |
'type': 'static_library', |
'dependencies': [ |
- 'generate_trig_table', |
'v8_base.<(v8_target_arch)', |
], |
'include_dirs+': [ |
@@ -206,6 +204,13 @@ |
}, |
{ 'target_name': 'generate_trig_table', |
'type': 'none', |
+ 'conditions': [ |
+ ['want_separate_host_toolset==1', { |
+ 'toolsets': ['host', 'target'], |
+ }, { |
+ 'toolsets': ['target'], |
+ }], |
+ ], |
'actions': [ |
{ |
'action_name': 'generate', |
@@ -226,6 +231,9 @@ |
{ |
'target_name': 'v8_base.<(v8_target_arch)', |
'type': 'static_library', |
+ 'dependencies': [ |
+ 'generate_trig_table', |
+ ], |
'variables': { |
'optimize': 'max', |
}, |