From ee002e61857bc5b7685759537ae757da60096a14 Mon Sep 17 00:00:00 2001 From: Christian Fremerey Date: Wed, 19 Sep 2018 12:33:57 -0700 Subject: [PATCH] Fix WebRTC fuzzers tests in Chromium missing field trial implementation Follow-up to https://webrtc-review.googlesource.com/c/src/+/100940. When WebRTC fuzzers tests are built on Chromium bots they need to link with Chromium's implementation of field_trial. This is for fixing the roll out WebRTC into Chromium. Example failure: https://ci.chromium.org/p/chromium/builders/luci.chromium.try/linux-libfuzzer-asan-rel/4551 TBR=phoglund@webrtc.org Bug: webrtc:9631 Change-Id: I353a2d293beafe016ce0c03d88e09fc5af23598f Reviewed-on: https://webrtc-review.googlesource.com/101102 Commit-Queue: Christian Fremerey Reviewed-by: Christian Fremerey Cr-Commit-Position: refs/heads/master@{#24778} --- test/fuzzers/BUILD.gn | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/fuzzers/BUILD.gn b/test/fuzzers/BUILD.gn index 79c4da8b09..df834bb3f0 100644 --- a/test/fuzzers/BUILD.gn +++ b/test/fuzzers/BUILD.gn @@ -23,9 +23,12 @@ rtc_static_library("webrtc_fuzzer_main") { ] # When WebRTC fuzzer tests are built on Chromium bots they need to link - # with Chromium's implementation of metrics. + # with Chromium's implementation of metrics and field trial. if (build_with_chromium) { - deps += [ "../../../webrtc_overrides:metrics" ] + deps += [ + "../../../webrtc_overrides:field_trial", + "../../../webrtc_overrides:metrics", + ] } }