2022-02-23 03:49:49 +00:00
|
|
|
{
|
2023-04-25 06:26:03 +00:00
|
|
|
"name": "@ohos/memory_utils",
|
2022-02-23 03:49:49 +00:00
|
|
|
"version": "3.1.0",
|
|
|
|
"description": "memory base libraries",
|
|
|
|
"publishAs": "source",
|
|
|
|
"scripts": {},
|
|
|
|
"author": {},
|
|
|
|
"repository": "",
|
|
|
|
"license": "Apache License 2.0",
|
2022-10-08 10:29:50 +00:00
|
|
|
"segment": {
|
|
|
|
"destPath": "commonlibrary/memory_utils"
|
|
|
|
},
|
2022-02-23 03:49:49 +00:00
|
|
|
"component": {
|
2022-09-26 11:59:36 +00:00
|
|
|
"name": "memory_utils",
|
2022-09-15 03:22:36 +00:00
|
|
|
"subsystem": "commonlibrary",
|
2022-02-23 03:49:49 +00:00
|
|
|
"adapted_system_type": [ "standard" ],
|
2023-04-25 06:26:03 +00:00
|
|
|
"rom": "120KB",
|
|
|
|
"ram": "200KB",
|
2022-02-23 03:49:49 +00:00
|
|
|
"deps": {
|
|
|
|
"components": [
|
2022-07-26 07:34:34 +00:00
|
|
|
"c_utils",
|
2023-06-13 06:31:29 +00:00
|
|
|
"drivers_interface_memorytracker",
|
2023-06-19 09:28:25 +00:00
|
|
|
"hilog",
|
2023-06-20 12:27:24 +00:00
|
|
|
"hitrace",
|
2023-06-13 06:31:29 +00:00
|
|
|
"init",
|
2023-09-27 01:59:48 +00:00
|
|
|
"ipc"
|
2022-02-23 03:49:49 +00:00
|
|
|
],
|
|
|
|
"third_party": []
|
|
|
|
},
|
|
|
|
"build": {
|
|
|
|
"sub_component": [
|
2022-09-26 11:59:36 +00:00
|
|
|
"//commonlibrary/memory_utils/libdmabufheap:libdmabufheap",
|
2023-06-13 06:31:29 +00:00
|
|
|
"//commonlibrary/memory_utils/libmeminfo:libmeminfo",
|
2023-05-25 13:12:36 +00:00
|
|
|
"//commonlibrary/memory_utils/libpurgeablemem:libpurgeablemem",
|
2024-06-05 03:16:09 +00:00
|
|
|
"//commonlibrary/memory_utils/libsync:libsync",
|
2023-08-16 09:02:48 +00:00
|
|
|
"//commonlibrary/memory_utils/libpurgeablemem:purgeable_memory_ndk"
|
2022-02-23 03:49:49 +00:00
|
|
|
],
|
2023-04-23 02:16:39 +00:00
|
|
|
"inner_kits": [
|
|
|
|
{
|
|
|
|
"name": "//commonlibrary/memory_utils/libdmabufheap:libdmabufheap",
|
|
|
|
"header": {
|
|
|
|
"header_files": [
|
|
|
|
"dmabuf_alloc.h"
|
|
|
|
],
|
|
|
|
"header_base": "//commonlibrary/memory_utils/libdmabufheap/include"
|
|
|
|
}
|
|
|
|
},
|
2023-06-13 06:31:29 +00:00
|
|
|
{
|
2023-06-12 09:27:22 +00:00
|
|
|
"name": "//commonlibrary/memory_utils/libmeminfo:libmeminfo",
|
|
|
|
"header": {
|
|
|
|
"header_files": [
|
|
|
|
"meminfo.h"
|
|
|
|
],
|
|
|
|
"header_base": "//commonlibrary/memory_utils/libmeminfo/include"
|
|
|
|
}
|
|
|
|
},
|
2024-06-05 03:16:09 +00:00
|
|
|
{
|
|
|
|
"name": "//commonlibrary/memory_utils/libsync:libsync",
|
|
|
|
"header": {
|
|
|
|
"header_files": [
|
|
|
|
"sync.h"
|
|
|
|
],
|
|
|
|
"header_base": "//commonlibrary/memory_utils/libsync/include"
|
|
|
|
}
|
|
|
|
},
|
2023-04-23 02:16:39 +00:00
|
|
|
{
|
|
|
|
"name": "//commonlibrary/memory_utils/libpurgeablemem:libpurgeablemem",
|
|
|
|
"header": {
|
|
|
|
"header_files": [
|
2023-06-02 03:42:26 +00:00
|
|
|
"pm_log.h",
|
|
|
|
"pm_smartptr_util.h",
|
|
|
|
"purgeable_ashmem.h",
|
|
|
|
"purgeable_mem.h",
|
|
|
|
"purgeable_mem_base.h",
|
|
|
|
"purgeable_mem_builder.h",
|
|
|
|
"ux_page_table.h"
|
2023-04-23 02:16:39 +00:00
|
|
|
],
|
2023-06-02 03:42:26 +00:00
|
|
|
"header_base": "//commonlibrary/memory_utils/libpurgeablemem/cpp/include"
|
2023-04-23 02:16:39 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2022-02-23 03:49:49 +00:00
|
|
|
"test": [
|
2022-09-26 11:59:36 +00:00
|
|
|
"//commonlibrary/memory_utils/libdmabufheap/test:unittest",
|
2023-06-13 06:31:29 +00:00
|
|
|
"//commonlibrary/memory_utils/libmeminfo/test:libmeminfo_test",
|
2022-09-26 11:59:36 +00:00
|
|
|
"//commonlibrary/memory_utils/libpurgeablemem/test:libpurgeablemem_test"
|
2022-02-23 03:49:49 +00:00
|
|
|
]
|
2024-05-25 08:57:02 +00:00
|
|
|
},
|
|
|
|
"features": [
|
|
|
|
"memory_utils_purgeable_ashmem_enable"
|
|
|
|
]
|
2022-02-23 03:49:49 +00:00
|
|
|
}
|
2022-05-23 12:55:18 +00:00
|
|
|
}
|