Victor Boivie | a30362c | 2021-04-11 19:56:19 +0200 | [diff] [blame] | 1 | # 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 | |
| 9 | import("../../../webrtc.gni") |
| 10 | |
| 11 | rtc_library("dcsctp_fuzzers") { |
| 12 | testonly = true |
| 13 | deps = [ |
| 14 | "../../../api:array_view", |
Henrik Boström | b951dc6 | 2022-01-26 18:38:13 +0100 | [diff] [blame] | 15 | "../../../api/task_queue:task_queue", |
Victor Boivie | a30362c | 2021-04-11 19:56:19 +0200 | [diff] [blame] | 16 | "../../../rtc_base:checks", |
Florent Castelli | 0af55ba | 2022-04-04 15:06:30 +0200 | [diff] [blame] | 17 | "../../../rtc_base:logging", |
Victor Boivie | a30362c | 2021-04-11 19:56:19 +0200 | [diff] [blame] | 18 | "../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 | |
| 32 | if (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 Castelli | 0af55ba | 2022-04-04 15:06:30 +0200 | [diff] [blame] | 41 | "../../../rtc_base:logging", |
Victor Boivie | a30362c | 2021-04-11 19:56:19 +0200 | [diff] [blame] | 42 | "../../../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 | } |