mirror of
https://gitee.com/openharmony/commonlibrary_memory_utils
synced 2024-11-27 09:21:58 +00:00
293c70a7e9
Signed-off-by: zhoumengjie <zhoumengjie7@huawei.com> Change-Id: I07fec3db1f815aba25990e4b3b59239843b0a5d3
81 lines
2.3 KiB
JSON
81 lines
2.3 KiB
JSON
{
|
|
"name": "@ohos/memory_utils",
|
|
"version": "3.1.0",
|
|
"description": "memory base libraries",
|
|
"publishAs": "source",
|
|
"scripts": {},
|
|
"author": {},
|
|
"repository": "",
|
|
"license": "Apache License 2.0",
|
|
"segment": {
|
|
"destPath": "commonlibrary/memory_utils"
|
|
},
|
|
"component": {
|
|
"name": "memory_utils",
|
|
"subsystem": "commonlibrary",
|
|
"adapted_system_type": [ "standard" ],
|
|
"rom": "120KB",
|
|
"ram": "200KB",
|
|
"deps": {
|
|
"components": [
|
|
"c_utils",
|
|
"drivers_interface_memorytracker",
|
|
"hilog",
|
|
"hitrace",
|
|
"init",
|
|
"ipc",
|
|
"ffrt"
|
|
],
|
|
"third_party": []
|
|
},
|
|
"build": {
|
|
"sub_component": [
|
|
"//commonlibrary/memory_utils/libdmabufheap:libdmabufheap",
|
|
"//commonlibrary/memory_utils/libmeminfo:libmeminfo",
|
|
"//commonlibrary/memory_utils/libpurgeablemem:libpurgeablemem",
|
|
"//commonlibrary/memory_utils/libpurgeablemem:purgeable_memory_ndk"
|
|
],
|
|
"inner_kits": [
|
|
{
|
|
"name": "//commonlibrary/memory_utils/libdmabufheap:libdmabufheap",
|
|
"header": {
|
|
"header_files": [
|
|
"dmabuf_alloc.h"
|
|
],
|
|
"header_base": "//commonlibrary/memory_utils/libdmabufheap/include"
|
|
}
|
|
},
|
|
{
|
|
"name": "//commonlibrary/memory_utils/libmeminfo:libmeminfo",
|
|
"header": {
|
|
"header_files": [
|
|
"meminfo.h"
|
|
],
|
|
"header_base": "//commonlibrary/memory_utils/libmeminfo/include"
|
|
}
|
|
},
|
|
{
|
|
"name": "//commonlibrary/memory_utils/libpurgeablemem:libpurgeablemem",
|
|
"header": {
|
|
"header_files": [
|
|
"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"
|
|
],
|
|
"header_base": "//commonlibrary/memory_utils/libpurgeablemem/cpp/include"
|
|
}
|
|
}
|
|
],
|
|
"test": [
|
|
"//commonlibrary/memory_utils/libdmabufheap/test:unittest",
|
|
"//commonlibrary/memory_utils/libmeminfo/test:libmeminfo_test",
|
|
"//commonlibrary/memory_utils/libpurgeablemem/test:libpurgeablemem_test"
|
|
]
|
|
}
|
|
}
|
|
}
|