Commit e7fad930 authored by John Barboza's avatar John Barboza Committed by Commit Bot

Use gn from PATH on aix

Change-Id: I853f7899dbba9112ba1ca2ce78e2838b5a09c975
Reviewed-on: https://chromium-review.googlesource.com/1168087
Commit-Queue: John Barboza <jbarboza@ca.ibm.com>
Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#55028}
parent 145dd87b
......@@ -832,14 +832,12 @@ class MetaBuildWrapper(object):
subdir, exe = 'linux64', 'gn'
elif self.platform == 'darwin':
subdir, exe = 'mac', 'gn'
elif self.platform == 'aix6':
subdir, exe = 'aix', 'gn'
else:
subdir, exe = 'win', 'gn.exe'
arch = platform.machine()
if (self.platform == 'linux2' and
(arch.startswith('s390') or arch.startswith('ppc'))):
if (arch.startswith('s390') or arch.startswith('ppc') or
self.platform.startswith('aix')):
# use gn in PATH
gn_path = 'gn'
else:
......
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