diff --git a/README.md b/README.md
index 1f4c69f2b980c2af750a5c9a4b83960d84d280fa..9e7e3a00de888d1cbaa009676eb49094d7d4bb4a 100644
--- a/README.md
+++ b/README.md
@@ -72,7 +72,7 @@ It provides management interfaces for speculative-type memory. It is mainly used
System developers can add or remove this part by configuring the product definition JSON file under **/productdefine/common/products** to enable or disable this part:
-` "utils:utils_memory":{} `
+` "commonlibrary:memory_utils":{} `
## Repositories Involved
diff --git a/README_ZH.md b/README_ZH.md
index b69b35f0ca41f5fff97f84d7cb362110b6dcd0c5..f03a8ba3143c97c4d3684744ae3307d52b60a616 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -73,7 +73,7 @@
系统开发者可以通过配置productdefine/common/products下的产品定义json文件,增加或移除本部件,来启用或停用本部件。
-` "utils:utils_memory":{} `
+` "commonlibrary:memory_utils":{} `
## 相关仓
diff --git a/bundle.json b/bundle.json
index 17cce0ae6a7c323969898ffa939453b8266674c1..f2e5f75c844b214de5476fb1e9a4afe90092cea1 100644
--- a/bundle.json
+++ b/bundle.json
@@ -1,5 +1,5 @@
{
- "name": "@ohos/utils_memory",
+ "name": "@ohos/commonlibrary_memory_utils",
"version": "3.1.0",
"description": "memory base libraries",
"publishAs": "source",
@@ -8,8 +8,8 @@
"repository": "",
"license": "Apache License 2.0",
"component": {
- "name": "utils_memory",
- "subsystem": "utils",
+ "name": "memory_utils",
+ "subsystem": "commonlibrary",
"adapted_system_type": [ "standard" ],
"deps": {
"components": [
@@ -20,13 +20,13 @@
},
"build": {
"sub_component": [
- "//utils/memory/libdmabufheap:libdmabufheap",
- "//utils/memory/libpurgeablemem:libpurgeablemem"
+ "//commonlibrary/memory_utils/libdmabufheap:libdmabufheap",
+ "//commonlibrary/memory_utils/libpurgeablemem:libpurgeablemem"
],
"inner_kits": [],
"test": [
- "//utils/memory/libdmabufheap/test:unittest",
- "//utils/memory/libpurgeablemem/test:libpurgeablemem_test"
+ "//commonlibrary/memory_utils/libdmabufheap/test:unittest",
+ "//commonlibrary/memory_utils/libpurgeablemem/test:libpurgeablemem_test"
]
}
}
diff --git a/libdmabufheap/BUILD.gn b/libdmabufheap/BUILD.gn
index ea42273c8bca5823992ad8116bd7cd8ee241c9e3..4237dc164a840dff8e704ebc6cd220ac6b546182 100644
--- a/libdmabufheap/BUILD.gn
+++ b/libdmabufheap/BUILD.gn
@@ -25,6 +25,6 @@ ohos_shared_library("libdmabufheap") {
"hiviewdfx_hilog_native:libhilog",
]
public_configs = [ ":libdmabufheap_config" ]
- subsystem_name = "utils"
- part_name = "utils_memory"
+ subsystem_name = "commonlibrary"
+ part_name = "memory_utils"
}
diff --git a/libdmabufheap/test/BUILD.gn b/libdmabufheap/test/BUILD.gn
index 7aceed651fcaed978b857f570ed93a089c2e5fcb..55dad046c7dae372ba7d8baf00d0526f77d13fd4 100644
--- a/libdmabufheap/test/BUILD.gn
+++ b/libdmabufheap/test/BUILD.gn
@@ -18,7 +18,7 @@ module_output_path = "libdmabufheap/"
ohos_unittest("DmabufAllocTest") {
module_out_path = module_output_path
sources = [ "unittest/libdmabufheap/dmabuf_alloc_test.cpp" ]
- deps = [ "//utils/memory/libdmabufheap:libdmabufheap" ]
+ deps = [ "//commonlibrary/memory_utils/libdmabufheap:libdmabufheap" ]
external_deps = [ "c_utils:utils" ]
}
diff --git a/libpurgeablemem/BUILD.gn b/libpurgeablemem/BUILD.gn
index a43d62f2166b67d19e01810d50259d82ae8cbb62..41f682f328d0d3721439e2ae51c21c1de4fb7217 100644
--- a/libpurgeablemem/BUILD.gn
+++ b/libpurgeablemem/BUILD.gn
@@ -38,6 +38,6 @@ ohos_shared_library("libpurgeablemem") {
"hiviewdfx_hilog_native:libhilog",
]
public_configs = [ ":libpurgeable_config" ]
- subsystem_name = "utils"
- part_name = "utils_memory"
+ subsystem_name = "commonlibrary"
+ part_name = "memory_utils"
}
diff --git a/libpurgeablemem/test/BUILD.gn b/libpurgeablemem/test/BUILD.gn
index a63819128d49dee7cc392a18b8961eb50da552dd..5bc7e9d87a5ca4357ac1b8e59a64964c92b9307a 100644
--- a/libpurgeablemem/test/BUILD.gn
+++ b/libpurgeablemem/test/BUILD.gn
@@ -19,7 +19,7 @@ module_output_path = "libpurgeablemem/"
purgeable_deps = [
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog",
- "//utils/memory/libpurgeablemem:libpurgeablemem",
+ "//commonlibrary/memory_utils/libpurgeablemem:libpurgeablemem",
]
purgeable_external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
@@ -35,8 +35,8 @@ ohos_unittest("purgeable_c_test") {
public_deps = purgeable_public_deps
}
- subsystem_name = "utils"
- part_name = "utils_memory"
+ subsystem_name = "commonlibrary"
+ part_name = "memory_utils"
}
ohos_unittest("purgeable_cpp_test") {
@@ -48,8 +48,8 @@ ohos_unittest("purgeable_cpp_test") {
public_deps = purgeable_public_deps
}
- subsystem_name = "utils"
- part_name = "utils_memory"
+ subsystem_name = "commonlibrary"
+ part_name = "memory_utils"
}
group("libpurgeablemem_test") {