1# Copyright (c) 2021-2024 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("../../../core/transmission/trans_channel/common/common.gni") 15import("../../../core/transmission/trans_channel/proxy/proxy.gni") 16import("../../../core/transmission/trans_channel/tcp_direct/tcp_direct.gni") 17import( 18 "../../../core/transmission/trans_channel/udp_negotiation/udp_negotiation.gni") 19import("../../../dsoftbus.gni") 20 21trans_channel_src = 22 trans_channel_common_src + trans_proxy_channel_src + 23 trans_direct_channel_src + trans_udp_channel_src 24trans_channel_inc = 25 trans_channel_common_inc + trans_proxy_channel_inc + 26 trans_direct_channel_inc + trans_udp_channel_inc 27trans_channel_deps = 28 trans_channel_common_deps + trans_proxy_channel_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_auth_negotiation.c", 34 "$dsoftbus_root_path/core/transmission/trans_channel/manager/src/trans_channel_callback.c", 35 "$dsoftbus_root_path/core/transmission/trans_channel/manager/src/trans_channel_manager.c", 36 "$dsoftbus_root_path/core/transmission/trans_channel/manager/src/trans_lane_manager.c", 37 "$dsoftbus_root_path/core/transmission/trans_channel/manager/src/trans_link_listener.c", 38 "$dsoftbus_root_path/core/transmission/trans_channel/manager/src/trans_bind_request_manager.c", 39 "$dsoftbus_root_path/core/transmission/trans_channel/inner_session/src/trans_inner_session.c", 40] 41if (defined(ohos_lite)) { 42 trans_channel_src += [ "$dsoftbus_root_path/core/transmission/trans_channel/inner_session/src/trans_inner_self_adaptive_virtual.c" ] 43} else { 44 trans_channel_src += [ "$dsoftbus_root_path/core/transmission/trans_channel/inner_session/src/trans_inner_self_adaptive.cpp" ] 45} 46trans_channel_inc += [ 47 "$dsoftbus_root_path/core/adapter/transmission/include", 48 "$dsoftbus_root_path/interfaces/kits/adapter", 49 "$dsoftbus_root_path/interfaces/kits/authentication", 50 "$dsoftbus_root_path/core/authentication/include", 51 "$dsoftbus_root_path/core/transmission/trans_channel/auth/include", 52 "$dsoftbus_root_path/interfaces/kits/transport", 53 "$dsoftbus_root_path/core/transmission/trans_channel/manager/include", 54 "$dsoftbus_root_path/core/transmission/trans_channel/common/include", 55 "$dsoftbus_root_path/interfaces/kits/lnn", 56 "$dsoftbus_root_path/core/transmission/trans_channel/inner_session/include", 57 "$dsoftbus_root_path/core/bus_center/lnn/lane_hub/lane_manager/include", 58] 59