xts_dcts/distributeddatamgr/distributed_kv_store/BUILD.gn
yanglei1217 81e269a65d <yanglifeng5@huawei.com>
Signed-off-by: yanglei1217 <yanglifeng5@huawei.com>
2022-03-19 11:02:48 +08:00

63 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("//test/xts/tools/build/suite.gni")
module_output_path = "dcts/distributeddatamgr"
###############################################################################################
config("module_private_config") {
visibility = [ ":*" ]
include_dirs = [
"//foundation/distributeddatamgr/distributeddatamgr/frameworks/innerkitsimpl/distributeddatafwk/include",
"//foundation/distributeddatamgr/distributeddatamgr/frameworks/innerkitsimpl/distributeddatafwk/src",
"//foundation/distributeddatamgr/distributeddatamgr/interfaces/innerkits/app_distributeddata/include",
"//foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/adapter/include/permission",
"//foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/adapter/include/account",
"//foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/adapter/include",
"//foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/adapter/include/broadcaster",
"//foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/adapter/include/utils",
"//utils/native/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",
]
}
ohos_moduletest_suite("DctsdisDataTest") {
module_out_path = module_output_path
sources = [
"../../common/shm_utils.cpp",
"./disdata_func_test.cpp",
]
configs = [ ":module_private_config" ]
deps = [
"//foundation/distributeddatamgr/distributeddatamgr/interfaces/innerkits/distributeddata:distributeddata_inner",
"//foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/adapter:distributeddata_adapter",
"//third_party/googletest:gtest_main",
"//utils/native/base:utils",
]
external_deps = [
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
"permission_standard:libpermissionsdk_standard",
]
}
###########################################################################################