• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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}/clouddisk_database:clouddisk_database",
23    "${services_path}/cloudfiledaemon:cloudfiledaemon",
24    "${services_path}/cloudsyncservice:cloudsync_sa",
25    "${services_path}/distributedfiledaemon:libdistributedfiledaemon",
26  ]
27}
28
29group("cloudsync_kit_inner_target") {
30  deps =
31      [ "interfaces/inner_api/native/cloudsync_kit_inner:cloudsync_kit_inner" ]
32}
33
34group("cloud_daemon_kit_inner_target") {
35  deps = [
36    "interfaces/inner_api/native/cloud_daemon_kit_inner:cloud_daemon_kit_inner",
37  ]
38}
39
40group("cloudsync_asset_kit_inner_target") {
41  deps = [
42    "interfaces/inner_api/native/cloudsync_kit_inner:cloudsync_asset_kit_inner",
43  ]
44}
45
46group("distributed_file_daemon_kit_inner_target") {
47  deps = [ "services/distributedfiledaemon:distributed_file_daemon_kit_inner" ]
48}
49
50group("dfs_test_moudule") {
51  testonly = true
52  deps = [
53    "${services_path}/distributedfiledaemon/test/unittest:device_manager_agent_test",
54    "${services_path}/distributedfiledaemon/test/unittest:devsl_dispatcher_test",
55    "${services_path}/distributedfiledaemon/test/unittest:os_account_observer_test",
56    "${services_path}/distributedfiledaemon/test/unittest:softbus_agent_test",
57    "${services_path}/distributedfiledaemon/test/unittest:softbus_session_dispatcher_test",
58    "${services_path}/distributedfiledaemon/test/unittest:softbus_session_test",
59    "test/moduletest:DistributedFileDaemonServiceTest",
60  ]
61}
62
63group("cloudsync_test_module") {
64  testonly = true
65  deps = [ "test/unittests:cloudsyncunittests" ]
66}
67
68group("distributedfile_test_module") {
69  testonly = true
70  deps = [ "test/unittests:distributedfileunittests" ]
71}
72