From 742e127d986016df14a999eb7c78d60ba7f625c0 Mon Sep 17 00:00:00 2001 From: uazo <29201891+uazo@users.noreply.github.com> Date: Wed, 8 Dec 2021 12:45:18 +0100 Subject: [PATCH] use my ninja version to create compdb --- .github/workflows/build_bromite.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_bromite.yaml b/.github/workflows/build_bromite.yaml index d82f985..02dc85c 100644 --- a/.github/workflows/build_bromite.yaml +++ b/.github/workflows/build_bromite.yaml @@ -328,7 +328,9 @@ jobs: cd $WORKSPACE/chromium/src #python tools/clang/scripts/generate_compdb.py -p out/bromite/ -o out/bromite/compile_commands.json chrome_public_apk - ninja -C out/bromite chrome_public_apk -t compdb cc cxx objc objcxx >out/bromite/compile_commands.json + #ninja -C out/bromite chrome_public_apk -t compdb cc cxx objc objcxx >out/bromite/compile_commands.json + $WORKSPACE/ninja/ninja -C $WORKSPACE/chromium/src/out/bromite -a chrome_public_apk \ + -t compdb cc cxx objc objcxx >$WORKSPACE/chromium/src/out/bromite/compile_commands.json gn desc out/bromite 'chrome_public_apk' --format=json >out/bromite/gn_targets.json #python tools/clang/scripts/run_tool.py --tool translation_unit -p out/bromite/ --all || true