blob: 302c828684ee00cc00c6ab7e63bd8c7334d05ea7 [file] [log] [blame]
Victor Boiviea30362c2021-04-11 19:56:19 +02001# Copyright (c) 2021 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("../../../webrtc.gni")
10
11rtc_library("dcsctp_fuzzers") {
12 testonly = true
13 deps = [
14 "../../../api:array_view",
Henrik Boströmb951dc62022-01-26 18:38:13 +010015 "../../../api/task_queue:task_queue",
Victor Boiviea30362c2021-04-11 19:56:19 +020016 "../../../rtc_base:checks",
Florent Castelli0af55ba2022-04-04 15:06:30 +020017 "../../../rtc_base:logging",
Victor Boiviea30362c2021-04-11 19:56:19 +020018 "../common:math",
19 "../packet:chunk",
20 "../packet:error_cause",
21 "../packet:parameter",
22 "../public:socket",
23 "../public:types",
24 "../socket:dcsctp_socket",
25 ]
26 sources = [
27 "dcsctp_fuzzers.cc",
28 "dcsctp_fuzzers.h",
29 ]
30}
31
32if (rtc_include_tests) {
33 rtc_library("dcsctp_fuzzers_unittests") {
34 testonly = true
35
36 deps = [
37 ":dcsctp_fuzzers",
38 "../../../api:array_view",
39 "../../../rtc_base:checks",
40 "../../../rtc_base:gunit_helpers",
Florent Castelli0af55ba2022-04-04 15:06:30 +020041 "../../../rtc_base:logging",
Victor Boiviea30362c2021-04-11 19:56:19 +020042 "../../../test:test_support",
43 "../packet:sctp_packet",
44 "../public:socket",
45 "../socket:dcsctp_socket",
46 "../testing:testing_macros",
47 ]
48 sources = [ "dcsctp_fuzzers_test.cc" ]
49 }
50}