1cb7eb8c9Sopenharmony_ci# Copyright (C) 2021-2024 Huawei Device Co., Ltd. 2cb7eb8c9Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3cb7eb8c9Sopenharmony_ci# you may not use this file except in compliance with the License. 4cb7eb8c9Sopenharmony_ci# You may obtain a copy of the License at 5cb7eb8c9Sopenharmony_ci# 6cb7eb8c9Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7cb7eb8c9Sopenharmony_ci# 8cb7eb8c9Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9cb7eb8c9Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10cb7eb8c9Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11cb7eb8c9Sopenharmony_ci# See the License for the specific language governing permissions and 12cb7eb8c9Sopenharmony_ci# limitations under the License. 13cb7eb8c9Sopenharmony_ciimport("//build/test.gni") 14cb7eb8c9Sopenharmony_ciimport("//foundation/filemanagement/dfs_service/distributedfile.gni") 15cb7eb8c9Sopenharmony_ci 16cb7eb8c9Sopenharmony_cimodule_output_path = "storage_distributed_file_manager/distributedfiledaemon" 17cb7eb8c9Sopenharmony_ci 18cb7eb8c9Sopenharmony_ciconfig("module_private_config") { 19cb7eb8c9Sopenharmony_ci visibility = [ ":*" ] 20cb7eb8c9Sopenharmony_ci 21cb7eb8c9Sopenharmony_ci include_dirs = [ 22cb7eb8c9Sopenharmony_ci "${distributedfile_path}/frameworks/native/distributed_file_inner/include", 23cb7eb8c9Sopenharmony_ci "${distributedfile_path}/test/mock", 24cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/include", 25cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/include/ipc", 26cb7eb8c9Sopenharmony_ci "//third_party/json/include", 27cb7eb8c9Sopenharmony_ci ] 28cb7eb8c9Sopenharmony_ci} 29cb7eb8c9Sopenharmony_ci 30cb7eb8c9Sopenharmony_ciohos_unittest("device_info_test") { 31cb7eb8c9Sopenharmony_ci branch_protector_ret = "pac_ret" 32cb7eb8c9Sopenharmony_ci sanitize = { 33cb7eb8c9Sopenharmony_ci integer_overflow = true 34cb7eb8c9Sopenharmony_ci cfi = true 35cb7eb8c9Sopenharmony_ci cfi_cross_dso = true 36cb7eb8c9Sopenharmony_ci debug = false 37cb7eb8c9Sopenharmony_ci } 38cb7eb8c9Sopenharmony_ci 39cb7eb8c9Sopenharmony_ci module_out_path = module_output_path 40cb7eb8c9Sopenharmony_ci 41cb7eb8c9Sopenharmony_ci sources = 42cb7eb8c9Sopenharmony_ci [ "${services_path}/distributedfiledaemon/src/device/device_info.cpp" ] 43cb7eb8c9Sopenharmony_ci 44cb7eb8c9Sopenharmony_ci sources += [ "device/device_info_test.cpp" ] 45cb7eb8c9Sopenharmony_ci 46cb7eb8c9Sopenharmony_ci configs = [ 47cb7eb8c9Sopenharmony_ci ":module_private_config", 48cb7eb8c9Sopenharmony_ci "${utils_path}:compiler_configs", 49cb7eb8c9Sopenharmony_ci ] 50cb7eb8c9Sopenharmony_ci 51cb7eb8c9Sopenharmony_ci deps = [ 52cb7eb8c9Sopenharmony_ci "${utils_path}:libdistributedfileutils", 53cb7eb8c9Sopenharmony_ci "//third_party/googletest:gmock_main", 54cb7eb8c9Sopenharmony_ci "//third_party/googletest:gtest_main", 55cb7eb8c9Sopenharmony_ci ] 56cb7eb8c9Sopenharmony_ci 57cb7eb8c9Sopenharmony_ci external_deps = [ 58cb7eb8c9Sopenharmony_ci "c_utils:utils", 59cb7eb8c9Sopenharmony_ci "device_manager:devicemanagersdk", 60cb7eb8c9Sopenharmony_ci "hilog:libhilog", 61cb7eb8c9Sopenharmony_ci ] 62cb7eb8c9Sopenharmony_ci 63cb7eb8c9Sopenharmony_ci defines = [ "private=public" ] 64cb7eb8c9Sopenharmony_ci} 65cb7eb8c9Sopenharmony_ci 66cb7eb8c9Sopenharmony_ciohos_unittest("device_manager_agent_sup_test") { 67cb7eb8c9Sopenharmony_ci branch_protector_ret = "pac_ret" 68cb7eb8c9Sopenharmony_ci sanitize = { 69cb7eb8c9Sopenharmony_ci integer_overflow = true 70cb7eb8c9Sopenharmony_ci cfi = true 71cb7eb8c9Sopenharmony_ci cfi_cross_dso = true 72cb7eb8c9Sopenharmony_ci debug = false 73cb7eb8c9Sopenharmony_ci blocklist = "${distributedfile_path}/cfi_blocklist.txt" 74cb7eb8c9Sopenharmony_ci } 75cb7eb8c9Sopenharmony_ci 76cb7eb8c9Sopenharmony_ci module_out_path = module_output_path 77cb7eb8c9Sopenharmony_ci 78cb7eb8c9Sopenharmony_ci include_dirs = [ "device/include/" ] 79cb7eb8c9Sopenharmony_ci 80cb7eb8c9Sopenharmony_ci sources = [ 81cb7eb8c9Sopenharmony_ci "${distributedfile_path}/frameworks/native/distributed_file_inner/src/asset/asset_obj.cpp", 82cb7eb8c9Sopenharmony_ci "${distributedfile_path}/test/mock/device_manager_impl_mock.cpp", 83cb7eb8c9Sopenharmony_ci "${distributedfile_path}/test/mock/device_manager_mock.cpp", 84cb7eb8c9Sopenharmony_ci "${distributedfile_path}/test/mock/softbus_bus_center_mock.cpp", 85cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/all_connect/all_connect_manager.cpp", 86cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/device/device_info.cpp", 87cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/device/device_manager_agent.cpp", 88cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_callback_manager.cpp", 89cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_recv_callback_proxy.cpp", 90cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_send_callback_proxy.cpp", 91cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/connection_detector.cpp", 92cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon.cpp", 93cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_eventhandler.cpp", 94cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_execute.cpp", 95cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_stub.cpp", 96cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/file_trans_listener_proxy.cpp", 97cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/trans_mananger.cpp", 98cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/mountpoint/mount_manager.cpp", 99cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/mountpoint/mount_point.cpp", 100cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/multiuser/os_account_observer.cpp", 101cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/devsl_dispatcher.cpp", 102cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/kernel_talker.cpp", 103cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/network_agent_template.cpp", 104cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/session_pool.cpp", 105cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_agent.cpp", 106cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_recv_listener.cpp", 107cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_send_listener.cpp", 108cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_receive_listener.cpp", 109cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_send_listener.cpp", 110cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler.cpp", 111cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler_asset.cpp", 112cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session.cpp", 113cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_dispatcher.cpp", 114cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_listener.cpp", 115cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_pool.cpp", 116cb7eb8c9Sopenharmony_ci ] 117cb7eb8c9Sopenharmony_ci 118cb7eb8c9Sopenharmony_ci sources += [ 119cb7eb8c9Sopenharmony_ci "device/device_manager_agent_sup_test.cpp", 120cb7eb8c9Sopenharmony_ci "device/mock_other_method.cpp", 121cb7eb8c9Sopenharmony_ci ] 122cb7eb8c9Sopenharmony_ci 123cb7eb8c9Sopenharmony_ci configs = [ 124cb7eb8c9Sopenharmony_ci ":module_private_config", 125cb7eb8c9Sopenharmony_ci "${utils_path}:compiler_configs", 126cb7eb8c9Sopenharmony_ci ] 127cb7eb8c9Sopenharmony_ci 128cb7eb8c9Sopenharmony_ci deps = [ 129cb7eb8c9Sopenharmony_ci "${utils_path}:libdistributedfileutils", 130cb7eb8c9Sopenharmony_ci "//third_party/googletest:gmock_main", 131cb7eb8c9Sopenharmony_ci "//third_party/googletest:gtest_main", 132cb7eb8c9Sopenharmony_ci ] 133cb7eb8c9Sopenharmony_ci 134cb7eb8c9Sopenharmony_ci external_deps = [ 135cb7eb8c9Sopenharmony_ci "ability_base:want", 136cb7eb8c9Sopenharmony_ci "ability_base:zuri", 137cb7eb8c9Sopenharmony_ci "access_token:libaccesstoken_sdk", 138cb7eb8c9Sopenharmony_ci "app_file_service:sandbox_helper_native", 139cb7eb8c9Sopenharmony_ci "c_utils:utils", 140cb7eb8c9Sopenharmony_ci "common_event_service:cesfwk_innerkits", 141cb7eb8c9Sopenharmony_ci "dataclassification:data_transit_mgr", 142cb7eb8c9Sopenharmony_ci "device_auth:deviceauth_sdk", 143cb7eb8c9Sopenharmony_ci "device_manager:devicemanagersdk", 144cb7eb8c9Sopenharmony_ci "dsoftbus:softbus_client", 145cb7eb8c9Sopenharmony_ci "eventhandler:libeventhandler", 146cb7eb8c9Sopenharmony_ci "hilog:libhilog", 147cb7eb8c9Sopenharmony_ci "hisysevent:libhisysevent", 148cb7eb8c9Sopenharmony_ci "init:libbegetutil", 149cb7eb8c9Sopenharmony_ci "ipc:ipc_single", 150cb7eb8c9Sopenharmony_ci "os_account:os_account_innerkits", 151cb7eb8c9Sopenharmony_ci "safwk:system_ability_fwk", 152cb7eb8c9Sopenharmony_ci "samgr:samgr_proxy", 153cb7eb8c9Sopenharmony_ci "storage_service:storage_manager_sa_proxy", 154cb7eb8c9Sopenharmony_ci "zlib:shared_libz", 155cb7eb8c9Sopenharmony_ci ] 156cb7eb8c9Sopenharmony_ci 157cb7eb8c9Sopenharmony_ci defines = [ "private=public" ] 158cb7eb8c9Sopenharmony_ci} 159cb7eb8c9Sopenharmony_ci 160cb7eb8c9Sopenharmony_ciohos_unittest("device_manager_agent_test") { 161cb7eb8c9Sopenharmony_ci branch_protector_ret = "pac_ret" 162cb7eb8c9Sopenharmony_ci sanitize = { 163cb7eb8c9Sopenharmony_ci integer_overflow = true 164cb7eb8c9Sopenharmony_ci cfi = true 165cb7eb8c9Sopenharmony_ci cfi_cross_dso = true 166cb7eb8c9Sopenharmony_ci debug = false 167cb7eb8c9Sopenharmony_ci blocklist = "${distributedfile_path}/cfi_blocklist.txt" 168cb7eb8c9Sopenharmony_ci } 169cb7eb8c9Sopenharmony_ci 170cb7eb8c9Sopenharmony_ci module_out_path = module_output_path 171cb7eb8c9Sopenharmony_ci 172cb7eb8c9Sopenharmony_ci sources = [ 173cb7eb8c9Sopenharmony_ci "${distributedfile_path}/frameworks/native/distributed_file_inner/src/asset/asset_obj.cpp", 174cb7eb8c9Sopenharmony_ci "${distributedfile_path}/test/mock/device_manager_impl_mock.cpp", 175cb7eb8c9Sopenharmony_ci "${distributedfile_path}/test/mock/device_manager_mock.cpp", 176cb7eb8c9Sopenharmony_ci "${distributedfile_path}/test/mock/softbus_bus_center_mock.cpp", 177cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/all_connect/all_connect_manager.cpp", 178cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/device/device_info.cpp", 179cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/device/device_manager_agent.cpp", 180cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_callback_manager.cpp", 181cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_recv_callback_proxy.cpp", 182cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_send_callback_proxy.cpp", 183cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/connection_detector.cpp", 184cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon.cpp", 185cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_eventhandler.cpp", 186cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_execute.cpp", 187cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_stub.cpp", 188cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/file_trans_listener_proxy.cpp", 189cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/trans_mananger.cpp", 190cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/mountpoint/mount_manager.cpp", 191cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/mountpoint/mount_point.cpp", 192cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/multiuser/os_account_observer.cpp", 193cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/devsl_dispatcher.cpp", 194cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/kernel_talker.cpp", 195cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/network_agent_template.cpp", 196cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/session_pool.cpp", 197cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_agent.cpp", 198cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_recv_listener.cpp", 199cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_send_listener.cpp", 200cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_receive_listener.cpp", 201cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_send_listener.cpp", 202cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler.cpp", 203cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler_asset.cpp", 204cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session.cpp", 205cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_dispatcher.cpp", 206cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_listener.cpp", 207cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_pool.cpp", 208cb7eb8c9Sopenharmony_ci ] 209cb7eb8c9Sopenharmony_ci 210cb7eb8c9Sopenharmony_ci sources += [ "device/device_manager_agent_test.cpp" ] 211cb7eb8c9Sopenharmony_ci 212cb7eb8c9Sopenharmony_ci configs = [ 213cb7eb8c9Sopenharmony_ci ":module_private_config", 214cb7eb8c9Sopenharmony_ci "${utils_path}:compiler_configs", 215cb7eb8c9Sopenharmony_ci ] 216cb7eb8c9Sopenharmony_ci 217cb7eb8c9Sopenharmony_ci deps = [ 218cb7eb8c9Sopenharmony_ci "${utils_path}:libdistributedfileutils", 219cb7eb8c9Sopenharmony_ci "//third_party/googletest:gmock_main", 220cb7eb8c9Sopenharmony_ci "//third_party/googletest:gtest_main", 221cb7eb8c9Sopenharmony_ci ] 222cb7eb8c9Sopenharmony_ci 223cb7eb8c9Sopenharmony_ci external_deps = [ 224cb7eb8c9Sopenharmony_ci "ability_base:want", 225cb7eb8c9Sopenharmony_ci "ability_base:zuri", 226cb7eb8c9Sopenharmony_ci "access_token:libaccesstoken_sdk", 227cb7eb8c9Sopenharmony_ci "app_file_service:sandbox_helper_native", 228cb7eb8c9Sopenharmony_ci "c_utils:utils", 229cb7eb8c9Sopenharmony_ci "common_event_service:cesfwk_innerkits", 230cb7eb8c9Sopenharmony_ci "dataclassification:data_transit_mgr", 231cb7eb8c9Sopenharmony_ci "device_auth:deviceauth_sdk", 232cb7eb8c9Sopenharmony_ci "device_manager:devicemanagersdk", 233cb7eb8c9Sopenharmony_ci "dsoftbus:softbus_client", 234cb7eb8c9Sopenharmony_ci "eventhandler:libeventhandler", 235cb7eb8c9Sopenharmony_ci "hilog:libhilog", 236cb7eb8c9Sopenharmony_ci "hisysevent:libhisysevent", 237cb7eb8c9Sopenharmony_ci "init:libbegetutil", 238cb7eb8c9Sopenharmony_ci "ipc:ipc_single", 239cb7eb8c9Sopenharmony_ci "os_account:os_account_innerkits", 240cb7eb8c9Sopenharmony_ci "safwk:system_ability_fwk", 241cb7eb8c9Sopenharmony_ci "samgr:samgr_proxy", 242cb7eb8c9Sopenharmony_ci "storage_service:storage_manager_sa_proxy", 243cb7eb8c9Sopenharmony_ci "zlib:shared_libz", 244cb7eb8c9Sopenharmony_ci ] 245cb7eb8c9Sopenharmony_ci 246cb7eb8c9Sopenharmony_ci defines = [ "private=public" ] 247cb7eb8c9Sopenharmony_ci} 248cb7eb8c9Sopenharmony_ci 249cb7eb8c9Sopenharmony_ciohos_unittest("os_account_observer_test") { 250cb7eb8c9Sopenharmony_ci branch_protector_ret = "pac_ret" 251cb7eb8c9Sopenharmony_ci sanitize = { 252cb7eb8c9Sopenharmony_ci integer_overflow = true 253cb7eb8c9Sopenharmony_ci cfi = true 254cb7eb8c9Sopenharmony_ci cfi_cross_dso = true 255cb7eb8c9Sopenharmony_ci debug = false 256cb7eb8c9Sopenharmony_ci } 257cb7eb8c9Sopenharmony_ci 258cb7eb8c9Sopenharmony_ci module_out_path = module_output_path 259cb7eb8c9Sopenharmony_ci 260cb7eb8c9Sopenharmony_ci sources = [ 261cb7eb8c9Sopenharmony_ci "${distributedfile_path}/frameworks/native/distributed_file_inner/src/asset/asset_obj.cpp", 262cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/all_connect/all_connect_manager.cpp", 263cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/device/device_info.cpp", 264cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/device/device_manager_agent.cpp", 265cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_callback_manager.cpp", 266cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_recv_callback_proxy.cpp", 267cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_send_callback_proxy.cpp", 268cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/connection_detector.cpp", 269cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon.cpp", 270cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_eventhandler.cpp", 271cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_execute.cpp", 272cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_stub.cpp", 273cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/file_trans_listener_proxy.cpp", 274cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/trans_mananger.cpp", 275cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/mountpoint/mount_manager.cpp", 276cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/mountpoint/mount_point.cpp", 277cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/multiuser/os_account_observer.cpp", 278cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/devsl_dispatcher.cpp", 279cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/kernel_talker.cpp", 280cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/network_agent_template.cpp", 281cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/session_pool.cpp", 282cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_agent.cpp", 283cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_recv_listener.cpp", 284cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_send_listener.cpp", 285cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_receive_listener.cpp", 286cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_send_listener.cpp", 287cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler.cpp", 288cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler_asset.cpp", 289cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session.cpp", 290cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_dispatcher.cpp", 291cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_listener.cpp", 292cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_pool.cpp", 293cb7eb8c9Sopenharmony_ci ] 294cb7eb8c9Sopenharmony_ci 295cb7eb8c9Sopenharmony_ci sources += [ "multiuser/os_account_observer_test.cpp" ] 296cb7eb8c9Sopenharmony_ci 297cb7eb8c9Sopenharmony_ci configs = [ 298cb7eb8c9Sopenharmony_ci ":module_private_config", 299cb7eb8c9Sopenharmony_ci "${utils_path}:compiler_configs", 300cb7eb8c9Sopenharmony_ci ] 301cb7eb8c9Sopenharmony_ci 302cb7eb8c9Sopenharmony_ci deps = [ 303cb7eb8c9Sopenharmony_ci "${utils_path}:libdistributedfileutils", 304cb7eb8c9Sopenharmony_ci "//third_party/googletest:gtest_main", 305cb7eb8c9Sopenharmony_ci ] 306cb7eb8c9Sopenharmony_ci 307cb7eb8c9Sopenharmony_ci external_deps = [ 308cb7eb8c9Sopenharmony_ci "ability_base:want", 309cb7eb8c9Sopenharmony_ci "ability_base:zuri", 310cb7eb8c9Sopenharmony_ci "access_token:libaccesstoken_sdk", 311cb7eb8c9Sopenharmony_ci "app_file_service:sandbox_helper_native", 312cb7eb8c9Sopenharmony_ci "c_utils:utils", 313cb7eb8c9Sopenharmony_ci "common_event_service:cesfwk_innerkits", 314cb7eb8c9Sopenharmony_ci "dataclassification:data_transit_mgr", 315cb7eb8c9Sopenharmony_ci "device_auth:deviceauth_sdk", 316cb7eb8c9Sopenharmony_ci "device_manager:devicemanagersdk", 317cb7eb8c9Sopenharmony_ci "dsoftbus:softbus_client", 318cb7eb8c9Sopenharmony_ci "eventhandler:libeventhandler", 319cb7eb8c9Sopenharmony_ci "hilog:libhilog", 320cb7eb8c9Sopenharmony_ci "hisysevent:libhisysevent", 321cb7eb8c9Sopenharmony_ci "init:libbegetutil", 322cb7eb8c9Sopenharmony_ci "ipc:ipc_single", 323cb7eb8c9Sopenharmony_ci "os_account:os_account_innerkits", 324cb7eb8c9Sopenharmony_ci "safwk:system_ability_fwk", 325cb7eb8c9Sopenharmony_ci "samgr:samgr_proxy", 326cb7eb8c9Sopenharmony_ci "storage_service:storage_manager_sa_proxy", 327cb7eb8c9Sopenharmony_ci "zlib:shared_libz", 328cb7eb8c9Sopenharmony_ci ] 329cb7eb8c9Sopenharmony_ci 330cb7eb8c9Sopenharmony_ci defines = [ "private=public" ] 331cb7eb8c9Sopenharmony_ci} 332cb7eb8c9Sopenharmony_ci 333cb7eb8c9Sopenharmony_ciohos_unittest("devsl_dispatcher_test") { 334cb7eb8c9Sopenharmony_ci branch_protector_ret = "pac_ret" 335cb7eb8c9Sopenharmony_ci sanitize = { 336cb7eb8c9Sopenharmony_ci integer_overflow = true 337cb7eb8c9Sopenharmony_ci cfi = true 338cb7eb8c9Sopenharmony_ci cfi_cross_dso = true 339cb7eb8c9Sopenharmony_ci debug = false 340cb7eb8c9Sopenharmony_ci } 341cb7eb8c9Sopenharmony_ci 342cb7eb8c9Sopenharmony_ci module_out_path = module_output_path 343cb7eb8c9Sopenharmony_ci 344cb7eb8c9Sopenharmony_ci sources = [ 345cb7eb8c9Sopenharmony_ci "${distributedfile_path}/frameworks/native/distributed_file_inner/src/asset/asset_obj.cpp", 346cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/all_connect/all_connect_manager.cpp", 347cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/device/device_info.cpp", 348cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/device/device_manager_agent.cpp", 349cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_callback_manager.cpp", 350cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_recv_callback_proxy.cpp", 351cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_send_callback_proxy.cpp", 352cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/connection_detector.cpp", 353cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon.cpp", 354cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_eventhandler.cpp", 355cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_execute.cpp", 356cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_stub.cpp", 357cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/file_trans_listener_proxy.cpp", 358cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/trans_mananger.cpp", 359cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/mountpoint/mount_manager.cpp", 360cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/mountpoint/mount_point.cpp", 361cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/multiuser/os_account_observer.cpp", 362cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/devsl_dispatcher.cpp", 363cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/kernel_talker.cpp", 364cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/network_agent_template.cpp", 365cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/session_pool.cpp", 366cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_agent.cpp", 367cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_recv_listener.cpp", 368cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_send_listener.cpp", 369cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_receive_listener.cpp", 370cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_send_listener.cpp", 371cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler.cpp", 372cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler_asset.cpp", 373cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session.cpp", 374cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_dispatcher.cpp", 375cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_listener.cpp", 376cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_pool.cpp", 377cb7eb8c9Sopenharmony_ci "network/devsl_dispatcher_test.cpp", 378cb7eb8c9Sopenharmony_ci ] 379cb7eb8c9Sopenharmony_ci 380cb7eb8c9Sopenharmony_ci configs = [ 381cb7eb8c9Sopenharmony_ci ":module_private_config", 382cb7eb8c9Sopenharmony_ci "${utils_path}:compiler_configs", 383cb7eb8c9Sopenharmony_ci ] 384cb7eb8c9Sopenharmony_ci 385cb7eb8c9Sopenharmony_ci deps = [ 386cb7eb8c9Sopenharmony_ci "${utils_path}:libdistributedfileutils", 387cb7eb8c9Sopenharmony_ci "//third_party/googletest:gtest_main", 388cb7eb8c9Sopenharmony_ci ] 389cb7eb8c9Sopenharmony_ci 390cb7eb8c9Sopenharmony_ci external_deps = [ 391cb7eb8c9Sopenharmony_ci "ability_base:want", 392cb7eb8c9Sopenharmony_ci "ability_base:zuri", 393cb7eb8c9Sopenharmony_ci "access_token:libaccesstoken_sdk", 394cb7eb8c9Sopenharmony_ci "app_file_service:sandbox_helper_native", 395cb7eb8c9Sopenharmony_ci "c_utils:utils", 396cb7eb8c9Sopenharmony_ci "common_event_service:cesfwk_innerkits", 397cb7eb8c9Sopenharmony_ci "dataclassification:data_transit_mgr", 398cb7eb8c9Sopenharmony_ci "device_auth:deviceauth_sdk", 399cb7eb8c9Sopenharmony_ci "device_manager:devicemanagersdk", 400cb7eb8c9Sopenharmony_ci "dsoftbus:softbus_client", 401cb7eb8c9Sopenharmony_ci "eventhandler:libeventhandler", 402cb7eb8c9Sopenharmony_ci "hilog:libhilog", 403cb7eb8c9Sopenharmony_ci "hisysevent:libhisysevent", 404cb7eb8c9Sopenharmony_ci "init:libbegetutil", 405cb7eb8c9Sopenharmony_ci "ipc:ipc_single", 406cb7eb8c9Sopenharmony_ci "os_account:os_account_innerkits", 407cb7eb8c9Sopenharmony_ci "safwk:system_ability_fwk", 408cb7eb8c9Sopenharmony_ci "samgr:samgr_proxy", 409cb7eb8c9Sopenharmony_ci "storage_service:storage_manager_sa_proxy", 410cb7eb8c9Sopenharmony_ci "zlib:shared_libz", 411cb7eb8c9Sopenharmony_ci ] 412cb7eb8c9Sopenharmony_ci 413cb7eb8c9Sopenharmony_ci defines = [ "private=public" ] 414cb7eb8c9Sopenharmony_ci} 415cb7eb8c9Sopenharmony_ci 416cb7eb8c9Sopenharmony_ciohos_unittest("kernel_talker_test") { 417cb7eb8c9Sopenharmony_ci branch_protector_ret = "pac_ret" 418cb7eb8c9Sopenharmony_ci sanitize = { 419cb7eb8c9Sopenharmony_ci integer_overflow = true 420cb7eb8c9Sopenharmony_ci cfi = true 421cb7eb8c9Sopenharmony_ci cfi_cross_dso = true 422cb7eb8c9Sopenharmony_ci debug = false 423cb7eb8c9Sopenharmony_ci } 424cb7eb8c9Sopenharmony_ci 425cb7eb8c9Sopenharmony_ci module_out_path = module_output_path 426cb7eb8c9Sopenharmony_ci 427cb7eb8c9Sopenharmony_ci sources = [ 428cb7eb8c9Sopenharmony_ci "${distributedfile_path}/frameworks/native/distributed_file_inner/src/asset/asset_obj.cpp", 429cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/all_connect/all_connect_manager.cpp", 430cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/device/device_info.cpp", 431cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/device/device_manager_agent.cpp", 432cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_callback_manager.cpp", 433cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_recv_callback_proxy.cpp", 434cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_send_callback_proxy.cpp", 435cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/connection_detector.cpp", 436cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon.cpp", 437cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_eventhandler.cpp", 438cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_execute.cpp", 439cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_stub.cpp", 440cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/file_trans_listener_proxy.cpp", 441cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/trans_mananger.cpp", 442cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/mountpoint/mount_manager.cpp", 443cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/mountpoint/mount_point.cpp", 444cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/multiuser/os_account_observer.cpp", 445cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/devsl_dispatcher.cpp", 446cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/kernel_talker.cpp", 447cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/network_agent_template.cpp", 448cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/session_pool.cpp", 449cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_agent.cpp", 450cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_recv_listener.cpp", 451cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_send_listener.cpp", 452cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_receive_listener.cpp", 453cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_send_listener.cpp", 454cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler.cpp", 455cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler_asset.cpp", 456cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session.cpp", 457cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_dispatcher.cpp", 458cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_listener.cpp", 459cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_pool.cpp", 460cb7eb8c9Sopenharmony_ci "network/kernel_talker_test.cpp", 461cb7eb8c9Sopenharmony_ci ] 462cb7eb8c9Sopenharmony_ci 463cb7eb8c9Sopenharmony_ci configs = [ 464cb7eb8c9Sopenharmony_ci ":module_private_config", 465cb7eb8c9Sopenharmony_ci "${utils_path}:compiler_configs", 466cb7eb8c9Sopenharmony_ci ] 467cb7eb8c9Sopenharmony_ci 468cb7eb8c9Sopenharmony_ci deps = [ 469cb7eb8c9Sopenharmony_ci "${utils_path}:libdistributedfileutils", 470cb7eb8c9Sopenharmony_ci "//third_party/googletest:gtest_main", 471cb7eb8c9Sopenharmony_ci ] 472cb7eb8c9Sopenharmony_ci 473cb7eb8c9Sopenharmony_ci external_deps = [ 474cb7eb8c9Sopenharmony_ci "ability_base:want", 475cb7eb8c9Sopenharmony_ci "ability_base:zuri", 476cb7eb8c9Sopenharmony_ci "access_token:libaccesstoken_sdk", 477cb7eb8c9Sopenharmony_ci "app_file_service:sandbox_helper_native", 478cb7eb8c9Sopenharmony_ci "c_utils:utils", 479cb7eb8c9Sopenharmony_ci "common_event_service:cesfwk_innerkits", 480cb7eb8c9Sopenharmony_ci "dataclassification:data_transit_mgr", 481cb7eb8c9Sopenharmony_ci "device_auth:deviceauth_sdk", 482cb7eb8c9Sopenharmony_ci "device_manager:devicemanagersdk", 483cb7eb8c9Sopenharmony_ci "dsoftbus:softbus_client", 484cb7eb8c9Sopenharmony_ci "eventhandler:libeventhandler", 485cb7eb8c9Sopenharmony_ci "hilog:libhilog", 486cb7eb8c9Sopenharmony_ci "hisysevent:libhisysevent", 487cb7eb8c9Sopenharmony_ci "init:libbegetutil", 488cb7eb8c9Sopenharmony_ci "ipc:ipc_single", 489cb7eb8c9Sopenharmony_ci "os_account:os_account_innerkits", 490cb7eb8c9Sopenharmony_ci "safwk:system_ability_fwk", 491cb7eb8c9Sopenharmony_ci "samgr:samgr_proxy", 492cb7eb8c9Sopenharmony_ci "storage_service:storage_manager_sa_proxy", 493cb7eb8c9Sopenharmony_ci "zlib:shared_libz", 494cb7eb8c9Sopenharmony_ci ] 495cb7eb8c9Sopenharmony_ci 496cb7eb8c9Sopenharmony_ci defines = [ "private=public" ] 497cb7eb8c9Sopenharmony_ci} 498cb7eb8c9Sopenharmony_ci 499cb7eb8c9Sopenharmony_ciohos_unittest("network_agent_template_test") { 500cb7eb8c9Sopenharmony_ci branch_protector_ret = "pac_ret" 501cb7eb8c9Sopenharmony_ci sanitize = { 502cb7eb8c9Sopenharmony_ci integer_overflow = true 503cb7eb8c9Sopenharmony_ci cfi = true 504cb7eb8c9Sopenharmony_ci cfi_cross_dso = true 505cb7eb8c9Sopenharmony_ci debug = false 506cb7eb8c9Sopenharmony_ci } 507cb7eb8c9Sopenharmony_ci 508cb7eb8c9Sopenharmony_ci module_out_path = module_output_path 509cb7eb8c9Sopenharmony_ci 510cb7eb8c9Sopenharmony_ci sources = [ 511cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/all_connect/all_connect_manager.cpp", 512cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/device/device_info.cpp", 513cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/device/device_manager_agent.cpp", 514cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/connection_detector.cpp", 515cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon.cpp", 516cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_eventhandler.cpp", 517cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_execute.cpp", 518cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_stub.cpp", 519cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/file_trans_listener_proxy.cpp", 520cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/trans_mananger.cpp", 521cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/mountpoint/mount_manager.cpp", 522cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/mountpoint/mount_point.cpp", 523cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/multiuser/os_account_observer.cpp", 524cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/devsl_dispatcher.cpp", 525cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/kernel_talker.cpp", 526cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/network_agent_template.cpp", 527cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/session_pool.cpp", 528cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_agent.cpp", 529cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_recv_listener.cpp", 530cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_send_listener.cpp", 531cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_receive_listener.cpp", 532cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_send_listener.cpp", 533cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler.cpp", 534cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler_asset.cpp", 535cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session.cpp", 536cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_dispatcher.cpp", 537cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_listener.cpp", 538cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_pool.cpp", 539cb7eb8c9Sopenharmony_ci "network/network_agent_template_test.cpp", 540cb7eb8c9Sopenharmony_ci ] 541cb7eb8c9Sopenharmony_ci 542cb7eb8c9Sopenharmony_ci configs = [ 543cb7eb8c9Sopenharmony_ci ":module_private_config", 544cb7eb8c9Sopenharmony_ci "${utils_path}:compiler_configs", 545cb7eb8c9Sopenharmony_ci ] 546cb7eb8c9Sopenharmony_ci 547cb7eb8c9Sopenharmony_ci deps = [ 548cb7eb8c9Sopenharmony_ci "${utils_path}:libdistributedfileutils", 549cb7eb8c9Sopenharmony_ci "//third_party/googletest:gtest_main", 550cb7eb8c9Sopenharmony_ci ] 551cb7eb8c9Sopenharmony_ci 552cb7eb8c9Sopenharmony_ci external_deps = [ 553cb7eb8c9Sopenharmony_ci "ability_base:want", 554cb7eb8c9Sopenharmony_ci "ability_base:zuri", 555cb7eb8c9Sopenharmony_ci "access_token:libaccesstoken_sdk", 556cb7eb8c9Sopenharmony_ci "app_file_service:sandbox_helper_native", 557cb7eb8c9Sopenharmony_ci "c_utils:utils", 558cb7eb8c9Sopenharmony_ci "common_event_service:cesfwk_innerkits", 559cb7eb8c9Sopenharmony_ci "dataclassification:data_transit_mgr", 560cb7eb8c9Sopenharmony_ci "device_auth:deviceauth_sdk", 561cb7eb8c9Sopenharmony_ci "device_manager:devicemanagersdk", 562cb7eb8c9Sopenharmony_ci "dsoftbus:softbus_client", 563cb7eb8c9Sopenharmony_ci "eventhandler:libeventhandler", 564cb7eb8c9Sopenharmony_ci "hilog:libhilog", 565cb7eb8c9Sopenharmony_ci "init:libbegetutil", 566cb7eb8c9Sopenharmony_ci "ipc:ipc_single", 567cb7eb8c9Sopenharmony_ci "os_account:os_account_innerkits", 568cb7eb8c9Sopenharmony_ci "safwk:system_ability_fwk", 569cb7eb8c9Sopenharmony_ci "samgr:samgr_proxy", 570cb7eb8c9Sopenharmony_ci "storage_service:storage_manager_sa_proxy", 571cb7eb8c9Sopenharmony_ci "zlib:shared_libz", 572cb7eb8c9Sopenharmony_ci ] 573cb7eb8c9Sopenharmony_ci 574cb7eb8c9Sopenharmony_ci defines = [ "private=public" ] 575cb7eb8c9Sopenharmony_ci} 576cb7eb8c9Sopenharmony_ci 577cb7eb8c9Sopenharmony_ciohos_unittest("session_pool_test") { 578cb7eb8c9Sopenharmony_ci branch_protector_ret = "pac_ret" 579cb7eb8c9Sopenharmony_ci sanitize = { 580cb7eb8c9Sopenharmony_ci integer_overflow = true 581cb7eb8c9Sopenharmony_ci cfi = true 582cb7eb8c9Sopenharmony_ci cfi_cross_dso = true 583cb7eb8c9Sopenharmony_ci debug = false 584cb7eb8c9Sopenharmony_ci } 585cb7eb8c9Sopenharmony_ci 586cb7eb8c9Sopenharmony_ci module_out_path = module_output_path 587cb7eb8c9Sopenharmony_ci 588cb7eb8c9Sopenharmony_ci sources = [ 589cb7eb8c9Sopenharmony_ci "${distributedfile_path}/frameworks/native/distributed_file_inner/src/asset/asset_obj.cpp", 590cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/all_connect/all_connect_manager.cpp", 591cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/device/device_info.cpp", 592cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/device/device_manager_agent.cpp", 593cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_callback_manager.cpp", 594cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_recv_callback_proxy.cpp", 595cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_send_callback_proxy.cpp", 596cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/connection_detector.cpp", 597cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon.cpp", 598cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_eventhandler.cpp", 599cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_execute.cpp", 600cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_stub.cpp", 601cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/file_trans_listener_proxy.cpp", 602cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/trans_mananger.cpp", 603cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/mountpoint/mount_manager.cpp", 604cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/mountpoint/mount_point.cpp", 605cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/multiuser/os_account_observer.cpp", 606cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/devsl_dispatcher.cpp", 607cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/network_agent_template.cpp", 608cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/session_pool.cpp", 609cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_agent.cpp", 610cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_recv_listener.cpp", 611cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_send_listener.cpp", 612cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_receive_listener.cpp", 613cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_send_listener.cpp", 614cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler.cpp", 615cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler_asset.cpp", 616cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session.cpp", 617cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_dispatcher.cpp", 618cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_listener.cpp", 619cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_pool.cpp", 620cb7eb8c9Sopenharmony_ci "network/session_pool_test.cpp", 621cb7eb8c9Sopenharmony_ci ] 622cb7eb8c9Sopenharmony_ci 623cb7eb8c9Sopenharmony_ci configs = [ 624cb7eb8c9Sopenharmony_ci ":module_private_config", 625cb7eb8c9Sopenharmony_ci "${utils_path}:compiler_configs", 626cb7eb8c9Sopenharmony_ci ] 627cb7eb8c9Sopenharmony_ci 628cb7eb8c9Sopenharmony_ci deps = [ 629cb7eb8c9Sopenharmony_ci "${utils_path}:libdistributedfileutils", 630cb7eb8c9Sopenharmony_ci "//third_party/googletest:gtest_main", 631cb7eb8c9Sopenharmony_ci ] 632cb7eb8c9Sopenharmony_ci 633cb7eb8c9Sopenharmony_ci external_deps = [ 634cb7eb8c9Sopenharmony_ci "ability_base:want", 635cb7eb8c9Sopenharmony_ci "ability_base:zuri", 636cb7eb8c9Sopenharmony_ci "access_token:libaccesstoken_sdk", 637cb7eb8c9Sopenharmony_ci "app_file_service:sandbox_helper_native", 638cb7eb8c9Sopenharmony_ci "c_utils:utils", 639cb7eb8c9Sopenharmony_ci "common_event_service:cesfwk_innerkits", 640cb7eb8c9Sopenharmony_ci "dataclassification:data_transit_mgr", 641cb7eb8c9Sopenharmony_ci "device_auth:deviceauth_sdk", 642cb7eb8c9Sopenharmony_ci "device_manager:devicemanagersdk", 643cb7eb8c9Sopenharmony_ci "dsoftbus:softbus_client", 644cb7eb8c9Sopenharmony_ci "eventhandler:libeventhandler", 645cb7eb8c9Sopenharmony_ci "hilog:libhilog", 646cb7eb8c9Sopenharmony_ci "hisysevent:libhisysevent", 647cb7eb8c9Sopenharmony_ci "init:libbegetutil", 648cb7eb8c9Sopenharmony_ci "ipc:ipc_single", 649cb7eb8c9Sopenharmony_ci "os_account:os_account_innerkits", 650cb7eb8c9Sopenharmony_ci "safwk:system_ability_fwk", 651cb7eb8c9Sopenharmony_ci "samgr:samgr_proxy", 652cb7eb8c9Sopenharmony_ci "storage_service:storage_manager_sa_proxy", 653cb7eb8c9Sopenharmony_ci "zlib:shared_libz", 654cb7eb8c9Sopenharmony_ci ] 655cb7eb8c9Sopenharmony_ci 656cb7eb8c9Sopenharmony_ci defines = [ "private=public" ] 657cb7eb8c9Sopenharmony_ci} 658cb7eb8c9Sopenharmony_ci 659cb7eb8c9Sopenharmony_ciohos_unittest("softbus_agent_test") { 660cb7eb8c9Sopenharmony_ci branch_protector_ret = "pac_ret" 661cb7eb8c9Sopenharmony_ci sanitize = { 662cb7eb8c9Sopenharmony_ci integer_overflow = true 663cb7eb8c9Sopenharmony_ci cfi = true 664cb7eb8c9Sopenharmony_ci cfi_cross_dso = true 665cb7eb8c9Sopenharmony_ci debug = false 666cb7eb8c9Sopenharmony_ci } 667cb7eb8c9Sopenharmony_ci 668cb7eb8c9Sopenharmony_ci module_out_path = module_output_path 669cb7eb8c9Sopenharmony_ci 670cb7eb8c9Sopenharmony_ci sources = [ 671cb7eb8c9Sopenharmony_ci "${distributedfile_path}/frameworks/native/distributed_file_inner/src/asset/asset_obj.cpp", 672cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/all_connect/all_connect_manager.cpp", 673cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/device/device_info.cpp", 674cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/device/device_manager_agent.cpp", 675cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_callback_manager.cpp", 676cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_recv_callback_proxy.cpp", 677cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_send_callback_proxy.cpp", 678cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/connection_detector.cpp", 679cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon.cpp", 680cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_eventhandler.cpp", 681cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_execute.cpp", 682cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_stub.cpp", 683cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/file_trans_listener_proxy.cpp", 684cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/trans_mananger.cpp", 685cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/mountpoint/mount_manager.cpp", 686cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/mountpoint/mount_point.cpp", 687cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/multiuser/os_account_observer.cpp", 688cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/devsl_dispatcher.cpp", 689cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/kernel_talker.cpp", 690cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/network_agent_template.cpp", 691cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/session_pool.cpp", 692cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_agent.cpp", 693cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_recv_listener.cpp", 694cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_send_listener.cpp", 695cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_receive_listener.cpp", 696cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_send_listener.cpp", 697cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler.cpp", 698cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler_asset.cpp", 699cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session.cpp", 700cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_dispatcher.cpp", 701cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_listener.cpp", 702cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_pool.cpp", 703cb7eb8c9Sopenharmony_ci "network/softbus/softbus_agent_test.cpp", 704cb7eb8c9Sopenharmony_ci ] 705cb7eb8c9Sopenharmony_ci 706cb7eb8c9Sopenharmony_ci configs = [ 707cb7eb8c9Sopenharmony_ci ":module_private_config", 708cb7eb8c9Sopenharmony_ci "${utils_path}:compiler_configs", 709cb7eb8c9Sopenharmony_ci ] 710cb7eb8c9Sopenharmony_ci 711cb7eb8c9Sopenharmony_ci deps = [ 712cb7eb8c9Sopenharmony_ci "${utils_path}:libdistributedfileutils", 713cb7eb8c9Sopenharmony_ci "//third_party/googletest:gtest_main", 714cb7eb8c9Sopenharmony_ci ] 715cb7eb8c9Sopenharmony_ci 716cb7eb8c9Sopenharmony_ci external_deps = [ 717cb7eb8c9Sopenharmony_ci "ability_base:want", 718cb7eb8c9Sopenharmony_ci "ability_base:zuri", 719cb7eb8c9Sopenharmony_ci "access_token:libaccesstoken_sdk", 720cb7eb8c9Sopenharmony_ci "app_file_service:sandbox_helper_native", 721cb7eb8c9Sopenharmony_ci "c_utils:utils", 722cb7eb8c9Sopenharmony_ci "common_event_service:cesfwk_innerkits", 723cb7eb8c9Sopenharmony_ci "dataclassification:data_transit_mgr", 724cb7eb8c9Sopenharmony_ci "device_auth:deviceauth_sdk", 725cb7eb8c9Sopenharmony_ci "device_manager:devicemanagersdk", 726cb7eb8c9Sopenharmony_ci "dsoftbus:softbus_client", 727cb7eb8c9Sopenharmony_ci "eventhandler:libeventhandler", 728cb7eb8c9Sopenharmony_ci "hilog:libhilog", 729cb7eb8c9Sopenharmony_ci "hisysevent:libhisysevent", 730cb7eb8c9Sopenharmony_ci "init:libbegetutil", 731cb7eb8c9Sopenharmony_ci "ipc:ipc_single", 732cb7eb8c9Sopenharmony_ci "os_account:os_account_innerkits", 733cb7eb8c9Sopenharmony_ci "safwk:system_ability_fwk", 734cb7eb8c9Sopenharmony_ci "samgr:samgr_proxy", 735cb7eb8c9Sopenharmony_ci "storage_service:storage_manager_sa_proxy", 736cb7eb8c9Sopenharmony_ci "zlib:shared_libz", 737cb7eb8c9Sopenharmony_ci ] 738cb7eb8c9Sopenharmony_ci 739cb7eb8c9Sopenharmony_ci defines = [ 740cb7eb8c9Sopenharmony_ci "private=public", 741cb7eb8c9Sopenharmony_ci "protected=public", 742cb7eb8c9Sopenharmony_ci ] 743cb7eb8c9Sopenharmony_ci} 744cb7eb8c9Sopenharmony_ci 745cb7eb8c9Sopenharmony_ciohos_unittest("softbus_file_receive_listener_test") { 746cb7eb8c9Sopenharmony_ci branch_protector_ret = "pac_ret" 747cb7eb8c9Sopenharmony_ci sanitize = { 748cb7eb8c9Sopenharmony_ci integer_overflow = true 749cb7eb8c9Sopenharmony_ci cfi = true 750cb7eb8c9Sopenharmony_ci cfi_cross_dso = true 751cb7eb8c9Sopenharmony_ci debug = false 752cb7eb8c9Sopenharmony_ci } 753cb7eb8c9Sopenharmony_ci 754cb7eb8c9Sopenharmony_ci module_out_path = module_output_path 755cb7eb8c9Sopenharmony_ci 756cb7eb8c9Sopenharmony_ci include_dirs = [ 757cb7eb8c9Sopenharmony_ci "${distributedfile_path}/services/distributedfiledaemon/include/ipc", 758cb7eb8c9Sopenharmony_ci "${distributedfile_path}/services/distributedfiledaemon/include/network/softbus", 759cb7eb8c9Sopenharmony_ci ] 760cb7eb8c9Sopenharmony_ci 761cb7eb8c9Sopenharmony_ci sources = [ 762cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/all_connect/all_connect_manager.cpp", 763cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/trans_mananger.cpp", 764cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_receive_listener.cpp", 765cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_send_listener.cpp", 766cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler.cpp", 767cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_listener.cpp", 768cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_pool.cpp", 769cb7eb8c9Sopenharmony_ci "network/softbus/softbus_file_receive_listener_test.cpp", 770cb7eb8c9Sopenharmony_ci ] 771cb7eb8c9Sopenharmony_ci 772cb7eb8c9Sopenharmony_ci configs = [ 773cb7eb8c9Sopenharmony_ci ":module_private_config", 774cb7eb8c9Sopenharmony_ci "${utils_path}:compiler_configs", 775cb7eb8c9Sopenharmony_ci ] 776cb7eb8c9Sopenharmony_ci 777cb7eb8c9Sopenharmony_ci deps = [ 778cb7eb8c9Sopenharmony_ci "${utils_path}:libdistributedfileutils", 779cb7eb8c9Sopenharmony_ci "//third_party/googletest:gtest_main", 780cb7eb8c9Sopenharmony_ci ] 781cb7eb8c9Sopenharmony_ci 782cb7eb8c9Sopenharmony_ci external_deps = [ 783cb7eb8c9Sopenharmony_ci "app_file_service:sandbox_helper_native", 784cb7eb8c9Sopenharmony_ci "c_utils:utils", 785cb7eb8c9Sopenharmony_ci "device_manager:devicemanagersdk", 786cb7eb8c9Sopenharmony_ci "dsoftbus:softbus_client", 787cb7eb8c9Sopenharmony_ci "hilog:libhilog", 788cb7eb8c9Sopenharmony_ci "hisysevent:libhisysevent", 789cb7eb8c9Sopenharmony_ci "os_account:os_account_innerkits", 790cb7eb8c9Sopenharmony_ci ] 791cb7eb8c9Sopenharmony_ci 792cb7eb8c9Sopenharmony_ci defines = [ "private=public" ] 793cb7eb8c9Sopenharmony_ci} 794cb7eb8c9Sopenharmony_ci 795cb7eb8c9Sopenharmony_ciohos_unittest("softbus_file_send_listener_test") { 796cb7eb8c9Sopenharmony_ci branch_protector_ret = "pac_ret" 797cb7eb8c9Sopenharmony_ci sanitize = { 798cb7eb8c9Sopenharmony_ci integer_overflow = true 799cb7eb8c9Sopenharmony_ci cfi = true 800cb7eb8c9Sopenharmony_ci cfi_cross_dso = true 801cb7eb8c9Sopenharmony_ci debug = false 802cb7eb8c9Sopenharmony_ci } 803cb7eb8c9Sopenharmony_ci 804cb7eb8c9Sopenharmony_ci module_out_path = module_output_path 805cb7eb8c9Sopenharmony_ci 806cb7eb8c9Sopenharmony_ci include_dirs = [ 807cb7eb8c9Sopenharmony_ci "${distributedfile_path}/services/distributedfiledaemon/include/ipc", 808cb7eb8c9Sopenharmony_ci "${distributedfile_path}/services/distributedfiledaemon/include/network/softbus", 809cb7eb8c9Sopenharmony_ci ] 810cb7eb8c9Sopenharmony_ci 811cb7eb8c9Sopenharmony_ci sources = [ 812cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/all_connect/all_connect_manager.cpp", 813cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/trans_mananger.cpp", 814cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_receive_listener.cpp", 815cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_send_listener.cpp", 816cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler.cpp", 817cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_listener.cpp", 818cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_pool.cpp", 819cb7eb8c9Sopenharmony_ci "network/softbus/softbus_file_send_listener_test.cpp", 820cb7eb8c9Sopenharmony_ci ] 821cb7eb8c9Sopenharmony_ci 822cb7eb8c9Sopenharmony_ci configs = [ 823cb7eb8c9Sopenharmony_ci ":module_private_config", 824cb7eb8c9Sopenharmony_ci "${utils_path}:compiler_configs", 825cb7eb8c9Sopenharmony_ci ] 826cb7eb8c9Sopenharmony_ci 827cb7eb8c9Sopenharmony_ci deps = [ 828cb7eb8c9Sopenharmony_ci "${utils_path}:libdistributedfileutils", 829cb7eb8c9Sopenharmony_ci "//third_party/googletest:gtest_main", 830cb7eb8c9Sopenharmony_ci ] 831cb7eb8c9Sopenharmony_ci 832cb7eb8c9Sopenharmony_ci external_deps = [ 833cb7eb8c9Sopenharmony_ci "app_file_service:sandbox_helper_native", 834cb7eb8c9Sopenharmony_ci "c_utils:utils", 835cb7eb8c9Sopenharmony_ci "device_manager:devicemanagersdk", 836cb7eb8c9Sopenharmony_ci "dsoftbus:softbus_client", 837cb7eb8c9Sopenharmony_ci "hilog:libhilog", 838cb7eb8c9Sopenharmony_ci "hisysevent:libhisysevent", 839cb7eb8c9Sopenharmony_ci "os_account:os_account_innerkits", 840cb7eb8c9Sopenharmony_ci ] 841cb7eb8c9Sopenharmony_ci 842cb7eb8c9Sopenharmony_ci defines = [ "private=public" ] 843cb7eb8c9Sopenharmony_ci} 844cb7eb8c9Sopenharmony_ci 845cb7eb8c9Sopenharmony_ciohos_unittest("softbus_session_dispatcher_test") { 846cb7eb8c9Sopenharmony_ci branch_protector_ret = "pac_ret" 847cb7eb8c9Sopenharmony_ci sanitize = { 848cb7eb8c9Sopenharmony_ci integer_overflow = true 849cb7eb8c9Sopenharmony_ci cfi = true 850cb7eb8c9Sopenharmony_ci cfi_cross_dso = true 851cb7eb8c9Sopenharmony_ci debug = false 852cb7eb8c9Sopenharmony_ci } 853cb7eb8c9Sopenharmony_ci 854cb7eb8c9Sopenharmony_ci module_out_path = module_output_path 855cb7eb8c9Sopenharmony_ci 856cb7eb8c9Sopenharmony_ci sources = [ 857cb7eb8c9Sopenharmony_ci "${distributedfile_path}/frameworks/native/distributed_file_inner/src/asset/asset_obj.cpp", 858cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/all_connect/all_connect_manager.cpp", 859cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/device/device_info.cpp", 860cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/device/device_manager_agent.cpp", 861cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_callback_manager.cpp", 862cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_recv_callback_proxy.cpp", 863cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_send_callback_proxy.cpp", 864cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/connection_detector.cpp", 865cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon.cpp", 866cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_eventhandler.cpp", 867cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_execute.cpp", 868cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_stub.cpp", 869cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/file_trans_listener_proxy.cpp", 870cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/trans_mananger.cpp", 871cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/mountpoint/mount_manager.cpp", 872cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/mountpoint/mount_point.cpp", 873cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/multiuser/os_account_observer.cpp", 874cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/devsl_dispatcher.cpp", 875cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/kernel_talker.cpp", 876cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/network_agent_template.cpp", 877cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/session_pool.cpp", 878cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_agent.cpp", 879cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_recv_listener.cpp", 880cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_send_listener.cpp", 881cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_receive_listener.cpp", 882cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_send_listener.cpp", 883cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler.cpp", 884cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler_asset.cpp", 885cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session.cpp", 886cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_dispatcher.cpp", 887cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_listener.cpp", 888cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_pool.cpp", 889cb7eb8c9Sopenharmony_ci "network/softbus/softbus_session_dispatcher_test.cpp", 890cb7eb8c9Sopenharmony_ci ] 891cb7eb8c9Sopenharmony_ci 892cb7eb8c9Sopenharmony_ci configs = [ 893cb7eb8c9Sopenharmony_ci ":module_private_config", 894cb7eb8c9Sopenharmony_ci "${utils_path}:compiler_configs", 895cb7eb8c9Sopenharmony_ci ] 896cb7eb8c9Sopenharmony_ci 897cb7eb8c9Sopenharmony_ci deps = [ 898cb7eb8c9Sopenharmony_ci "${utils_path}:libdistributedfileutils", 899cb7eb8c9Sopenharmony_ci "//third_party/googletest:gtest_main", 900cb7eb8c9Sopenharmony_ci ] 901cb7eb8c9Sopenharmony_ci 902cb7eb8c9Sopenharmony_ci external_deps = [ 903cb7eb8c9Sopenharmony_ci "ability_base:want", 904cb7eb8c9Sopenharmony_ci "ability_base:zuri", 905cb7eb8c9Sopenharmony_ci "access_token:libaccesstoken_sdk", 906cb7eb8c9Sopenharmony_ci "app_file_service:sandbox_helper_native", 907cb7eb8c9Sopenharmony_ci "c_utils:utils", 908cb7eb8c9Sopenharmony_ci "common_event_service:cesfwk_innerkits", 909cb7eb8c9Sopenharmony_ci "dataclassification:data_transit_mgr", 910cb7eb8c9Sopenharmony_ci "device_auth:deviceauth_sdk", 911cb7eb8c9Sopenharmony_ci "device_manager:devicemanagersdk", 912cb7eb8c9Sopenharmony_ci "dsoftbus:softbus_client", 913cb7eb8c9Sopenharmony_ci "eventhandler:libeventhandler", 914cb7eb8c9Sopenharmony_ci "hilog:libhilog", 915cb7eb8c9Sopenharmony_ci "hisysevent:libhisysevent", 916cb7eb8c9Sopenharmony_ci "init:libbegetutil", 917cb7eb8c9Sopenharmony_ci "ipc:ipc_single", 918cb7eb8c9Sopenharmony_ci "os_account:os_account_innerkits", 919cb7eb8c9Sopenharmony_ci "safwk:system_ability_fwk", 920cb7eb8c9Sopenharmony_ci "samgr:samgr_proxy", 921cb7eb8c9Sopenharmony_ci "storage_service:storage_manager_sa_proxy", 922cb7eb8c9Sopenharmony_ci "zlib:shared_libz", 923cb7eb8c9Sopenharmony_ci ] 924cb7eb8c9Sopenharmony_ci 925cb7eb8c9Sopenharmony_ci defines = [ "private=public" ] 926cb7eb8c9Sopenharmony_ci} 927cb7eb8c9Sopenharmony_ci 928cb7eb8c9Sopenharmony_ciohos_unittest("softbus_session_test") { 929cb7eb8c9Sopenharmony_ci branch_protector_ret = "pac_ret" 930cb7eb8c9Sopenharmony_ci sanitize = { 931cb7eb8c9Sopenharmony_ci integer_overflow = true 932cb7eb8c9Sopenharmony_ci cfi = true 933cb7eb8c9Sopenharmony_ci cfi_cross_dso = true 934cb7eb8c9Sopenharmony_ci debug = false 935cb7eb8c9Sopenharmony_ci } 936cb7eb8c9Sopenharmony_ci 937cb7eb8c9Sopenharmony_ci module_out_path = module_output_path 938cb7eb8c9Sopenharmony_ci 939cb7eb8c9Sopenharmony_ci sources = [ 940cb7eb8c9Sopenharmony_ci "${distributedfile_path}/frameworks/native/distributed_file_inner/src/asset/asset_obj.cpp", 941cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/all_connect/all_connect_manager.cpp", 942cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/device/device_info.cpp", 943cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/device/device_manager_agent.cpp", 944cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_callback_manager.cpp", 945cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_recv_callback_proxy.cpp", 946cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_send_callback_proxy.cpp", 947cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/connection_detector.cpp", 948cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon.cpp", 949cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_eventhandler.cpp", 950cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_execute.cpp", 951cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/daemon_stub.cpp", 952cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/file_trans_listener_proxy.cpp", 953cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/trans_mananger.cpp", 954cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/mountpoint/mount_manager.cpp", 955cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/mountpoint/mount_point.cpp", 956cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/multiuser/os_account_observer.cpp", 957cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/devsl_dispatcher.cpp", 958cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/kernel_talker.cpp", 959cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/network_agent_template.cpp", 960cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/session_pool.cpp", 961cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_agent.cpp", 962cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_recv_listener.cpp", 963cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_send_listener.cpp", 964cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_receive_listener.cpp", 965cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_send_listener.cpp", 966cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler.cpp", 967cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler_asset.cpp", 968cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session.cpp", 969cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_dispatcher.cpp", 970cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_listener.cpp", 971cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_pool.cpp", 972cb7eb8c9Sopenharmony_ci "network/softbus/softbus_session_test.cpp", 973cb7eb8c9Sopenharmony_ci ] 974cb7eb8c9Sopenharmony_ci 975cb7eb8c9Sopenharmony_ci configs = [ 976cb7eb8c9Sopenharmony_ci ":module_private_config", 977cb7eb8c9Sopenharmony_ci "${utils_path}:compiler_configs", 978cb7eb8c9Sopenharmony_ci ] 979cb7eb8c9Sopenharmony_ci 980cb7eb8c9Sopenharmony_ci deps = [ 981cb7eb8c9Sopenharmony_ci "${utils_path}:libdistributedfileutils", 982cb7eb8c9Sopenharmony_ci "//third_party/googletest:gtest_main", 983cb7eb8c9Sopenharmony_ci ] 984cb7eb8c9Sopenharmony_ci 985cb7eb8c9Sopenharmony_ci external_deps = [ 986cb7eb8c9Sopenharmony_ci "ability_base:want", 987cb7eb8c9Sopenharmony_ci "ability_base:zuri", 988cb7eb8c9Sopenharmony_ci "access_token:libaccesstoken_sdk", 989cb7eb8c9Sopenharmony_ci "app_file_service:sandbox_helper_native", 990cb7eb8c9Sopenharmony_ci "c_utils:utils", 991cb7eb8c9Sopenharmony_ci "common_event_service:cesfwk_innerkits", 992cb7eb8c9Sopenharmony_ci "dataclassification:data_transit_mgr", 993cb7eb8c9Sopenharmony_ci "device_auth:deviceauth_sdk", 994cb7eb8c9Sopenharmony_ci "device_manager:devicemanagersdk", 995cb7eb8c9Sopenharmony_ci "dsoftbus:softbus_client", 996cb7eb8c9Sopenharmony_ci "eventhandler:libeventhandler", 997cb7eb8c9Sopenharmony_ci "hilog:libhilog", 998cb7eb8c9Sopenharmony_ci "hisysevent:libhisysevent", 999cb7eb8c9Sopenharmony_ci "init:libbegetutil", 1000cb7eb8c9Sopenharmony_ci "ipc:ipc_single", 1001cb7eb8c9Sopenharmony_ci "os_account:os_account_innerkits", 1002cb7eb8c9Sopenharmony_ci "safwk:system_ability_fwk", 1003cb7eb8c9Sopenharmony_ci "samgr:samgr_proxy", 1004cb7eb8c9Sopenharmony_ci "storage_service:storage_manager_sa_proxy", 1005cb7eb8c9Sopenharmony_ci "zlib:shared_libz", 1006cb7eb8c9Sopenharmony_ci ] 1007cb7eb8c9Sopenharmony_ci 1008cb7eb8c9Sopenharmony_ci defines = [ "private=public" ] 1009cb7eb8c9Sopenharmony_ci} 1010cb7eb8c9Sopenharmony_ci 1011cb7eb8c9Sopenharmony_ciohos_unittest("softbus_handler_asset_test") { 1012cb7eb8c9Sopenharmony_ci branch_protector_ret = "pac_ret" 1013cb7eb8c9Sopenharmony_ci sanitize = { 1014cb7eb8c9Sopenharmony_ci integer_overflow = true 1015cb7eb8c9Sopenharmony_ci cfi = true 1016cb7eb8c9Sopenharmony_ci cfi_cross_dso = true 1017cb7eb8c9Sopenharmony_ci debug = false 1018cb7eb8c9Sopenharmony_ci blocklist = "${distributedfile_path}/cfi_blocklist.txt" 1019cb7eb8c9Sopenharmony_ci } 1020cb7eb8c9Sopenharmony_ci 1021cb7eb8c9Sopenharmony_ci module_out_path = module_output_path 1022cb7eb8c9Sopenharmony_ci 1023cb7eb8c9Sopenharmony_ci include_dirs = [ "${distributedfile_path}/services/distributedfiledaemon/include/network/softbus" ] 1024cb7eb8c9Sopenharmony_ci 1025cb7eb8c9Sopenharmony_ci sources = [ 1026cb7eb8c9Sopenharmony_ci "${distributedfile_path}/frameworks/native/distributed_file_inner/src/asset/asset_obj.cpp", 1027cb7eb8c9Sopenharmony_ci "${distributedfile_path}/test/mock/device_manager_impl_mock.cpp", 1028cb7eb8c9Sopenharmony_ci "${distributedfile_path}/test/mock/socket_mock.cpp", 1029cb7eb8c9Sopenharmony_ci "${distributedfile_path}/test/mock/softbus_bus_center_mock.cpp", 1030cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/trans_mananger.cpp", 1031cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_recv_listener.cpp", 1032cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_send_listener.cpp", 1033cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_receive_listener.cpp", 1034cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_send_listener.cpp", 1035cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler.cpp", 1036cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler_asset.cpp", 1037cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_listener.cpp", 1038cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_pool.cpp", 1039cb7eb8c9Sopenharmony_ci "network/softbus/softbus_handler_asset_test.cpp", 1040cb7eb8c9Sopenharmony_ci ] 1041cb7eb8c9Sopenharmony_ci 1042cb7eb8c9Sopenharmony_ci configs = [ 1043cb7eb8c9Sopenharmony_ci ":module_private_config", 1044cb7eb8c9Sopenharmony_ci "${utils_path}:compiler_configs", 1045cb7eb8c9Sopenharmony_ci ] 1046cb7eb8c9Sopenharmony_ci 1047cb7eb8c9Sopenharmony_ci deps = [ 1048cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon:libdistributedfiledaemon", 1049cb7eb8c9Sopenharmony_ci "${utils_path}:libdistributedfileutils", 1050cb7eb8c9Sopenharmony_ci "//third_party/googletest:gmock_main", 1051cb7eb8c9Sopenharmony_ci "//third_party/googletest:gtest_main", 1052cb7eb8c9Sopenharmony_ci ] 1053cb7eb8c9Sopenharmony_ci 1054cb7eb8c9Sopenharmony_ci external_deps = [ 1055cb7eb8c9Sopenharmony_ci "access_token:libaccesstoken_sdk", 1056cb7eb8c9Sopenharmony_ci "app_file_service:sandbox_helper_native", 1057cb7eb8c9Sopenharmony_ci "c_utils:utils", 1058cb7eb8c9Sopenharmony_ci "device_manager:devicemanagersdk", 1059cb7eb8c9Sopenharmony_ci "dsoftbus:softbus_client", 1060cb7eb8c9Sopenharmony_ci "hilog:libhilog", 1061cb7eb8c9Sopenharmony_ci "hisysevent:libhisysevent", 1062cb7eb8c9Sopenharmony_ci "ipc:ipc_core", 1063cb7eb8c9Sopenharmony_ci "os_account:os_account_innerkits", 1064cb7eb8c9Sopenharmony_ci "zlib:shared_libz", 1065cb7eb8c9Sopenharmony_ci ] 1066cb7eb8c9Sopenharmony_ci 1067cb7eb8c9Sopenharmony_ci defines = [ "private=public" ] 1068cb7eb8c9Sopenharmony_ci} 1069cb7eb8c9Sopenharmony_ci 1070cb7eb8c9Sopenharmony_ciohos_unittest("softbus_handler_test") { 1071cb7eb8c9Sopenharmony_ci branch_protector_ret = "pac_ret" 1072cb7eb8c9Sopenharmony_ci sanitize = { 1073cb7eb8c9Sopenharmony_ci integer_overflow = true 1074cb7eb8c9Sopenharmony_ci cfi = true 1075cb7eb8c9Sopenharmony_ci cfi_cross_dso = true 1076cb7eb8c9Sopenharmony_ci debug = false 1077cb7eb8c9Sopenharmony_ci blocklist = "${distributedfile_path}/cfi_blocklist.txt" 1078cb7eb8c9Sopenharmony_ci } 1079cb7eb8c9Sopenharmony_ci 1080cb7eb8c9Sopenharmony_ci module_out_path = module_output_path 1081cb7eb8c9Sopenharmony_ci 1082cb7eb8c9Sopenharmony_ci include_dirs = [ "${distributedfile_path}/services/distributedfiledaemon/include/network/softbus" ] 1083cb7eb8c9Sopenharmony_ci 1084cb7eb8c9Sopenharmony_ci sources = [ 1085cb7eb8c9Sopenharmony_ci "${distributedfile_path}/test/mock/socket_mock.cpp", 1086cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/all_connect/all_connect_manager.cpp", 1087cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/trans_mananger.cpp", 1088cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_receive_listener.cpp", 1089cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_file_send_listener.cpp", 1090cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler.cpp", 1091cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_listener.cpp", 1092cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_pool.cpp", 1093cb7eb8c9Sopenharmony_ci "network/softbus/softbus_handler_test.cpp", 1094cb7eb8c9Sopenharmony_ci ] 1095cb7eb8c9Sopenharmony_ci 1096cb7eb8c9Sopenharmony_ci configs = [ 1097cb7eb8c9Sopenharmony_ci ":module_private_config", 1098cb7eb8c9Sopenharmony_ci "${utils_path}:compiler_configs", 1099cb7eb8c9Sopenharmony_ci ] 1100cb7eb8c9Sopenharmony_ci 1101cb7eb8c9Sopenharmony_ci deps = [ 1102cb7eb8c9Sopenharmony_ci "${utils_path}:libdistributedfileutils", 1103cb7eb8c9Sopenharmony_ci "//third_party/googletest:gmock_main", 1104cb7eb8c9Sopenharmony_ci "//third_party/googletest:gtest_main", 1105cb7eb8c9Sopenharmony_ci ] 1106cb7eb8c9Sopenharmony_ci 1107cb7eb8c9Sopenharmony_ci external_deps = [ 1108cb7eb8c9Sopenharmony_ci "access_token:libaccesstoken_sdk", 1109cb7eb8c9Sopenharmony_ci "app_file_service:sandbox_helper_native", 1110cb7eb8c9Sopenharmony_ci "c_utils:utils", 1111cb7eb8c9Sopenharmony_ci "device_manager:devicemanagersdk", 1112cb7eb8c9Sopenharmony_ci "dsoftbus:softbus_client", 1113cb7eb8c9Sopenharmony_ci "hilog:libhilog", 1114cb7eb8c9Sopenharmony_ci "hisysevent:libhisysevent", 1115cb7eb8c9Sopenharmony_ci "os_account:os_account_innerkits", 1116cb7eb8c9Sopenharmony_ci ] 1117cb7eb8c9Sopenharmony_ci 1118cb7eb8c9Sopenharmony_ci defines = [ "private=public" ] 1119cb7eb8c9Sopenharmony_ci} 1120cb7eb8c9Sopenharmony_ci 1121cb7eb8c9Sopenharmony_ciohos_unittest("softbus_session_pool_test") { 1122cb7eb8c9Sopenharmony_ci branch_protector_ret = "pac_ret" 1123cb7eb8c9Sopenharmony_ci sanitize = { 1124cb7eb8c9Sopenharmony_ci integer_overflow = true 1125cb7eb8c9Sopenharmony_ci cfi = true 1126cb7eb8c9Sopenharmony_ci cfi_cross_dso = true 1127cb7eb8c9Sopenharmony_ci debug = false 1128cb7eb8c9Sopenharmony_ci } 1129cb7eb8c9Sopenharmony_ci 1130cb7eb8c9Sopenharmony_ci module_out_path = module_output_path 1131cb7eb8c9Sopenharmony_ci 1132cb7eb8c9Sopenharmony_ci include_dirs = [ "${distributedfile_path}/services/distributedfiledaemon/include/network/softbus" ] 1133cb7eb8c9Sopenharmony_ci 1134cb7eb8c9Sopenharmony_ci sources = [ 1135cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_pool.cpp", 1136cb7eb8c9Sopenharmony_ci "network/softbus/softbus_session_pool_test.cpp", 1137cb7eb8c9Sopenharmony_ci ] 1138cb7eb8c9Sopenharmony_ci 1139cb7eb8c9Sopenharmony_ci configs = [ 1140cb7eb8c9Sopenharmony_ci ":module_private_config", 1141cb7eb8c9Sopenharmony_ci "${utils_path}:compiler_configs", 1142cb7eb8c9Sopenharmony_ci ] 1143cb7eb8c9Sopenharmony_ci 1144cb7eb8c9Sopenharmony_ci deps = [ 1145cb7eb8c9Sopenharmony_ci "${utils_path}:libdistributedfileutils", 1146cb7eb8c9Sopenharmony_ci "//third_party/googletest:gtest_main", 1147cb7eb8c9Sopenharmony_ci ] 1148cb7eb8c9Sopenharmony_ci 1149cb7eb8c9Sopenharmony_ci external_deps = [ 1150cb7eb8c9Sopenharmony_ci "access_token:libaccesstoken_sdk", 1151cb7eb8c9Sopenharmony_ci "c_utils:utils", 1152cb7eb8c9Sopenharmony_ci "dsoftbus:softbus_client", 1153cb7eb8c9Sopenharmony_ci "hilog:libhilog", 1154cb7eb8c9Sopenharmony_ci ] 1155cb7eb8c9Sopenharmony_ci} 1156cb7eb8c9Sopenharmony_ci 1157cb7eb8c9Sopenharmony_ciohos_unittest("softbus_session_listener_test") { 1158cb7eb8c9Sopenharmony_ci branch_protector_ret = "pac_ret" 1159cb7eb8c9Sopenharmony_ci sanitize = { 1160cb7eb8c9Sopenharmony_ci integer_overflow = true 1161cb7eb8c9Sopenharmony_ci cfi = true 1162cb7eb8c9Sopenharmony_ci cfi_cross_dso = true 1163cb7eb8c9Sopenharmony_ci debug = false 1164cb7eb8c9Sopenharmony_ci } 1165cb7eb8c9Sopenharmony_ci 1166cb7eb8c9Sopenharmony_ci module_out_path = module_output_path 1167cb7eb8c9Sopenharmony_ci 1168cb7eb8c9Sopenharmony_ci include_dirs = [ "${distributedfile_path}/services/distributedfiledaemon/include/network/softbus" ] 1169cb7eb8c9Sopenharmony_ci 1170cb7eb8c9Sopenharmony_ci sources = [ 1171cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_session_listener.cpp", 1172cb7eb8c9Sopenharmony_ci "network/softbus/softbus_session_listener_test.cpp", 1173cb7eb8c9Sopenharmony_ci ] 1174cb7eb8c9Sopenharmony_ci 1175cb7eb8c9Sopenharmony_ci configs = [ 1176cb7eb8c9Sopenharmony_ci ":module_private_config", 1177cb7eb8c9Sopenharmony_ci "${utils_path}:compiler_configs", 1178cb7eb8c9Sopenharmony_ci ] 1179cb7eb8c9Sopenharmony_ci 1180cb7eb8c9Sopenharmony_ci deps = [ 1181cb7eb8c9Sopenharmony_ci "${utils_path}:libdistributedfileutils", 1182cb7eb8c9Sopenharmony_ci "//third_party/googletest:gtest_main", 1183cb7eb8c9Sopenharmony_ci ] 1184cb7eb8c9Sopenharmony_ci 1185cb7eb8c9Sopenharmony_ci external_deps = [ 1186cb7eb8c9Sopenharmony_ci "ability_base:zuri", 1187cb7eb8c9Sopenharmony_ci "access_token:libaccesstoken_sdk", 1188cb7eb8c9Sopenharmony_ci "app_file_service:sandbox_helper_native", 1189cb7eb8c9Sopenharmony_ci "c_utils:utils", 1190cb7eb8c9Sopenharmony_ci "dsoftbus:softbus_client", 1191cb7eb8c9Sopenharmony_ci "hilog:libhilog", 1192cb7eb8c9Sopenharmony_ci "os_account:os_account_innerkits", 1193cb7eb8c9Sopenharmony_ci ] 1194cb7eb8c9Sopenharmony_ci 1195cb7eb8c9Sopenharmony_ci defines = [ "private=public" ] 1196cb7eb8c9Sopenharmony_ci} 1197cb7eb8c9Sopenharmony_ci 1198cb7eb8c9Sopenharmony_ciohos_unittest("softbus_asset_recv_listener_test") { 1199cb7eb8c9Sopenharmony_ci branch_protector_ret = "pac_ret" 1200cb7eb8c9Sopenharmony_ci sanitize = { 1201cb7eb8c9Sopenharmony_ci integer_overflow = true 1202cb7eb8c9Sopenharmony_ci cfi = true 1203cb7eb8c9Sopenharmony_ci cfi_cross_dso = true 1204cb7eb8c9Sopenharmony_ci debug = false 1205cb7eb8c9Sopenharmony_ci } 1206cb7eb8c9Sopenharmony_ci 1207cb7eb8c9Sopenharmony_ci module_out_path = module_output_path 1208cb7eb8c9Sopenharmony_ci 1209cb7eb8c9Sopenharmony_ci include_dirs = [ 1210cb7eb8c9Sopenharmony_ci "${distributedfile_path}/frameworks/native/distributed_file_inner/include/asset", 1211cb7eb8c9Sopenharmony_ci "${distributedfile_path}/services/distributedfiledaemon/include/ipc", 1212cb7eb8c9Sopenharmony_ci "${distributedfile_path}/services/distributedfiledaemon/include/network/softbus", 1213cb7eb8c9Sopenharmony_ci ] 1214cb7eb8c9Sopenharmony_ci 1215cb7eb8c9Sopenharmony_ci sources = [ 1216cb7eb8c9Sopenharmony_ci "${distributedfile_path}/frameworks/native/distributed_file_inner/src/asset/asset_obj.cpp", 1217cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_callback_manager.cpp", 1218cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_recv_listener.cpp", 1219cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_send_listener.cpp", 1220cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler_asset.cpp", 1221cb7eb8c9Sopenharmony_ci "network/softbus/softbus_asset_recv_listener_test.cpp", 1222cb7eb8c9Sopenharmony_ci ] 1223cb7eb8c9Sopenharmony_ci 1224cb7eb8c9Sopenharmony_ci configs = [ 1225cb7eb8c9Sopenharmony_ci ":module_private_config", 1226cb7eb8c9Sopenharmony_ci "${utils_path}:compiler_configs", 1227cb7eb8c9Sopenharmony_ci ] 1228cb7eb8c9Sopenharmony_ci 1229cb7eb8c9Sopenharmony_ci deps = [ 1230cb7eb8c9Sopenharmony_ci "${utils_path}:libdistributedfileutils", 1231cb7eb8c9Sopenharmony_ci "//third_party/googletest:gtest_main", 1232cb7eb8c9Sopenharmony_ci ] 1233cb7eb8c9Sopenharmony_ci 1234cb7eb8c9Sopenharmony_ci external_deps = [ 1235cb7eb8c9Sopenharmony_ci "access_token:libaccesstoken_sdk", 1236cb7eb8c9Sopenharmony_ci "c_utils:utils", 1237cb7eb8c9Sopenharmony_ci "device_manager:devicemanagersdk", 1238cb7eb8c9Sopenharmony_ci "dsoftbus:softbus_client", 1239cb7eb8c9Sopenharmony_ci "hilog:libhilog", 1240cb7eb8c9Sopenharmony_ci "os_account:os_account_innerkits", 1241cb7eb8c9Sopenharmony_ci "zlib:shared_libz", 1242cb7eb8c9Sopenharmony_ci ] 1243cb7eb8c9Sopenharmony_ci 1244cb7eb8c9Sopenharmony_ci defines = [ "private=public" ] 1245cb7eb8c9Sopenharmony_ci} 1246cb7eb8c9Sopenharmony_ci 1247cb7eb8c9Sopenharmony_ciohos_unittest("softbus_asset_send_listener_test") { 1248cb7eb8c9Sopenharmony_ci branch_protector_ret = "pac_ret" 1249cb7eb8c9Sopenharmony_ci sanitize = { 1250cb7eb8c9Sopenharmony_ci integer_overflow = true 1251cb7eb8c9Sopenharmony_ci cfi = true 1252cb7eb8c9Sopenharmony_ci cfi_cross_dso = true 1253cb7eb8c9Sopenharmony_ci debug = false 1254cb7eb8c9Sopenharmony_ci } 1255cb7eb8c9Sopenharmony_ci 1256cb7eb8c9Sopenharmony_ci module_out_path = module_output_path 1257cb7eb8c9Sopenharmony_ci 1258cb7eb8c9Sopenharmony_ci include_dirs = [ 1259cb7eb8c9Sopenharmony_ci "${distributedfile_path}/frameworks/native/distributed_file_inner/include/asset", 1260cb7eb8c9Sopenharmony_ci "${distributedfile_path}/services/distributedfiledaemon/include/ipc", 1261cb7eb8c9Sopenharmony_ci "${distributedfile_path}/services/distributedfiledaemon/include/network/softbus", 1262cb7eb8c9Sopenharmony_ci ] 1263cb7eb8c9Sopenharmony_ci 1264cb7eb8c9Sopenharmony_ci sources = [ 1265cb7eb8c9Sopenharmony_ci "${distributedfile_path}/frameworks/native/distributed_file_inner/src/asset/asset_obj.cpp", 1266cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/ipc/asset_callback_manager.cpp", 1267cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_recv_listener.cpp", 1268cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_asset_send_listener.cpp", 1269cb7eb8c9Sopenharmony_ci "${services_path}/distributedfiledaemon/src/network/softbus/softbus_handler_asset.cpp", 1270cb7eb8c9Sopenharmony_ci "network/softbus/softbus_asset_send_listener_test.cpp", 1271cb7eb8c9Sopenharmony_ci ] 1272cb7eb8c9Sopenharmony_ci 1273cb7eb8c9Sopenharmony_ci configs = [ 1274cb7eb8c9Sopenharmony_ci ":module_private_config", 1275cb7eb8c9Sopenharmony_ci "${utils_path}:compiler_configs", 1276cb7eb8c9Sopenharmony_ci ] 1277cb7eb8c9Sopenharmony_ci 1278cb7eb8c9Sopenharmony_ci deps = [ 1279cb7eb8c9Sopenharmony_ci "${utils_path}:libdistributedfileutils", 1280cb7eb8c9Sopenharmony_ci "//third_party/googletest:gmock_main", 1281cb7eb8c9Sopenharmony_ci "//third_party/googletest:gtest_main", 1282cb7eb8c9Sopenharmony_ci ] 1283cb7eb8c9Sopenharmony_ci 1284cb7eb8c9Sopenharmony_ci external_deps = [ 1285cb7eb8c9Sopenharmony_ci "access_token:libaccesstoken_sdk", 1286cb7eb8c9Sopenharmony_ci "c_utils:utils", 1287cb7eb8c9Sopenharmony_ci "device_manager:devicemanagersdk", 1288cb7eb8c9Sopenharmony_ci "dsoftbus:softbus_client", 1289cb7eb8c9Sopenharmony_ci "hilog:libhilog", 1290cb7eb8c9Sopenharmony_ci "os_account:os_account_innerkits", 1291cb7eb8c9Sopenharmony_ci "zlib:shared_libz", 1292cb7eb8c9Sopenharmony_ci ] 1293cb7eb8c9Sopenharmony_ci 1294cb7eb8c9Sopenharmony_ci defines = [ "private=public" ] 1295cb7eb8c9Sopenharmony_ci} 1296cb7eb8c9Sopenharmony_ci 1297cb7eb8c9Sopenharmony_cigroup("unittest") { 1298cb7eb8c9Sopenharmony_ci testonly = true 1299cb7eb8c9Sopenharmony_ci deps = [ 1300cb7eb8c9Sopenharmony_ci ":device_info_test", 1301cb7eb8c9Sopenharmony_ci ":device_manager_agent_sup_test", 1302cb7eb8c9Sopenharmony_ci ":device_manager_agent_test", 1303cb7eb8c9Sopenharmony_ci ":devsl_dispatcher_test", 1304cb7eb8c9Sopenharmony_ci ":kernel_talker_test", 1305cb7eb8c9Sopenharmony_ci ":os_account_observer_test", 1306cb7eb8c9Sopenharmony_ci ":session_pool_test", 1307cb7eb8c9Sopenharmony_ci ":softbus_agent_test", 1308cb7eb8c9Sopenharmony_ci ":softbus_asset_recv_listener_test", 1309cb7eb8c9Sopenharmony_ci ":softbus_asset_send_listener_test", 1310cb7eb8c9Sopenharmony_ci ":softbus_file_receive_listener_test", 1311cb7eb8c9Sopenharmony_ci ":softbus_file_send_listener_test", 1312cb7eb8c9Sopenharmony_ci ":softbus_handler_asset_test", 1313cb7eb8c9Sopenharmony_ci ":softbus_handler_test", 1314cb7eb8c9Sopenharmony_ci ":softbus_session_dispatcher_test", 1315cb7eb8c9Sopenharmony_ci ":softbus_session_listener_test", 1316cb7eb8c9Sopenharmony_ci ":softbus_session_pool_test", 1317cb7eb8c9Sopenharmony_ci ":softbus_session_test", 1318cb7eb8c9Sopenharmony_ci ] 1319cb7eb8c9Sopenharmony_ci} 1320