• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2022 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.
13import("//build/ohos_var.gni")
14group("distributeddatatest") {
15  testonly = true
16  if (is_standard_system) {
17    deps = [
18      ":disDataProcess",
19      "distributed_kv_store:DctsdisDataTest",
20      "jstest/distributed_kv_store/client/hap:distributekvdisjs_test",
21      "jstest/distributed_kv_store/server/hap:distributekvdisjs_server",
22    ]
23  }
24}
25
26shared_library("disDataProcess") {
27  #module_out_path = module_output_path
28  #
29  sources = [ "./process_common/process_msg.cpp" ]
30
31  visibility = [ ":*" ]
32
33  include_dirs = [
34    "//foundation/distributeddatamgr/distributeddatamgr/frameworks/innerkitsimpl/distributeddatafwk/include",
35    "//foundation/distributeddatamgr/distributeddatamgr/frameworks/innerkitsimpl/distributeddatafwk/src",
36    "//foundation/distributeddatamgr/distributeddatamgr/interfaces/innerkits/app_distributeddata/include",
37    "//foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/adapter/include/permission",
38    "//foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/adapter/include/account",
39    "//foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/adapter/include",
40    "//foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/adapter/include/broadcaster",
41    "//foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/adapter/include/utils",
42    "//utils/native/base/include",
43    "//utils/system/safwk/native/ include",
44    "../include",
45    "../../../../interfaces/innerkits/distributeddata",
46    "//third_party/json/single_include",
47    "//base/powermgr/power_manager/interfaces/innerkits/native/include",
48    "../../common",
49    "../common",
50  ]
51
52  deps = [
53    "//foundation/distributeddatamgr/distributeddatamgr/interfaces/innerkits/distributeddata:distributeddata_inner",
54    "//foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/adapter:distributeddata_adapter",
55    "//foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb:distributeddb",
56    "//utils/native/base:utils",
57  ]
58}
59