• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021-2025 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 = [
17  "$dsoftbus_dfx_path/interface/include/form",
18  "$dsoftbus_dfx_path/interface/include/legacy",
19  "$dsoftbus_root_path/sdk/transmission/ipc/include"
20]
21if (defined(ohos_lite)) {
22  if (ohos_kernel_type == "liteos_m") {
23    trans_ipc_proxy_sdk_inc += [
24      "$dsoftbus_root_path/core/bus_center/lnn/net_ledger/common/include",
25      "$dsoftbus_root_path/core/bus_center/utils/include",
26      "$dsoftbus_root_path/core/transmission/session/include",
27      "$dsoftbus_root_path/core/transmission/trans_channel/manager/include",
28      "$dsoftbus_root_path/interfaces/kits/lnn",
29      "$dsoftbus_root_path/interfaces/kits/transport",
30    ]
31    trans_ipc_proxy_sdk_src =
32        [ "$dsoftbus_root_path/sdk/transmission/ipc/mini/trans_server_proxy.c" ]
33  } else {
34    trans_ipc_proxy_sdk_src = [
35      "$dsoftbus_root_path/sdk/transmission/ipc/small/trans_server_proxy.c",
36    ]
37  }
38} else {
39  trans_ipc_proxy_sdk_inc +=
40      [ "$dsoftbus_root_path/sdk/transmission/ipc/$os_type/include" ]
41
42  trans_ipc_proxy_sdk_src = [
43    "$dsoftbus_root_path/sdk/transmission/ipc/$os_type/src/trans_server_proxy.cpp",
44    "$dsoftbus_root_path/sdk/transmission/ipc/$os_type/src/trans_server_proxy_standard.cpp",
45  ]
46}
47