• 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("../../dsoftbus.gni")
15softbus_client_frame_inc = []
16if (defined(ohos_lite)) {
17  if (ohos_kernel_type == "liteos_m") {
18    softbus_client_frame_inc += [
19      "$dsoftbus_root_path/sdk/frame/mini/include",
20      "$dsoftbus_root_path/sdk/frame/common/include",
21      "$dsoftbus_root_path/interfaces/kits/connection",
22      "$dsoftbus_root_path/components/nstackx/fillp/include",
23      "$dsoftbus_root_path/sdk/frame/init/include",
24      "$dsoftbus_root_path/interfaces/kits/sdk",
25      "$dsoftbus_root_path/interfaces/kits/transport/enhance",
26      "$dsoftbus_root_path/components/nstackx/fillp/include",
27    ]
28    softbus_client_frame_src = [
29      "$dsoftbus_root_path/sdk/frame/common/src/softbus_client_event_manager.c",
30      "$dsoftbus_root_path/sdk/frame/common/src/softbus_client_frame_manager.c",
31      "$dsoftbus_root_path/sdk/frame/mini/src/softbus_client_stub.c",
32      "$dsoftbus_root_path/sdk/frame/init/src/g_enhance_sdk_func.c",
33    ]
34  } else {
35    softbus_client_frame_inc += [
36      "$dsoftbus_root_path/sdk/frame/common/include",
37      "$dsoftbus_root_path/sdk/frame/small/include",
38      "$dsoftbus_root_path/interfaces/kits/connection",
39      "$dsoftbus_root_path/components/nstackx/fillp/include",
40      "$dsoftbus_root_path/sdk/frame/init/include",
41      "$dsoftbus_root_path/interfaces/kits/sdk",
42      "$dsoftbus_root_path/interfaces/kits/transport/enhance",
43      "$dsoftbus_root_path/components/nstackx/fillp/include",
44    ]
45
46    softbus_client_frame_src = [
47      "$dsoftbus_root_path/sdk/frame/common/src/softbus_client_event_manager.c",
48      "$dsoftbus_root_path/sdk/frame/common/src/softbus_client_frame_manager.c",
49      "$dsoftbus_root_path/sdk/frame/small/src/bus_center_client_stub.c",
50      "$dsoftbus_root_path/sdk/frame/small/src/softbus_client_context_manager.c",
51      "$dsoftbus_root_path/sdk/frame/small/src/softbus_client_stub.c",
52      "$dsoftbus_root_path/sdk/frame/small/src/softbus_server_proxy.c",
53      "$dsoftbus_root_path/sdk/frame/small/src/trans_client_stub.c",
54      "$dsoftbus_root_path/sdk/frame/init/src/g_enhance_sdk_func.c",
55    ]
56  }
57} else {
58  softbus_client_frame_inc += [
59    "$dsoftbus_root_path/sdk/frame/common/include",
60    "$dsoftbus_root_path/sdk/frame/$os_type/include",
61    "$dsoftbus_root_path/sdk/frame/init/include",
62    "$dsoftbus_root_path/interfaces/kits/sdk",
63    "$dsoftbus_root_path/interfaces/kits/transport/enhance",
64    "$dsoftbus_root_path/components/nstackx/fillp/include",
65  ]
66
67  softbus_client_frame_src = [
68    "$dsoftbus_root_path/core/frame/$os_type/init/src/if_softbus_server.cpp",
69    "$dsoftbus_root_path/sdk/frame/common/src/softbus_client_event_manager.c",
70    "$dsoftbus_root_path/sdk/frame/common/src/softbus_client_frame_manager.c",
71    "$dsoftbus_root_path/sdk/frame/$os_type/src/if_softbus_client.cpp",
72    "$dsoftbus_root_path/sdk/frame/$os_type/src/softbus_client_death_recipient.cpp",
73    "$dsoftbus_root_path/sdk/frame/$os_type/src/softbus_client_stub.cpp",
74    "$dsoftbus_root_path/sdk/frame/$os_type/src/softbus_server_proxy_frame.cpp",
75    "$dsoftbus_root_path/sdk/frame/$os_type/src/softbus_server_proxy_standard.cpp",
76    "$dsoftbus_root_path/sdk/frame/init/src/g_enhance_sdk_func.c",
77  ]
78}
79