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("../../../dsoftbus.gni") 15 16trans_ipc_proxy_sdk_inc = [ "$dsoftbus_root_path/sdk/transmission/ipc/include" ] 17if (defined(ohos_lite)) { 18 if (ohos_kernel_type == "liteos_m") { 19 trans_ipc_proxy_sdk_inc += [ 20 "$dsoftbus_root_path/core/transmission/trans_channel/manager/include", 21 "$dsoftbus_root_path/core/transmission/session/include", 22 "$dsoftbus_root_path/core/bus_center/lnn/net_ledger/common/include", 23 "$dsoftbus_root_path/core/bus_center/utils/include", 24 ] 25 trans_ipc_proxy_sdk_src = 26 [ "$dsoftbus_root_path/sdk/transmission/ipc/mini/trans_server_proxy.c" ] 27 } else { 28 trans_ipc_proxy_sdk_src = [ 29 "$dsoftbus_root_path/sdk/transmission/ipc/small/trans_server_proxy.c", 30 ] 31 } 32} else { 33 trans_ipc_proxy_sdk_inc += 34 [ "$dsoftbus_root_path/sdk/transmission/ipc/$os_type/include" ] 35 36 trans_ipc_proxy_sdk_src = [ 37 "$dsoftbus_root_path/sdk/transmission/ipc/$os_type/src/trans_server_proxy.cpp", 38 "$dsoftbus_root_path/sdk/transmission/ipc/$os_type/src/trans_server_proxy_standard.cpp", 39 ] 40} 41