加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
BUILD.gn 4.48 KB
一键复制 编辑 原始数据 按行查看 历史
lvyuanyuan 提交于 2024-11-04 11:26 . add dfs testcase
# Copyright (C) 2021-2024 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import("//build/ohos.gni")
import("//foundation/filemanagement/dfs_service/distributedfile.gni")
group("services_target") {
deps = [
"${services_path}:cloudsyncservice.para",
"${services_path}:cloudsyncservice.para.dac",
"${services_path}:distributed_file.para",
"${services_path}:distributedfile_etc",
"${services_path}:distributedfile_sa_profile",
"${services_path}/clouddisk_database:clouddisk_database",
"${services_path}/cloudfiledaemon:cloudfiledaemon",
"${services_path}/cloudsyncservice:cloudsync_sa",
"${services_path}/distributedfiledaemon:libdistributedfiledaemon",
]
}
group("cloudsync_kit_inner_target") {
deps =
[ "interfaces/inner_api/native/cloudsync_kit_inner:cloudsync_kit_inner" ]
}
group("cloud_daemon_kit_inner_target") {
deps = [
"interfaces/inner_api/native/cloud_daemon_kit_inner:cloud_daemon_kit_inner",
]
}
group("cloud_file_kit_inner_target") {
deps = [ "interfaces/inner_api/native/cloud_file_kit_inner:cloudfile_kit" ]
}
group("cloudsync_asset_kit_inner_target") {
deps = [
"interfaces/inner_api/native/cloudsync_kit_inner:cloudsync_asset_kit_inner",
]
}
group("distributed_file_daemon_kit_inner_target") {
deps = [ "services/distributedfiledaemon:distributed_file_daemon_kit_inner" ]
}
group("dfs_test_moudule") {
testonly = true
deps = [
"${services_path}/distributedfiledaemon/test/unittest:device_info_test",
"${services_path}/distributedfiledaemon/test/unittest:device_manager_agent_sup_test",
"${services_path}/distributedfiledaemon/test/unittest:device_manager_agent_test",
"${services_path}/distributedfiledaemon/test/unittest:devsl_dispatcher_test",
"${services_path}/distributedfiledaemon/test/unittest:kernel_talker_test",
"${services_path}/distributedfiledaemon/test/unittest:os_account_observer_test",
"${services_path}/distributedfiledaemon/test/unittest:session_pool_test",
"${services_path}/distributedfiledaemon/test/unittest:softbus_agent_sup_test",
"${services_path}/distributedfiledaemon/test/unittest:softbus_agent_test",
"${services_path}/distributedfiledaemon/test/unittest:softbus_asset_recv_listener_test",
"${services_path}/distributedfiledaemon/test/unittest:softbus_asset_send_listener_test",
"${services_path}/distributedfiledaemon/test/unittest:softbus_file_receive_listener_test",
"${services_path}/distributedfiledaemon/test/unittest:softbus_file_send_listener_test",
"${services_path}/distributedfiledaemon/test/unittest:softbus_handler_asset_test",
"${services_path}/distributedfiledaemon/test/unittest:softbus_handler_test",
"${services_path}/distributedfiledaemon/test/unittest:softbus_session_dispatcher_test",
"${services_path}/distributedfiledaemon/test/unittest:softbus_session_listener_test",
"${services_path}/distributedfiledaemon/test/unittest:softbus_session_pool_test",
"${services_path}/distributedfiledaemon/test/unittest:softbus_session_test",
"${services_path}/distributedfiledaemon/test/unittest/all_connect:all_connect_manager_test",
"${services_path}/distributedfiledaemon/test/unittest/ipc:asset_callback_manager_test",
"${services_path}/distributedfiledaemon/test/unittest/ipc:asset_recv_callback_proxy_test",
"${services_path}/distributedfiledaemon/test/unittest/ipc:asset_send_callback_proxy_test",
"${services_path}/distributedfiledaemon/test/unittest/ipc/daemon:daemon_test",
"${services_path}/distributedfiledaemon/test/unittest/ipc/daemon_execute:daemon_execute_test",
"${services_path}/distributedfiledaemon/test/unittest/mountpoint:mount_manager_test",
"${services_path}/distributedfiledaemon/test/unittest/mountpoint:mount_point_test",
"test/moduletest:DistributedFileDaemonServiceTest",
]
}
group("cloudsync_test_module") {
testonly = true
deps = [ "test/unittests:cloudsyncunittests" ]
}
group("distributedfile_test_module") {
testonly = true
deps = [ "test/unittests:distributedfileunittests" ]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化