Index: webrtc/test/fuzzers/BUILD.gn |
diff --git a/webrtc/call/BUILD.gn b/webrtc/test/fuzzers/BUILD.gn |
similarity index 63% |
copy from webrtc/call/BUILD.gn |
copy to webrtc/test/fuzzers/BUILD.gn |
index 498c724900f4725989df1e078f5b20221309e910..279c80be938f763e150bf30a9bc73e47a44eedf6 100644 |
--- a/webrtc/call/BUILD.gn |
+++ b/webrtc/test/fuzzers/BUILD.gn |
@@ -6,30 +6,30 @@ |
# in the file PATENTS. All contributing project authors may |
# be found in the AUTHORS file in the root of the source tree. |
-import("../build/webrtc.gni") |
+import("//build/config/features.gni") |
+import("//testing/test.gni") |
-source_set("call") { |
+static_library("webrtc_fuzzer_main") { |
sources = [ |
- "bitrate_allocator.cc", |
- "call.cc", |
- "congestion_controller.cc", |
- "transport_adapter.cc", |
- "transport_adapter.h", |
+ "webrtc_fuzzer_main.cc", |
] |
+ deps = [ |
+ "..:field_trial", |
+ "//testing/libfuzzer:libfuzzer_main", |
+ ] |
+} |
- configs += [ "..:common_config" ] |
- public_configs = [ "..:common_inherited_config" ] |
- |
+test("vp9_depacketizer_fuzzer") { |
+ sources = [ |
+ "vp9_depacketizer_fuzzer.cc", |
+ ] |
+ deps = [ |
+ ":webrtc_fuzzer_main", |
+ "../../modules/rtp_rtcp", |
+ ] |
if (is_clang) { |
# Suppress warnings from Chrome's Clang plugins. |
# See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
configs -= [ "//build/config/clang:find_bad_constructs" ] |
} |
- |
- deps = [ |
- "..:rtc_event_log", |
- "..:webrtc_common", |
- "../modules/rtp_rtcp", |
- "../system_wrappers", |
- ] |
} |