From: yangguo@chromium.org Date: Thu, 21 Nov 2013 13:30:14 +0000 (+0000) Subject: Fix build. X-Git-Tag: upstream/4.7.83~11615 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2340aa416432ef1dd340ae88f1e0488ff0e56edf;p=platform%2Fupstream%2Fv8.git Fix build. R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/80903002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17966 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/tools/gyp/v8.gyp b/tools/gyp/v8.gyp index 0a89fdd..016eea1 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', },