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/webrtc.gni") | 9 import("//build/config/features.gni") |
| 10 import("//testing/test.gni") |
10 | 11 |
11 source_set("call") { | 12 static_library("webrtc_fuzzer_main") { |
12 sources = [ | 13 sources = [ |
13 "bitrate_allocator.cc", | 14 "webrtc_fuzzer_main.cc", |
14 "call.cc", | |
15 "congestion_controller.cc", | |
16 "transport_adapter.cc", | |
17 "transport_adapter.h", | |
18 ] | 15 ] |
| 16 deps = [ |
| 17 "..:field_trial", |
| 18 "//testing/libfuzzer:libfuzzer_main", |
| 19 ] |
| 20 } |
19 | 21 |
20 configs += [ "..:common_config" ] | 22 test("vp9_depacketizer_fuzzer") { |
21 public_configs = [ "..:common_inherited_config" ] | 23 sources = [ |
22 | 24 "vp9_depacketizer_fuzzer.cc", |
| 25 ] |
| 26 deps = [ |
| 27 ":webrtc_fuzzer_main", |
| 28 "../../modules/rtp_rtcp", |
| 29 ] |
23 if (is_clang) { | 30 if (is_clang) { |
24 # Suppress warnings from Chrome's Clang plugins. | 31 # Suppress warnings from Chrome's Clang plugins. |
25 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 32 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
26 configs -= [ "//build/config/clang:find_bad_constructs" ] | 33 configs -= [ "//build/config/clang:find_bad_constructs" ] |
27 } | 34 } |
28 | |
29 deps = [ | |
30 "..:rtc_event_log", | |
31 "..:webrtc_common", | |
32 "../modules/rtp_rtcp", | |
33 "../system_wrappers", | |
34 ] | |
35 } | 35 } |
OLD | NEW |