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: Michael Achenbach <machenbach@chromium.org> Cr-Commit-Position: refs/heads/master@{#55028}
This commit is contained in:
parent
145dd87b90
commit
e7fad930a8
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user