mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-27 07:14:10 +08:00
fuchsia: Fix run when gn binary path non-absolute
Oops. I thought GN abspath()d this in the regen rule, but it does not. Bug: crashpad:196 Change-Id: I33dadc5502a5e56f20ba7e4c0403fbc138f052c9 Reviewed-on: https://chromium-review.googlesource.com/864629 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Scott Graham <scottmg@chromium.org>
This commit is contained in:
parent
3bc4156c1e
commit
54dc88724e
@ -56,7 +56,7 @@ def _FindGNFromBinaryDir(binary_dir):
|
||||
if line.startswith(' command = '):
|
||||
gn_command_line_parts = line.strip().split(' ')
|
||||
if len(gn_command_line_parts) > 2:
|
||||
return gn_command_line_parts[2]
|
||||
return os.path.join(binary_dir, gn_command_line_parts[2])
|
||||
|
||||
return None
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user