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("//build_overrides/webrtc.gni") |
| 11 import("//testing/libfuzzer/fuzzer_test.gni") |
10 import("//testing/test.gni") | 12 import("//testing/test.gni") |
11 import("//testing/libfuzzer/fuzzer_test.gni") | |
12 | 13 |
13 static_library("webrtc_fuzzer_main") { | 14 static_library("webrtc_fuzzer_main") { |
14 public_configs = [ "../..:common_inherited_config" ] | 15 public_configs = [ "../..:common_inherited_config" ] |
15 sources = [ | 16 sources = [ |
16 "webrtc_fuzzer_main.cc", | 17 "webrtc_fuzzer_main.cc", |
17 ] | 18 ] |
18 deps = [ | 19 deps = [ |
19 "../../system_wrappers:field_trial_default", | 20 "../../system_wrappers:field_trial_default", |
20 "../../system_wrappers:metrics_default", | 21 "../../system_wrappers:metrics_default", |
21 "//testing/libfuzzer:libfuzzer_main", | 22 "//testing/libfuzzer:libfuzzer_main", |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 | 169 |
169 webrtc_fuzzer_test("audio_decoder_opus_redundant_fuzzer") { | 170 webrtc_fuzzer_test("audio_decoder_opus_redundant_fuzzer") { |
170 sources = [ | 171 sources = [ |
171 "audio_decoder_opus_redundant_fuzzer.cc", | 172 "audio_decoder_opus_redundant_fuzzer.cc", |
172 ] | 173 ] |
173 deps = [ | 174 deps = [ |
174 ":audio_decoder_fuzzer", | 175 ":audio_decoder_fuzzer", |
175 "../../modules/audio_coding:webrtc_opus", | 176 "../../modules/audio_coding:webrtc_opus", |
176 ] | 177 ] |
177 } | 178 } |
| 179 |
| 180 # TODO(katrielc) Enable in Chromium when CL 2022833002 lands. |
| 181 # Although the dependency on media compiles in standalone, it is |
| 182 # flagged by gn check, so breaks when rolled into Chromium. |
| 183 if (!build_with_chromium) { |
| 184 webrtc_fuzzer_test("turn_unwrap_fuzzer") { |
| 185 sources = [ |
| 186 "turn_unwrap_fuzzer.cc", |
| 187 ] |
| 188 deps = [ |
| 189 "../../media:media", |
| 190 ] |
| 191 } |
| 192 } |
OLD | NEW |