Commit 2edcfbd7 authored by Tim van der Lippe's avatar Tim van der Lippe Committed by V8 LUCI CQ

Fix update-compile-commands.py

The upgrade to Clang pulled in a change that renamed `ProcessCompileDatabaseIfNeeded`
(https://chromium-review.googlesource.com/c/chromium/src/+/3237169).
In a similar fashion to
https://chromium-review.googlesource.com/c/chromium/src/+/3253247 we
should use an empty array as well.

R=jkummerow@chromium.org

Bug: none
Change-Id: I056af8fc7969b7c5a31631a65c18743c48ff84be
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3256550
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/main@{#77656}
parent 6fbb9eb4
......@@ -59,8 +59,8 @@ def PrepareBuildDir(arch, mode):
def AddTargetsForArch(arch, combined):
build_dir = PrepareBuildDir(arch, "debug")
commands = compile_db.ProcessCompileDatabaseIfNeeded(
compile_db.GenerateWithNinja(build_dir, ["all"]))
commands = compile_db.ProcessCompileDatabase(
compile_db.GenerateWithNinja(build_dir, ["all"]), [])
added = 0
for c in commands:
key = c["file"]
......
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