From 2b0c159ff12573e242b6a55f2e51c5529ff9ca54 Mon Sep 17 00:00:00 2001 From: yuxiaoya2 Date: Fri, 5 May 2023 15:58:52 +0800 Subject: [PATCH] =?UTF-8?q?distributeddatamgr=5Flite=E9=83=A8=E4=BB=B6?= =?UTF-8?q?=E5=8C=96=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yuxiaoya2 Change-Id: I521ad65ac101a976159318c6b8350ba80f4d941c --- distributeddatamgr_lite/dbm_kv_store_hal/BUILD.gn | 6 ++++-- distributeddatamgr_lite/kv_store_hal/BUILD.gn | 6 ++++-- distributeddatamgr_lite/kv_store_posix/BUILD.gn | 7 ++++--- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/distributeddatamgr_lite/dbm_kv_store_hal/BUILD.gn b/distributeddatamgr_lite/dbm_kv_store_hal/BUILD.gn index 2134b3463..ffb624b5c 100644 --- a/distributeddatamgr_lite/dbm_kv_store_hal/BUILD.gn +++ b/distributeddatamgr_lite/dbm_kv_store_hal/BUILD.gn @@ -19,8 +19,10 @@ hctest_suite("ActsDbmKvStoreTest") { include_dirs = [ "src", - "//foundation/distributeddatamgr/kv_store/interfaces/innerkits/dbm_kv_store/include", - "//base/iothardware/peripheral/interfaces/inner_api", ] cflags = [ "-Wno-error" ] + external_deps = [ + "iothardware_peripheral:iothardware", + "distributeddatamgr_kv_store:dbm_kv_store", + ] } diff --git a/distributeddatamgr_lite/kv_store_hal/BUILD.gn b/distributeddatamgr_lite/kv_store_hal/BUILD.gn index f95811151..93ae08e45 100755 --- a/distributeddatamgr_lite/kv_store_hal/BUILD.gn +++ b/distributeddatamgr_lite/kv_store_hal/BUILD.gn @@ -23,10 +23,12 @@ hctest_suite("ActsKvStoreTest") { include_dirs = [ "src", - "//commonlibrary/utils_lite/include", - "//base/iothardware/peripheral/interfaces/inner_api", ] cflags = [ "-Wno-error" ] defines = [ "DATA_PATH=\"${config_ohos_xts_acts_utils_lite_kv_store_data_path}\"" ] + external_deps = [ + "utils_lite:utils", + "iothardware_peripheral:iothardware", + ] } diff --git a/distributeddatamgr_lite/kv_store_posix/BUILD.gn b/distributeddatamgr_lite/kv_store_posix/BUILD.gn index 910e01ab9..57e4c1b58 100755 --- a/distributeddatamgr_lite/kv_store_posix/BUILD.gn +++ b/distributeddatamgr_lite/kv_store_posix/BUILD.gn @@ -19,15 +19,16 @@ hcpptest_suite("ActsKvStoreTest") { include_dirs = [ "src", - "//foundation/distributeddatamgr/kv_store/interfaces/inner_api/kv_store/include", "//third_party/bounds_checking_function/include", - "//commonlibrary/utils_lite/include", ] - deps = [ "//foundation/distributeddatamgr/kv_store/interfaces/inner_api/kv_store:kv_store" ] cflags = [ "-Wno-error" ] ldflags = [ "-lstdc++", "-lm", "-lpthread", ] + external_deps = [ + "utils_lite:utils", + "distributeddatamgr_kv_store:kv_store", + ] } -- GitLab