From 45129515f44e3c22cdc39061a745dce73ac7ec22 Mon Sep 17 00:00:00 2001 From: PaDaBoo Date: Sat, 23 Jul 2022 16:03:46 +0800 Subject: [PATCH] build:appdatamgr split to four code warehouse: relational_store,data_share,preferences,kv_store Signed-off-by: PaDaBoo --- kv_store/README_zh.md | 4 ++-- kv_store/bundle.json | 4 ++-- kv_store/interfaces/inner_api/dbm_kv_store/BUILD.gn | 2 +- kv_store/interfaces/inner_api/kv_store/BUILD.gn | 2 +- kv_store/kv_store.gni | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/kv_store/README_zh.md b/kv_store/README_zh.md index b512867a..3a9f47e5 100644 --- a/kv_store/README_zh.md +++ b/kv_store/README_zh.md @@ -12,7 +12,7 @@ ## 目录 ``` -//foundation/distributeddatamgr/appdatamgr/kv_store +//foundation/distributeddatamgr/kv_store ├── frameworks # 框架层代码 │ └── js # JS API的实现 │ │ └── napi # napi代码实现 @@ -34,6 +34,6 @@ - [分布式数据管理子系统](https://gitee.com/openharmony/docs/blob/master/zh-cn/readme/%E5%88%86%E5%B8%83%E5%BC%8F%E6%95%B0%E6%8D%AE%E7%AE%A1%E7%90%86%E5%AD%90%E7%B3%BB%E7%BB%9F.md) -- [**distributeddatamgr\_appdatamgr**](https://gitee.com/openharmony/distributeddatamgr_appdatamgr/blob/master/README_zh.md) +- [**distributeddatamgr\_kv_store**](https://gitee.com/openharmony/distributeddatamgr_kv_store/blob/master/README_zh.md) - [third\_party\_sqlite](https://gitee.com/openharmony/third_party_sqlite) \ No newline at end of file diff --git a/kv_store/bundle.json b/kv_store/bundle.json index e588e767..a0f79815 100644 --- a/kv_store/bundle.json +++ b/kv_store/bundle.json @@ -5,7 +5,7 @@ "description": "", "publishAs": "code-segment", "segment": { - "destPath": "foundation/distributeddatamgr/appdatamgr/kv_store/interfaces/inner_api/kv_store" + "destPath": "foundation/distributeddatamgr/kv_store/interfaces/inner_api/kv_store" }, "dirs": {}, "scripts": {}, @@ -28,7 +28,7 @@ ] }, "build": { - "sub_component": [ "//foundation/distributeddatamgr/appdatamgr/kv_store/interfaces/inner_api/kv_store" ], + "sub_component": [ "//foundation/distributeddatamgr/kv_store/interfaces/inner_api/kv_store" ], "inner_kits": [], "test": [] } diff --git a/kv_store/interfaces/inner_api/dbm_kv_store/BUILD.gn b/kv_store/interfaces/inner_api/dbm_kv_store/BUILD.gn index 9ced429b..747854ed 100644 --- a/kv_store/interfaces/inner_api/dbm_kv_store/BUILD.gn +++ b/kv_store/interfaces/inner_api/dbm_kv_store/BUILD.gn @@ -12,7 +12,7 @@ # limitations under the License. import("//build/lite/config/component/lite_component.gni") -import("//foundation/distributeddatamgr/appdatamgr/kv_store/kv_store.gni") +import("//foundation/distributeddatamgr/kv_store/kv_store.gni") if (ohos_kernel_type == "liteos_m") { static_library("foundation_dbm_kv_store") { sources = [ "${kv_store_native_path}/dbm_kv_store/src/kv_store_impl_hal/dbm_kv_store.c" ] diff --git a/kv_store/interfaces/inner_api/kv_store/BUILD.gn b/kv_store/interfaces/inner_api/kv_store/BUILD.gn index 4d293ec8..5ce8a5bc 100644 --- a/kv_store/interfaces/inner_api/kv_store/BUILD.gn +++ b/kv_store/interfaces/inner_api/kv_store/BUILD.gn @@ -12,7 +12,7 @@ # limitations under the License. import("//build/lite/config/component/lite_component.gni") -import("//foundation/distributeddatamgr/appdatamgr/kv_store/kv_store.gni") +import("//foundation/distributeddatamgr/kv_store/kv_store.gni") declare_args() { enable_ohos_utils_native_lite_kv_store_use_posix_kv_api = true diff --git a/kv_store/kv_store.gni b/kv_store/kv_store.gni index afbe1fc3..0250a1d9 100644 --- a/kv_store/kv_store.gni +++ b/kv_store/kv_store.gni @@ -11,7 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -kv_store_base_path = "//foundation/distributeddatamgr/appdatamgr/kv_store" +kv_store_base_path = "//foundation/distributeddatamgr/kv_store" kv_store_native_path = "${kv_store_base_path}/frameworks/native"