• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14import(
15    "//foundation/communication/dsoftbus/core/transmission/trans_channel/common/common.gni")
16import(
17    "//foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/proxy.gni")
18import(
19    "//foundation/communication/dsoftbus/core/transmission/trans_channel/qos/qos.gni")
20import(
21    "//foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/tcp_direct.gni")
22import(
23    "//foundation/communication/dsoftbus/core/transmission/trans_channel/udp_negotiation/udp_negotiation.gni")
24import("//foundation/communication/dsoftbus/dsoftbus.gni")
25
26trans_channel_src =
27    trans_channel_common_src + trans_proxy_channel_src +
28    trans_direct_channel_src + trans_udp_channel_src + trans_qos_src
29trans_channel_inc =
30    trans_channel_common_inc + trans_proxy_channel_inc +
31    trans_direct_channel_inc + trans_udp_channel_inc + trans_qos_inc
32trans_channel_deps =
33    trans_channel_common_deps + trans_proxy_channel_deps + trans_qos_deps
34
35trans_channel_src += [
36  "$dsoftbus_root_path/core/transmission/trans_channel/auth/src/trans_auth_manager.c",
37  "$dsoftbus_root_path/core/transmission/trans_channel/auth/src/trans_auth_message.c",
38  "$dsoftbus_root_path/core/transmission/trans_channel/manager/src/trans_channel_callback.c",
39  "$dsoftbus_root_path/core/transmission/trans_channel/manager/src/trans_channel_manager.c",
40  "$dsoftbus_root_path/core/transmission/trans_channel/manager/src/trans_lane_manager.c",
41  "$dsoftbus_root_path/core/transmission/trans_channel/manager/src/trans_link_listener.c",
42]
43trans_channel_inc += [
44  "$dsoftbus_root_path/core/transmission/trans_channel/auth/include",
45  "$dsoftbus_root_path/core/transmission/trans_channel/manager/include",
46  "//third_party/cJSON",
47]
48