| Index: webrtc/test/fuzzers/BUILD.gn
|
| diff --git a/webrtc/test/fuzzers/BUILD.gn b/webrtc/test/fuzzers/BUILD.gn
|
| index 3e59339299fb33cc65f0430c59822814d9e4f20c..29867a1a7db4885948c32268d6ee08f41316da43 100644
|
| --- a/webrtc/test/fuzzers/BUILD.gn
|
| +++ b/webrtc/test/fuzzers/BUILD.gn
|
| @@ -7,7 +7,8 @@
|
| # be found in the AUTHORS file in the root of the source tree.
|
|
|
| import("//build/config/features.gni")
|
| -import("webrtc_fuzzer.gni")
|
| +import("//testing/test.gni")
|
| +import("//testing/libfuzzer/fuzzer_test.gni")
|
|
|
| static_library("webrtc_fuzzer_main") {
|
| public_configs = [ "../..:common_inherited_config" ]
|
| @@ -21,6 +22,18 @@ static_library("webrtc_fuzzer_main") {
|
| ]
|
| }
|
|
|
| +template("webrtc_fuzzer_test") {
|
| + fuzzer_test(target_name) {
|
| + forward_variables_from(invoker, "*")
|
| + deps += [ ":webrtc_fuzzer_main" ]
|
| + if (is_clang) {
|
| + # Suppress warnings from Chrome's Clang plugins.
|
| + # See http://code.google.com/p/webrtc/issues/detail?id=163 for details
|
| + suppressed_configs = [ "//build/config/clang:find_bad_constructs" ]
|
| + }
|
| + }
|
| +}
|
| +
|
| webrtc_fuzzer_test("h264_depacketizer_fuzzer") {
|
| sources = [
|
| "h264_depacketizer_fuzzer.cc",
|
|
|