# Copyright (c) 2021 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import( "//foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/proxy.gni") import( "//foundation/communication/dsoftbus/core/transmission/trans_channel/qos/qos.gni") import( "//foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/tcp_direct.gni") import( "//foundation/communication/dsoftbus/core/transmission/trans_channel/udp_negotiation/udp_negotiation.gni") import("//foundation/communication/dsoftbus/dsoftbus.gni") trans_channel_src = trans_proxy_channel_src + trans_direct_channel_src + trans_udp_channel_src + trans_qos_src trans_channel_inc = trans_proxy_channel_inc + trans_direct_channel_inc + trans_udp_channel_inc + trans_qos_inc trans_channel_deps = trans_proxy_channel_deps + trans_qos_deps trans_channel_src += [ "$dsoftbus_root_path/core/transmission/trans_channel/auth/src/trans_auth_manager.c", "$dsoftbus_root_path/core/transmission/trans_channel/auth/src/trans_auth_message.c", "$dsoftbus_root_path/core/transmission/trans_channel/manager/src/trans_channel_callback.c", "$dsoftbus_root_path/core/transmission/trans_channel/manager/src/trans_channel_manager.c", "$dsoftbus_root_path/core/transmission/trans_channel/manager/src/trans_lane_manager.c", "$dsoftbus_root_path/core/transmission/trans_channel/manager/src/trans_link_listener.c", ] trans_channel_inc += [ "$dsoftbus_root_path/core/transmission/trans_channel/auth/include", "$dsoftbus_root_path/core/transmission/trans_channel/manager/include", "//third_party/cJSON", ]