activate kythe index

This commit is contained in:
uazo 2021-11-30 17:40:22 +01:00 committed by GitHub
parent ee9e7eee52
commit a02e1ecc56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -325,17 +325,18 @@ jobs:
PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$WORKSPACE/mtool/bin:$PATH
cd $WORKSPACE/chromium/src
#python tools/clang/scripts/generate_compdb.py -p out/bromite/ -o out/bromite/compile_commands.json
#gn desc out/bromite/ '*' --format=json >out/bromite/gn_targets.json
#python tools/clang/scripts/run_tool.py --tool translation_unit -p out/bromite/ --all
#python ~/add_kythe_metadata.py out/bromite/ --corpus $KYTHE_CORPUS
#$WORKSPACE/package_index/latest/package_index \
# --checkout_dir $WORKSPACE/chromium/src \
# --path_to_compdb out/bromite/compile_commands.json \
# --path_to_gn_targets out/bromite/gn_targets.json \
# --path_to_java_kzips $KYTHE_OUTPUT_DIRECTORY \
# --path_to_archive_output out/bromite/chromium_linux.kzip \
# --corpus $KYTHE_CORPUS
python tools/clang/scripts/generate_compdb.py -p out/bromite/ -o out/bromite/compile_commands.json
gn desc out/bromite/ '*' --format=json >out/bromite/gn_targets.json
python tools/clang/scripts/run_tool.py --tool translation_unit -p out/bromite/ --all
python ~/add_kythe_metadata.py out/bromite/ --corpus $KYTHE_CORPUS
$WORKSPACE/package_index/latest/package_index \
--checkout_dir $WORKSPACE/chromium/src \
--path_to_compdb out/bromite/compile_commands.json \
--path_to_gn_targets out/bromite/gn_targets.json \
--path_to_java_kzips $KYTHE_OUTPUT_DIRECTORY \
--path_to_archive_output out/bromite/chromium_linux.kzip \
--corpus $KYTHE_CORPUS \
--keep_filepaths_files
- name: Build junit tests
shell: bash