Use lowercase machine architecture.

Bug: 896355
Change-Id: I83a3c27478029d90206b5bb26e26797df47a90f6
Reviewed-on: https://chromium-review.googlesource.com/c/1287244
Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
changes/44/1287244/2
Edward Lemur 7 years ago committed by Commit Bot
parent 1333933200
commit 4ac892e4d1

@ -12,7 +12,7 @@ import sys
def HostArch(): def HostArch():
"""Returns the host architecture with a predictable string.""" """Returns the host architecture with a predictable string."""
host_arch = platform.machine() host_arch = platform.machine().lower()
# Convert machine type to format recognized by gyp. # Convert machine type to format recognized by gyp.
if re.match(r'i.86', host_arch) or host_arch == 'i86pc': if re.match(r'i.86', host_arch) or host_arch == 'i86pc':

Loading…
Cancel
Save