From e2859b2302168b729bc2df8ea04768f6cb83a4e4 Mon Sep 17 00:00:00 2001 From: ql Date: Tue, 19 Jul 2022 16:01:10 +0800 Subject: [PATCH] mv dms Signed-off-by: ql Change-Id: I22c370a5a4b1760b45d4c6664a1eee5b1b473fa0 --- README.md | 2 +- README_zh.md | 2 +- bundle.json | 12 ++++++------ moduletest/dtbschedmgr_lite/BUILD.gn | 22 +++++++++++----------- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index dd9a5cd..67f8e89 100755 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ The source code directory structure of the Distributed Scheduler is as follows: The code of the Distributed Scheduler is stored in the following directory: ``` -foundation/distributedschedule/dmsfwk_lite +foundation/ability/dmsfwk_lite ``` When compiling and building the code for a specific platform, you need to specify the target platform. diff --git a/README_zh.md b/README_zh.md index 497eb8b..0b87524 100755 --- a/README_zh.md +++ b/README_zh.md @@ -84,7 +84,7 @@ 分布式任务调度模块,其代码所在目录如下: ``` -foundation/distributedschedule/dmsfwk_lite +foundation/ability/dmsfwk_lite ``` 在针对不同平台进行编译时,需要提前指定目标平台: diff --git a/bundle.json b/bundle.json index 972bae5..93d2102 100644 --- a/bundle.json +++ b/bundle.json @@ -7,13 +7,13 @@ "repository": "https://gitee.com/openharmony/distributedschedule_dms_fwk_lite", "publishAs": "code-segment", "segment": { - "destPath": "foundation/distributedschedule/dmsfwk_lite" + "destPath": "foundation/ability/dmsfwk_lite" }, "dirs": {}, "scripts": {}, "component": { "name": "dmsfwk_lite", - "subsystem": "distributedschedule", + "subsystem": "ability", "adapted_system_type": [ "small" ], @@ -36,18 +36,18 @@ }, "build": { "sub_component": [ - "//foundation/distributedschedule/dmsfwk_lite:dtbschedmgr", - "//foundation/distributedschedule/dmsfwk_lite/moduletest/dtbschedmgr_lite:distributed_schedule_test_dms_door" + "//foundation/ability/dmsfwk_lite:dtbschedmgr", + "//foundation/ability/dmsfwk_lite/moduletest/dtbschedmgr_lite:distributed_schedule_test_dms_door" ], "inner_kits": [ { "header": { - "header_base": "foundation/distributedschedule/dmsfwk_lite/interfaces/innerkits/", + "header_base": "foundation/ability/dmsfwk_lite/interfaces/innerkits/", "header_files": [ "dmsfwk_interface.h" ] }, - "name": "//foundation/distributedschedule/dmsfwk_lite:dtbschedmgr" + "name": "//foundation/ability/dmsfwk_lite:dtbschedmgr" } ] } diff --git a/moduletest/dtbschedmgr_lite/BUILD.gn b/moduletest/dtbschedmgr_lite/BUILD.gn index b17bc75..73aa259 100644 --- a/moduletest/dtbschedmgr_lite/BUILD.gn +++ b/moduletest/dtbschedmgr_lite/BUILD.gn @@ -19,14 +19,14 @@ if (ohos_kernel_type == "liteos_a" || ohos_kernel_type == "linux") { unittest("distributed_schedule_test_dms_door") { output_extension = "bin" sources = [ - "//foundation/distributedschedule/dmsfwk_lite/source/dmslite_famgr.c", - "//foundation/distributedschedule/dmsfwk_lite/source/dmslite_feature.c", - "//foundation/distributedschedule/dmsfwk_lite/source/dmslite_msg_handler.c", - "//foundation/distributedschedule/dmsfwk_lite/source/dmslite_packet.c", - "//foundation/distributedschedule/dmsfwk_lite/source/dmslite_parser.c", - "//foundation/distributedschedule/dmsfwk_lite/source/dmslite_permission.c", - "//foundation/distributedschedule/dmsfwk_lite/source/dmslite_session.c", - "//foundation/distributedschedule/dmsfwk_lite/source/dmslite_tlv_common.c", + "//foundation/ability/dmsfwk_lite/source/dmslite_famgr.c", + "//foundation/ability/dmsfwk_lite/source/dmslite_feature.c", + "//foundation/ability/dmsfwk_lite/source/dmslite_msg_handler.c", + "//foundation/ability/dmsfwk_lite/source/dmslite_packet.c", + "//foundation/ability/dmsfwk_lite/source/dmslite_parser.c", + "//foundation/ability/dmsfwk_lite/source/dmslite_permission.c", + "//foundation/ability/dmsfwk_lite/source/dmslite_session.c", + "//foundation/ability/dmsfwk_lite/source/dmslite_tlv_common.c", "source/famgr_test.cpp", "source/permission_test.cpp", "source/tlv_parse_test.cpp", @@ -45,8 +45,8 @@ if (ohos_kernel_type == "liteos_a" || ohos_kernel_type == "linux") { "//foundation/communication/dsoftbus/interfaces/kits/bus_center", "//foundation/communication/dsoftbus/interfaces/kits/common", "//foundation/communication/dsoftbus/interfaces/kits/transport", - "//foundation/distributedschedule/dmsfwk_lite/include", - "//foundation/distributedschedule/dmsfwk_lite/interfaces/innerkits", + "//foundation/ability/dmsfwk_lite/include", + "//foundation/ability/dmsfwk_lite/interfaces/innerkits", ] deps = [ @@ -57,7 +57,7 @@ if (ohos_kernel_type == "liteos_a" || ohos_kernel_type == "linux") { "//foundation/distributedschedule/samgr_lite/samgr:samgr", ] - output_dir = "$root_out_dir/test/unittest/distributedschedule" + output_dir = "$root_out_dir/test/unittest/ability" } group("unittest") { deps = [ ":distributed_schedule_test_dms_door" ]