• 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/proxy/proxy.gni")
16import(
17    "//foundation/communication/dsoftbus/core/transmission/trans_channel/qos/qos.gni")
18import(
19    "//foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/tcp_direct.gni")
20import(
21    "//foundation/communication/dsoftbus/core/transmission/trans_channel/udp_negotiation/udp_negotiation.gni")
22import("//foundation/communication/dsoftbus/dsoftbus.gni")
23
24trans_channel_src = trans_proxy_channel_src + trans_direct_channel_src +
25                    trans_udp_channel_src + trans_qos_src
26trans_channel_inc = trans_proxy_channel_inc + trans_direct_channel_inc +
27                    trans_udp_channel_inc + trans_qos_inc
28trans_channel_deps = trans_proxy_channel_deps + trans_qos_deps
29
30trans_channel_src += [
31  "$dsoftbus_root_path/core/transmission/trans_channel/auth/src/trans_auth_manager.c",
32  "$dsoftbus_root_path/core/transmission/trans_channel/auth/src/trans_auth_message.c",
33  "$dsoftbus_root_path/core/transmission/trans_channel/manager/src/trans_channel_callback.c",
34  "$dsoftbus_root_path/core/transmission/trans_channel/manager/src/trans_channel_manager.c",
35  "$dsoftbus_root_path/core/transmission/trans_channel/manager/src/trans_lane_manager.c",
36  "$dsoftbus_root_path/core/transmission/trans_channel/manager/src/trans_link_listener.c",
37]
38trans_channel_inc += [
39  "$dsoftbus_root_path/core/transmission/trans_channel/auth/include",
40  "$dsoftbus_root_path/core/transmission/trans_channel/manager/include",
41  "//third_party/cJSON",
42]
43