From 8bc85f99c235bf258e5952a25420529de4e2024b Mon Sep 17 00:00:00 2001 From: Jeremy Leconte Date: Fri, 8 Nov 2024 18:05:04 +0100 Subject: [PATCH] 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 Reviewed-by: Mirko Bonadei Cr-Commit-Position: refs/heads/main@{#43381} --- DEPS | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/DEPS b/DEPS index 534a57dba9..ed3f0827d7 100644 --- a/DEPS +++ b/DEPS @@ -20,6 +20,9 @@ vars = { # Fetch clangd into the same bin/ directory as our clang binary. 'checkout_clangd': False, + # Fetch libraries required to compile and run fuzzer tests. + 'checkout_fuzzer': False, + 'chromium_git': 'https://chromium.googlesource.com', # Keep the Chromium default of generating location tags. @@ -336,8 +339,10 @@ deps = { 'dep_type': 'cipd', }, # Used for building libFuzzers (only supports Linux). - 'src/third_party/libFuzzer/src': - 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/compiler-rt/lib/fuzzer.git@487e79376394754705984c5de7c4ce7f82f2bd7c', + 'src/third_party/libFuzzer/src': { + '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': 'https://chromium.googlesource.com/external/github.com/google/fuzztest.git@0021f30508bc7f73fa5270962d022acb480d242f', 'src/third_party/libjpeg_turbo':