1# Copyright (C) 2021-2023 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/ohos.gni") 15import("//foundation/filemanagement/dfs_service/distributedfile.gni") 16 17group("services_target") { 18 deps = [ 19 "${services_path}:distributed_file.para", 20 "${services_path}:distributedfile_etc", 21 "${services_path}:distributedfile_sa_profile", 22 "${services_path}/cloudfiledaemon:cloudfiledaemon", 23 "${services_path}/cloudsyncservice:cloudsync_sa", 24 "${services_path}/distributedfiledaemon:libdistributedfiledaemon", 25 ] 26} 27 28group("cloudsync_kit_inner_target") { 29 deps = 30 [ "interfaces/inner_api/native/cloudsync_kit_inner:cloudsync_kit_inner" ] 31} 32 33group("cloud_daemon_kit_inner_target") { 34 deps = [ 35 "interfaces/inner_api/native/cloud_daemon_kit_inner:cloud_daemon_kit_inner", 36 ] 37} 38 39group("cloudsync_asset_kit_inner_target") { 40 deps = [ 41 "interfaces/inner_api/native/cloudsync_kit_inner:cloudsync_asset_kit_inner", 42 ] 43} 44 45group("distributed_file_daemon_kit_inner_target") { 46 deps = [ "services/distributedfiledaemon:distributed_file_daemon_kit_inner" ] 47} 48 49group("dfs_test_moudule") { 50 testonly = true 51 deps = [ 52 "${services_path}/distributedfiledaemon/test/unittest:device_manager_agent_test", 53 "${services_path}/distributedfiledaemon/test/unittest:devsl_dispatcher_test", 54 "${services_path}/distributedfiledaemon/test/unittest:kernel_talker_test", 55 "${services_path}/distributedfiledaemon/test/unittest:os_account_observer_test", 56 "${services_path}/distributedfiledaemon/test/unittest:session_pool_test", 57 "${services_path}/distributedfiledaemon/test/unittest:softbus_agent_test", 58 "${services_path}/distributedfiledaemon/test/unittest:softbus_session_dispatcher_test", 59 "${services_path}/distributedfiledaemon/test/unittest:softbus_session_test", 60 "test/moduletest:DistributedFileDaemonServiceTest", 61 ] 62} 63 64group("cloudsync_test_module") { 65 testonly = true 66 deps = [ "test/unittests:cloudsyncunittests" ] 67} 68 69group("distributedfile_test_module") { 70 testonly = true 71 deps = [ "test/unittests:distributedfileunittests" ] 72} 73