OLD | NEW |
---|---|
1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("//build/config/features.gni") | 9 import("//build/config/features.gni") |
10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
11 | 11 |
12 static_library("webrtc_fuzzer_main") { | 12 static_library("webrtc_fuzzer_main") { |
13 public_configs = [ "../..:common_inherited_config" ] | 13 public_configs = [ "../..:common_inherited_config" ] |
14 sources = [ | 14 sources = [ |
15 "webrtc_fuzzer_main.cc", | 15 "webrtc_fuzzer_main.cc", |
16 ] | 16 ] |
17 deps = [ | 17 deps = [ |
18 "../../system_wrappers:field_trial_default", | 18 "../../system_wrappers:field_trial_default", |
kjellander_webrtc
2015/12/14 07:11:37
If you do the change in webrtc/test/BUILD.gn, shou
pbos-webrtc
2015/12/14 13:07:02
I assume you mean webrtc/BUILD.gn. No fuzzer targe
| |
19 "../../system_wrappers:metrics_default", | 19 "../../system_wrappers:metrics_default", |
20 "//testing/libfuzzer:libfuzzer_main", | 20 "//testing/libfuzzer:libfuzzer_main", |
21 ] | 21 ] |
22 } | 22 } |
23 | 23 |
24 test("vp9_depacketizer_fuzzer") { | 24 test("vp8_qp_parser_fuzzer") { |
25 sources = [ | 25 sources = [ |
26 "vp9_depacketizer_fuzzer.cc", | 26 "vp8_qp_parser_fuzzer.cc", |
27 ] | 27 ] |
28 deps = [ | 28 deps = [ |
29 ":webrtc_fuzzer_main", | 29 ":webrtc_fuzzer_main", |
30 "../../modules/video_coding/", | |
31 ] | |
32 | |
33 if (is_clang) { | |
kjellander_webrtc
2015/12/14 07:11:37
Please can you fix the warnings and remove this in
pbos-webrtc
2015/12/14 13:07:02
Nope, it's not in these files, but video_coding is
| |
34 # Suppress warnings from Chrome's Clang plugins. | |
35 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | |
36 configs -= [ "//build/config/clang:find_bad_constructs" ] | |
37 } | |
38 } | |
39 | |
40 test("vp8_depacketizer_fuzzer") { | |
41 sources = [ | |
42 "vp8_depacketizer_fuzzer.cc", | |
43 ] | |
44 deps = [ | |
45 ":webrtc_fuzzer_main", | |
30 "../../modules/rtp_rtcp", | 46 "../../modules/rtp_rtcp", |
31 ] | 47 ] |
32 if (is_clang) { | 48 if (is_clang) { |
33 # Suppress warnings from Chrome's Clang plugins. | 49 # Suppress warnings from Chrome's Clang plugins. |
34 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 50 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
35 configs -= [ "//build/config/clang:find_bad_constructs" ] | 51 configs -= [ "//build/config/clang:find_bad_constructs" ] |
36 } | 52 } |
37 } | 53 } |
38 | 54 |
39 test("vp8_qp_parser_fuzzer") { | 55 test("h264_depacketizer_fuzzer") { |
40 sources = [ | 56 sources = [ |
41 "vp8_qp_parser_fuzzer.cc", | 57 "h264_depacketizer_fuzzer.cc", |
42 ] | 58 ] |
43 deps = [ | 59 deps = [ |
44 ":webrtc_fuzzer_main", | 60 ":webrtc_fuzzer_main", |
45 "../../modules/video_coding/", | 61 "../../modules/rtp_rtcp", |
46 ] | 62 ] |
47 | |
48 if (is_clang) { | 63 if (is_clang) { |
49 # Suppress warnings from Chrome's Clang plugins. | 64 # Suppress warnings from Chrome's Clang plugins. |
50 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 65 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
66 configs -= [ "//build/config/clang:find_bad_constructs" ] | |
67 } | |
68 } | |
69 | |
70 test("vp9_depacketizer_fuzzer") { | |
71 sources = [ | |
72 "vp9_depacketizer_fuzzer.cc", | |
73 ] | |
74 deps = [ | |
75 ":webrtc_fuzzer_main", | |
76 "../../modules/rtp_rtcp", | |
77 ] | |
78 if (is_clang) { | |
79 # Suppress warnings from Chrome's Clang plugins. | |
80 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | |
51 configs -= [ "//build/config/clang:find_bad_constructs" ] | 81 configs -= [ "//build/config/clang:find_bad_constructs" ] |
52 } | 82 } |
53 } | 83 } |
54 | 84 |
55 source_set("audio_decoder_fuzzer") { | 85 source_set("audio_decoder_fuzzer") { |
56 sources = [ | 86 sources = [ |
57 "audio_decoder_fuzzer.cc", | 87 "audio_decoder_fuzzer.cc", |
58 "audio_decoder_fuzzer.h", | 88 "audio_decoder_fuzzer.h", |
59 ] | 89 ] |
60 deps = [ | 90 deps = [ |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
94 | 124 |
95 test("audio_decoder_opus_fuzzer") { | 125 test("audio_decoder_opus_fuzzer") { |
96 sources = [ | 126 sources = [ |
97 "audio_decoder_opus_fuzzer.cc", | 127 "audio_decoder_opus_fuzzer.cc", |
98 ] | 128 ] |
99 deps = [ | 129 deps = [ |
100 ":audio_decoder_fuzzer", | 130 ":audio_decoder_fuzzer", |
101 "../../modules/audio_coding:webrtc_opus", | 131 "../../modules/audio_coding:webrtc_opus", |
102 ] | 132 ] |
103 } | 133 } |
OLD | NEW |