1# Copyright (c) 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("//build/test.gni") 15import("../../../../dsoftbus.gni") 16 17module_output_path = "dsoftbus/soft_bus/connection" 18 19ohos_unittest("ConnectionClientProxyTest") { 20 module_out_path = module_output_path 21 sources = [ "connection_client_proxy_test.cpp" ] 22 23 include_dirs = [ 24 "$dsoftbus_core_path/frame/standard/client_manager/include", 25 "$dsoftbus_core_path/frame/standard/init/include", 26 "$dsoftbus_core_path/connection/ipc/include", 27 "$dsoftbus_sdk_path/connection/ipc/include", 28 "$dsoftbus_root_path/interfaces/kits/connection", 29 ] 30 31 deps = [ 32 "$dsoftbus_core_path/common:softbus_utils", 33 "$dsoftbus_root_path/adapter:softbus_adapter", 34 "$dsoftbus_root_path/core/frame:softbus_server", 35 ] 36 37 external_deps = [ 38 "c_utils:utils", 39 "hilog:libhilog", 40 "ipc:ipc_single", 41 "samgr:samgr_proxy", 42 ] 43} 44 45ohos_unittest("ConnectionClientProxyStandardTest") { 46 module_out_path = module_output_path 47 sources = [ "connection_client_proxy_standard_test.cpp" ] 48 49 include_dirs = [ 50 "$dsoftbus_core_path/connection/ipc/standard/include", 51 "$dsoftbus_sdk_path/frame/standard/include", 52 "$dsoftbus_sdk_path/connection/ipc/include", 53 ] 54 55 deps = [ 56 "$dsoftbus_core_path/common:softbus_utils", 57 "$dsoftbus_root_path/core/frame:softbus_server", 58 ] 59 60 external_deps = [ 61 "c_utils:utils", 62 "hilog:libhilog", 63 "ipc:ipc_single", 64 "samgr:samgr_proxy", 65 ] 66} 67 68group("unittest") { 69 testonly = true 70 deps = [ 71 ":ConnectionClientProxyStandardTest", 72 ":ConnectionClientProxyTest", 73 ] 74} 75