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 <chfremer@webrtc.org>
Reviewed-by: Christian Fremerey <chfremer@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24778}
This commit is contained in:
Christian Fremerey 2018-09-19 12:33:57 -07:00 committed by Commit Bot
parent 3606cab8da
commit ee002e6185

View File

@ -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",
]
}
}