Checkout libFuzzer only when 'checkout_fuzzer' is True.

Change-Id: Iad4141ca8be8595bcd0a1482e826f3989310b973
Bug: None
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/367942
Commit-Queue: Jeremy Leconte <jleconte@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#43381}
This commit is contained in:
Jeremy Leconte 2024-11-08 18:05:04 +01:00 committed by WebRTC LUCI CQ
parent badfd6347e
commit 8bc85f99c2

9
DEPS
View File

@ -20,6 +20,9 @@ vars = {
# Fetch clangd into the same bin/ directory as our clang binary. # Fetch clangd into the same bin/ directory as our clang binary.
'checkout_clangd': False, 'checkout_clangd': False,
# Fetch libraries required to compile and run fuzzer tests.
'checkout_fuzzer': False,
'chromium_git': 'https://chromium.googlesource.com', 'chromium_git': 'https://chromium.googlesource.com',
# Keep the Chromium default of generating location tags. # Keep the Chromium default of generating location tags.
@ -336,8 +339,10 @@ deps = {
'dep_type': 'cipd', 'dep_type': 'cipd',
}, },
# Used for building libFuzzers (only supports Linux). # Used for building libFuzzers (only supports Linux).
'src/third_party/libFuzzer/src': 'src/third_party/libFuzzer/src': {
'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/compiler-rt/lib/fuzzer.git@487e79376394754705984c5de7c4ce7f82f2bd7c', 'url': 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/compiler-rt/lib/fuzzer.git@487e79376394754705984c5de7c4ce7f82f2bd7c',
'condition': 'checkout_fuzzer',
},
'src/third_party/fuzztest/src': 'src/third_party/fuzztest/src':
'https://chromium.googlesource.com/external/github.com/google/fuzztest.git@0021f30508bc7f73fa5270962d022acb480d242f', 'https://chromium.googlesource.com/external/github.com/google/fuzztest.git@0021f30508bc7f73fa5270962d022acb480d242f',
'src/third_party/libjpeg_turbo': 'src/third_party/libjpeg_turbo':