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 ] 22 softbus_client_frame_src = [ 23 "$dsoftbus_root_path/sdk/frame/common/src/softbus_client_event_manager.c", 24 "$dsoftbus_root_path/sdk/frame/common/src/softbus_client_frame_manager.c", 25 "$dsoftbus_root_path/sdk/frame/mini/src/softbus_client_stub.c", 26 ] 27 } else { 28 softbus_client_frame_inc += [ 29 "$dsoftbus_root_path/sdk/frame/common/include", 30 "$dsoftbus_root_path/sdk/frame/small/include", 31 ] 32 33 softbus_client_frame_src = [ 34 "$dsoftbus_root_path/sdk/frame/common/src/softbus_client_event_manager.c", 35 "$dsoftbus_root_path/sdk/frame/common/src/softbus_client_frame_manager.c", 36 "$dsoftbus_root_path/sdk/frame/small/src/bus_center_client_stub.c", 37 "$dsoftbus_root_path/sdk/frame/small/src/softbus_client_context_manager.c", 38 "$dsoftbus_root_path/sdk/frame/small/src/softbus_client_stub.c", 39 "$dsoftbus_root_path/sdk/frame/small/src/softbus_server_proxy.c", 40 "$dsoftbus_root_path/sdk/frame/small/src/trans_client_stub.c", 41 ] 42 } 43} else { 44 softbus_client_frame_inc += [ 45 "$dsoftbus_root_path/sdk/frame/common/include", 46 "$dsoftbus_root_path/sdk/frame/$os_type/include", 47 ] 48 49 softbus_client_frame_src = [ 50 "$dsoftbus_root_path/core/frame/$os_type/init/src/if_softbus_server.cpp", 51 "$dsoftbus_root_path/sdk/frame/common/src/softbus_client_event_manager.c", 52 "$dsoftbus_root_path/sdk/frame/common/src/softbus_client_frame_manager.c", 53 "$dsoftbus_root_path/sdk/frame/$os_type/src/if_softbus_client.cpp", 54 "$dsoftbus_root_path/sdk/frame/$os_type/src/softbus_client_death_recipient.cpp", 55 "$dsoftbus_root_path/sdk/frame/$os_type/src/softbus_client_stub.cpp", 56 "$dsoftbus_root_path/sdk/frame/$os_type/src/softbus_server_proxy_frame.cpp", 57 "$dsoftbus_root_path/sdk/frame/$os_type/src/softbus_server_proxy_standard.cpp", 58 ] 59} 60