MIPS: Fix mksnapshot on big-endian.

Paritally revert standalone.gypi changes in a451bd1a68 and introduce a new separate variable for the mkpeephole.

On big-endian MIPS, qemu is used to build the snapshot,
because there's no simulator support for big-endian MIPS.

BUG=

Review-Url: https://codereview.chromium.org/2172653002
Cr-Commit-Position: refs/heads/master@{#38103}
This commit is contained in:
akos.palfi 2016-07-27 07:47:45 -07:00 committed by Commit bot
parent 9a1832a829
commit 928d2395c3
2 changed files with 16 additions and 4 deletions

View File

@ -238,13 +238,24 @@
(v8_target_arch=="arm64" and host_arch!="arm64") or \
(v8_target_arch=="mipsel" and host_arch!="mipsel") or \
(v8_target_arch=="mips64el" and host_arch!="mips64el") or \
(v8_target_arch=="mips" and host_arch!="mips") or \
(v8_target_arch=="x64" and host_arch!="x64") or \
(OS=="android" or OS=="qnx")', {
'want_separate_host_toolset': 1,
}, {
'want_separate_host_toolset': 0,
}],
['(v8_target_arch=="arm" and host_arch!="arm") or \
(v8_target_arch=="arm64" and host_arch!="arm64") or \
(v8_target_arch=="mipsel" and host_arch!="mipsel") or \
(v8_target_arch=="mips64el" and host_arch!="mips64el") or \
(v8_target_arch=="mips" and host_arch!="mips") or \
(v8_target_arch=="mips64" and host_arch!="mips64") or \
(v8_target_arch=="x64" and host_arch!="x64") or \
(OS=="android" or OS=="qnx")', {
'want_separate_host_toolset_mkpeephole': 1,
}, {
'want_separate_host_toolset_mkpeephole': 0,
}],
['OS == "win"', {
'os_posix%': 0,
}, {

View File

@ -399,7 +399,7 @@
'action': ['<(mkpeephole_exec)', '<(INTERMEDIATE_DIR)/bytecode-peephole-table.cc' ],
'process_outputs_as_sources': 1,
'conditions': [
['want_separate_host_toolset==1', {
['want_separate_host_toolset_mkpeephole==1', {
'dependencies': ['mkpeephole#host'],
'toolsets': ['host'],
}, {
@ -1794,7 +1794,8 @@
'base/utils/random-number-generator.h',
],
'conditions': [
['want_separate_host_toolset==1', {
['want_separate_host_toolset==1 or \
want_separate_host_toolset_mkpeephole==1', {
'toolsets': ['host', 'target'],
}, {
'toolsets': ['target'],
@ -2372,7 +2373,7 @@
'interpreter/mkpeephole.cc'
],
'conditions': [
['want_separate_host_toolset==1', {
['want_separate_host_toolset_mkpeephole==1', {
'toolsets': ['host'],
}, {
'toolsets': ['target'],