Revert "Rename target-specific binaries built for host."

The Android build system support for gyp has been fixed to handle
target-dependent host binaries correctly without requiring them to
include the target architecture in the name. Remove the suffixes to make
referring to these targets simpler again.

This reverts r14209.

BUG=
R=jkummerow@chromium.org

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

Patch from Richard Coles <torne@chromium.org>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21428 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 38d30d78
...@@ -205,7 +205,7 @@ ...@@ -205,7 +205,7 @@
}, },
{ {
'dependencies': [ 'dependencies': [
'../../tools/gyp/v8.gyp:v8_nosnapshot.<(v8_target_arch)', '../../tools/gyp/v8.gyp:v8_nosnapshot',
], ],
}], }],
], ],
......
...@@ -46,16 +46,13 @@ ...@@ -46,16 +46,13 @@
# The dependency on v8_base should come from a transitive # The dependency on v8_base should come from a transitive
# dependency however the Android toolchain requires libv8_base.a # dependency however the Android toolchain requires libv8_base.a
# to appear before libv8_snapshot.a so it's listed explicitly. # to appear before libv8_snapshot.a so it's listed explicitly.
'dependencies': ['v8_base.<(v8_target_arch)', 'v8_snapshot'], 'dependencies': ['v8_base', 'v8_snapshot'],
}, },
{ {
# The dependency on v8_base should come from a transitive # The dependency on v8_base should come from a transitive
# dependency however the Android toolchain requires libv8_base.a # dependency however the Android toolchain requires libv8_base.a
# to appear before libv8_snapshot.a so it's listed explicitly. # to appear before libv8_snapshot.a so it's listed explicitly.
'dependencies': [ 'dependencies': ['v8_base', 'v8_nosnapshot'],
'v8_base.<(v8_target_arch)',
'v8_nosnapshot.<(v8_target_arch)',
],
}], }],
['component=="shared_library"', { ['component=="shared_library"', {
'type': '<(component)', 'type': '<(component)',
...@@ -112,14 +109,14 @@ ...@@ -112,14 +109,14 @@
['want_separate_host_toolset==1', { ['want_separate_host_toolset==1', {
'toolsets': ['host', 'target'], 'toolsets': ['host', 'target'],
'dependencies': [ 'dependencies': [
'mksnapshot.<(v8_target_arch)#host', 'mksnapshot#host',
'js2c#host', 'js2c#host',
'generate_trig_table#host', 'generate_trig_table#host',
], ],
}, { }, {
'toolsets': ['target'], 'toolsets': ['target'],
'dependencies': [ 'dependencies': [
'mksnapshot.<(v8_target_arch)', 'mksnapshot',
'js2c', 'js2c',
'generate_trig_table', 'generate_trig_table',
], ],
...@@ -138,7 +135,7 @@ ...@@ -138,7 +135,7 @@
}], }],
], ],
'dependencies': [ 'dependencies': [
'v8_base.<(v8_target_arch)', 'v8_base',
], ],
'include_dirs+': [ 'include_dirs+': [
'../../src', '../../src',
...@@ -153,7 +150,7 @@ ...@@ -153,7 +150,7 @@
{ {
'action_name': 'run_mksnapshot', 'action_name': 'run_mksnapshot',
'inputs': [ 'inputs': [
'<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot.<(v8_target_arch)<(EXECUTABLE_SUFFIX)', '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)',
], ],
'outputs': [ 'outputs': [
'<(INTERMEDIATE_DIR)/snapshot.cc', '<(INTERMEDIATE_DIR)/snapshot.cc',
...@@ -178,10 +175,10 @@ ...@@ -178,10 +175,10 @@
], ],
}, },
{ {
'target_name': 'v8_nosnapshot.<(v8_target_arch)', 'target_name': 'v8_nosnapshot',
'type': 'static_library', 'type': 'static_library',
'dependencies': [ 'dependencies': [
'v8_base.<(v8_target_arch)', 'v8_base',
], ],
'include_dirs+': [ 'include_dirs+': [
'../../src', '../../src',
...@@ -235,7 +232,7 @@ ...@@ -235,7 +232,7 @@
] ]
}, },
{ {
'target_name': 'v8_base.<(v8_target_arch)', 'target_name': 'v8_base',
'type': 'static_library', 'type': 'static_library',
'dependencies': [ 'dependencies': [
'v8_libbase.<(v8_target_arch)', 'v8_libbase.<(v8_target_arch)',
...@@ -1176,12 +1173,9 @@ ...@@ -1176,12 +1173,9 @@
] ]
}, },
{ {
'target_name': 'mksnapshot.<(v8_target_arch)', 'target_name': 'mksnapshot',
'type': 'executable', 'type': 'executable',
'dependencies': [ 'dependencies': ['v8_base', 'v8_nosnapshot'],
'v8_base.<(v8_target_arch)',
'v8_nosnapshot.<(v8_target_arch)',
],
'include_dirs+': [ 'include_dirs+': [
'../../src', '../../src',
], ],
......
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