blob: 4cf6a5ce9135e78e7092b617d4b7930c190df890 [file] [log] [blame]
Peter Boström62e9bda2015-11-23 15:12:06 +01001# Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
2#
3# Use of this source code is governed by a BSD-style license
4# that can be found in the LICENSE file in the root of the source
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
9import("//build/config/features.gni")
10import("//testing/test.gni")
11
12static_library("webrtc_fuzzer_main") {
13 sources = [
14 "webrtc_fuzzer_main.cc",
15 ]
16 deps = [
Peter Boström89d658f2015-11-25 21:58:36 +010017 "../../system_wrappers:field_trial_default",
Peter Boström871c4192015-11-26 14:52:23 +010018 "../../system_wrappers:metrics_default",
Peter Boström62e9bda2015-11-23 15:12:06 +010019 "//testing/libfuzzer:libfuzzer_main",
20 ]
21}
22
23test("vp9_depacketizer_fuzzer") {
24 sources = [
25 "vp9_depacketizer_fuzzer.cc",
26 ]
27 deps = [
28 ":webrtc_fuzzer_main",
29 "../../modules/rtp_rtcp",
30 ]
31 if (is_clang) {
32 # Suppress warnings from Chrome's Clang plugins.
33 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
34 configs -= [ "//build/config/clang:find_bad_constructs" ]
35 }
36}
Peter Boström871c4192015-11-26 14:52:23 +010037
38test("vp8_qp_parser_fuzzer") {
39 sources = [
40 "vp8_qp_parser_fuzzer.cc",
41 ]
42 deps = [
43 ":webrtc_fuzzer_main",
44 "../../modules/video_coding/",
45 ]
46
47 if (is_clang) {
48 # Suppress warnings from Chrome's Clang plugins.
49 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
50 configs -= [ "//build/config/clang:find_bad_constructs" ]
51 }
52}