Commit d226bb76 authored by machenbach's avatar machenbach Committed by Commit bot

sysroot installer: Don't error out for unknown target archs

V8 has several target_archs that don't have a supported
sysroot image, e.g. mips (big endian), ppc, s390.

This prevents the script from failing when run as a hook and
when one of these architectures is used.

BUG=chromium:616032

Review-Url: https://codereview.chromium.org/2027873004
Cr-Commit-Position: refs/heads/master@{#397129}
parent 71d3d0aa
......@@ -107,8 +107,6 @@ def DetectTargetArch():
return 'arm64'
elif target_arch == 'mipsel':
return 'mips'
elif target_arch:
raise Error('Unrecognized target_arch: %s' % target_arch)
return None
......
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