Skip to content

Commit e7fad93

Browse files
jBarzCommit Bot
authored andcommitted
Use gn from PATH on aix
Change-Id: I853f7899dbba9112ba1ca2ce78e2838b5a09c975 Reviewed-on: https://chromium-review.googlesource.com/1168087 Commit-Queue: John Barboza <[email protected]> Reviewed-by: Michael Achenbach <[email protected]> Cr-Commit-Position: refs/heads/master@{#55028}
1 parent 145dd87 commit e7fad93

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tools/mb/mb.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -832,14 +832,12 @@ def GNCmd(self, subcommand, path, *args):
832832
subdir, exe = 'linux64', 'gn'
833833
elif self.platform == 'darwin':
834834
subdir, exe = 'mac', 'gn'
835-
elif self.platform == 'aix6':
836-
subdir, exe = 'aix', 'gn'
837835
else:
838836
subdir, exe = 'win', 'gn.exe'
839837

840838
arch = platform.machine()
841-
if (self.platform == 'linux2' and
842-
(arch.startswith('s390') or arch.startswith('ppc'))):
839+
if (arch.startswith('s390') or arch.startswith('ppc') or
840+
self.platform.startswith('aix')):
843841
# use gn in PATH
844842
gn_path = 'gn'
845843
else:

0 commit comments

Comments
 (0)