Update compile_db.py for Windows.

'tools\clang\pylib\clang\compile_db.py' uses 'ninja' file to run ninja,
while on windows 'ninja.exe' should be called.

Change-Id: I2431aeb8b4c887acf0b8a0d8cafac83d062bda78
Reviewed-on: https://chromium-review.googlesource.com/894206
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Stephen Martinis <martiniss@chromium.org>
Commit-Queue: Ramin Halavati <rhalavati@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#533595}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9e6b54a3e52f1c66aefe72a6abb6335092817df9
1 file changed