Commit 3d21f84f authored by yangguo@chromium.org's avatar yangguo@chromium.org

Fix generate_trig_table build target.

It now closely resembles the js2c target, so that we only have
one platform to run it on (either 'host' or 'target'). This way
we do not run into warnings when compiling for e.g. ARM.

R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/85893002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18067 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 1372f763
...@@ -113,10 +113,15 @@ ...@@ -113,10 +113,15 @@
'dependencies': [ 'dependencies': [
'mksnapshot.<(v8_target_arch)#host', 'mksnapshot.<(v8_target_arch)#host',
'js2c#host', 'js2c#host',
'generate_trig_table#host',
], ],
}, { }, {
'toolsets': ['target'], 'toolsets': ['target'],
'dependencies': ['mksnapshot.<(v8_target_arch)', 'js2c'], 'dependencies': [
'mksnapshot.<(v8_target_arch)',
'js2c',
'generate_trig_table',
],
}], }],
['component=="shared_library"', { ['component=="shared_library"', {
'defines': [ 'defines': [
...@@ -189,10 +194,10 @@ ...@@ -189,10 +194,10 @@
'conditions': [ 'conditions': [
['want_separate_host_toolset==1', { ['want_separate_host_toolset==1', {
'toolsets': ['host', 'target'], 'toolsets': ['host', 'target'],
'dependencies': ['js2c#host'], 'dependencies': ['js2c#host', 'generate_trig_table#host'],
}, { }, {
'toolsets': ['target'], 'toolsets': ['target'],
'dependencies': ['js2c'], 'dependencies': ['js2c', 'generate_trig_table'],
}], }],
['component=="shared_library"', { ['component=="shared_library"', {
'defines': [ 'defines': [
...@@ -206,7 +211,7 @@ ...@@ -206,7 +211,7 @@
'type': 'none', 'type': 'none',
'conditions': [ 'conditions': [
['want_separate_host_toolset==1', { ['want_separate_host_toolset==1', {
'toolsets': ['host', 'target'], 'toolsets': ['host'],
}, { }, {
'toolsets': ['target'], 'toolsets': ['target'],
}], }],
...@@ -231,9 +236,6 @@ ...@@ -231,9 +236,6 @@
{ {
'target_name': 'v8_base.<(v8_target_arch)', 'target_name': 'v8_base.<(v8_target_arch)',
'type': 'static_library', 'type': 'static_library',
'dependencies': [
'generate_trig_table',
],
'variables': { 'variables': {
'optimize': 'max', 'optimize': 'max',
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment