Commit e990634e authored by Ramin Halavati's avatar Ramin Halavati Committed by Commit Bot

Fix tools/clang/pylib/clang/compile_db.py.

GetNinjaPath() function in 'tools/clang/pylib/clang/compile_db.py'
did not return the path to ninja correctly. This is fixed.

Bug: 807146
Change-Id: Ie149b4d5a2684454b6fdbbd59598421e008136fd
Reviewed-on: https://chromium-review.googlesource.com/892918Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Commit-Queue: Ramin Halavati <rhalavati@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532903}
parent 9333ca72
...@@ -73,8 +73,8 @@ def _ProcessCompileDatabaseForWindows(compile_db): ...@@ -73,8 +73,8 @@ def _ProcessCompileDatabaseForWindows(compile_db):
def GetNinjaPath(): def GetNinjaPath():
return os.path.join( return os.path.join(
os.path.dirname(os.realpath(__file__)), '..', '..', '..', 'third_party', os.path.dirname(os.path.realpath(__file__)),
'depot_tools', 'ninja') '..', '..', '..', '..', 'third_party', 'depot_tools', 'ninja')
# FIXME: This really should be a build target, rather than generated at runtime. # FIXME: This really should be a build target, rather than generated at runtime.
......
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