xts_dcts/distributeddatamgr/BUILD.gn
wangkai 5573ef67a6 部件化修改
Signed-off-by: wangkai <wangkai424@huawei.com>
2022-08-20 15:02:08 +08:00

61 lines
2.7 KiB
Plaintext

# Copyright (C) 2022 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_var.gni")
group("distributeddatatest") {
testonly = true
if (is_standard_system) {
deps = [
":disDataProcess",
"../server/disServer:disTest",
"cpptest/distributed_kv_store:DctsdisDataTest",
"jstest/distributed_kv_store/client/hap:distributekvdisjs_test",
"jstest/distributed_kv_store/server/hap:distributekvdisjs_server",
]
}
}
shared_library("disDataProcess") {
#module_out_path = module_output_path
#
sources = [ "./cpptest/process_common/process_msg.cpp" ]
visibility = [ ":*" ]
include_dirs = [
"//foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/include/permission",
"//foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/include/account",
"//foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/include",
"//foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/include/broadcaster",
"//foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/include/utils",
"//foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/include",
"//foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src",
"//foundation/distributeddatamgr/kv_store/interfaces/innerkits/app_distributeddata/include",
"//commonlibrary/c_utils/base/include",
"//utils/system/safwk/native/ include",
"../include",
"../../../../interfaces/innerkits/distributeddata",
"//third_party/json/single_include",
"//base/powermgr/power_manager/interfaces/innerkits/native/include",
"../../common",
"../common",
]
deps = [
"//foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter:distributeddata_adapter",
"//foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata:distributeddata_inner",
"//foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/distributeddb:distributeddb",
]
external_deps = [ "c_utils:utils" ]
}