41 lines
1.0 KiB
Plaintext
41 lines
1.0 KiB
Plaintext
|
|
# Copyright (c) 2021 The WebRTC project authors. All Rights Reserved.
|
||
|
|
#
|
||
|
|
# Use of this source code is governed by a BSD-style license
|
||
|
|
# that can be found in the LICENSE file in the root of the source
|
||
|
|
# tree. An additional intellectual property rights grant can be found
|
||
|
|
# in the file PATENTS. All contributing project authors may
|
||
|
|
# be found in the AUTHORS file in the root of the source tree.
|
||
|
|
|
||
|
|
import("../../../webrtc.gni")
|
||
|
|
|
||
|
|
rtc_source_set("context") {
|
||
|
|
sources = [ "context.h" ]
|
||
|
|
deps = [
|
||
|
|
"../common:internal_types",
|
||
|
|
"../packet:sctp_packet",
|
||
|
|
"../public:socket",
|
||
|
|
"../public:types",
|
||
|
|
]
|
||
|
|
}
|
||
|
|
|
||
|
|
if (rtc_include_tests) {
|
||
|
|
rtc_source_set("mock_callbacks") {
|
||
|
|
testonly = true
|
||
|
|
sources = [ "mock_dcsctp_socket_callbacks.h" ]
|
||
|
|
deps = [ "../public:socket" ]
|
||
|
|
}
|
||
|
|
|
||
|
|
rtc_source_set("mock_context") {
|
||
|
|
testonly = true
|
||
|
|
sources = [ "mock_context.h" ]
|
||
|
|
deps = [
|
||
|
|
":context",
|
||
|
|
":mock_callbacks",
|
||
|
|
"../common:internal_types",
|
||
|
|
"../packet:sctp_packet",
|
||
|
|
"../public:socket",
|
||
|
|
"../public:types",
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|