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 9import("../../../webrtc.gni") 10 11rtc_source_set("internal_types") { 12 deps = [ 13 "../../../rtc_base:strong_alias", 14 "../public:types", 15 ] 16 sources = [ "internal_types.h" ] 17} 18 19rtc_source_set("math") { 20 deps = [] 21 sources = [ "math.h" ] 22} 23 24rtc_source_set("sequence_numbers") { 25 deps = [ ":internal_types" ] 26 sources = [ "sequence_numbers.h" ] 27} 28 29rtc_source_set("str_join") { 30 deps = [ "../../../rtc_base:stringutils" ] 31 sources = [ "str_join.h" ] 32 absl_deps = [ "//third_party/abseil-cpp/absl/strings" ] 33} 34 35if (rtc_include_tests) { 36 rtc_library("dcsctp_common_unittests") { 37 testonly = true 38 39 defines = [] 40 deps = [ 41 ":math", 42 ":sequence_numbers", 43 ":str_join", 44 "../../../api:array_view", 45 "../../../rtc_base:checks", 46 "../../../rtc_base:gunit_helpers", 47 "../../../test:test_support", 48 ] 49 sources = [ 50 "math_test.cc", 51 "sequence_numbers_test.cc", 52 "str_join_test.cc", 53 ] 54 } 55} 56 57rtc_library("handover_testing") { 58 deps = [ "../public:socket" ] 59 testonly = true 60 sources = [ 61 "handover_testing.cc", 62 "handover_testing.h", 63 ] 64} 65