1060ff233Sopenharmony_ci# Copyright (c) 2021 Huawei Device Co., Ltd.
2060ff233Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3060ff233Sopenharmony_ci# you may not use this file except in compliance with the License.
4060ff233Sopenharmony_ci# You may obtain a copy of the License at
5060ff233Sopenharmony_ci#
6060ff233Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7060ff233Sopenharmony_ci#
8060ff233Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9060ff233Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10060ff233Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11060ff233Sopenharmony_ci# See the License for the specific language governing permissions and
12060ff233Sopenharmony_ci# limitations under the License.
13060ff233Sopenharmony_ci
14060ff233Sopenharmony_ciimport("../../dsoftbus.gni")
15060ff233Sopenharmony_cisoftbus_client_frame_inc = []
16060ff233Sopenharmony_ciif (defined(ohos_lite)) {
17060ff233Sopenharmony_ci  if (ohos_kernel_type == "liteos_m") {
18060ff233Sopenharmony_ci    softbus_client_frame_inc += [
19060ff233Sopenharmony_ci      "$dsoftbus_root_path/sdk/frame/mini/include",
20060ff233Sopenharmony_ci      "$dsoftbus_root_path/sdk/frame/common/include",
21060ff233Sopenharmony_ci    ]
22060ff233Sopenharmony_ci    softbus_client_frame_src = [
23060ff233Sopenharmony_ci      "$dsoftbus_root_path/sdk/frame/common/src/softbus_client_event_manager.c",
24060ff233Sopenharmony_ci      "$dsoftbus_root_path/sdk/frame/common/src/softbus_client_frame_manager.c",
25060ff233Sopenharmony_ci      "$dsoftbus_root_path/sdk/frame/mini/src/softbus_client_stub.c",
26060ff233Sopenharmony_ci    ]
27060ff233Sopenharmony_ci  } else {
28060ff233Sopenharmony_ci    softbus_client_frame_inc += [
29060ff233Sopenharmony_ci      "$dsoftbus_root_path/sdk/frame/common/include",
30060ff233Sopenharmony_ci      "$dsoftbus_root_path/sdk/frame/small/include",
31060ff233Sopenharmony_ci    ]
32060ff233Sopenharmony_ci
33060ff233Sopenharmony_ci    softbus_client_frame_src = [
34060ff233Sopenharmony_ci      "$dsoftbus_root_path/sdk/frame/common/src/softbus_client_event_manager.c",
35060ff233Sopenharmony_ci      "$dsoftbus_root_path/sdk/frame/common/src/softbus_client_frame_manager.c",
36060ff233Sopenharmony_ci      "$dsoftbus_root_path/sdk/frame/small/src/bus_center_client_stub.c",
37060ff233Sopenharmony_ci      "$dsoftbus_root_path/sdk/frame/small/src/softbus_client_context_manager.c",
38060ff233Sopenharmony_ci      "$dsoftbus_root_path/sdk/frame/small/src/softbus_client_stub.c",
39060ff233Sopenharmony_ci      "$dsoftbus_root_path/sdk/frame/small/src/softbus_server_proxy.c",
40060ff233Sopenharmony_ci      "$dsoftbus_root_path/sdk/frame/small/src/trans_client_stub.c",
41060ff233Sopenharmony_ci    ]
42060ff233Sopenharmony_ci  }
43060ff233Sopenharmony_ci} else {
44060ff233Sopenharmony_ci  softbus_client_frame_inc += [
45060ff233Sopenharmony_ci    "$dsoftbus_root_path/sdk/frame/common/include",
46060ff233Sopenharmony_ci    "$dsoftbus_root_path/sdk/frame/$os_type/include",
47060ff233Sopenharmony_ci  ]
48060ff233Sopenharmony_ci
49060ff233Sopenharmony_ci  softbus_client_frame_src = [
50060ff233Sopenharmony_ci    "$dsoftbus_root_path/core/frame/$os_type/init/src/if_softbus_server.cpp",
51060ff233Sopenharmony_ci    "$dsoftbus_root_path/sdk/frame/common/src/softbus_client_event_manager.c",
52060ff233Sopenharmony_ci    "$dsoftbus_root_path/sdk/frame/common/src/softbus_client_frame_manager.c",
53060ff233Sopenharmony_ci    "$dsoftbus_root_path/sdk/frame/$os_type/src/if_softbus_client.cpp",
54060ff233Sopenharmony_ci    "$dsoftbus_root_path/sdk/frame/$os_type/src/softbus_client_death_recipient.cpp",
55060ff233Sopenharmony_ci    "$dsoftbus_root_path/sdk/frame/$os_type/src/softbus_client_stub.cpp",
56060ff233Sopenharmony_ci    "$dsoftbus_root_path/sdk/frame/$os_type/src/softbus_server_proxy_frame.cpp",
57060ff233Sopenharmony_ci    "$dsoftbus_root_path/sdk/frame/$os_type/src/softbus_server_proxy_standard.cpp",
58060ff233Sopenharmony_ci  ]
59060ff233Sopenharmony_ci}
60