1{ 2 "name": "@ohos/memory_utils", 3 "version": "3.1.0", 4 "description": "memory base libraries", 5 "publishAs": "source", 6 "scripts": {}, 7 "author": {}, 8 "repository": "", 9 "license": "Apache License 2.0", 10 "segment": { 11 "destPath": "commonlibrary/memory_utils" 12 }, 13 "component": { 14 "name": "memory_utils", 15 "subsystem": "commonlibrary", 16 "adapted_system_type": [ "standard" ], 17 "rom": "120KB", 18 "ram": "200KB", 19 "deps": { 20 "components": [ 21 "c_utils", 22 "drivers_interface_memorytracker", 23 "hilog", 24 "hitrace", 25 "init", 26 "ipc" 27 ], 28 "third_party": [] 29 }, 30 "build": { 31 "sub_component": [ 32 "//commonlibrary/memory_utils/libdmabufheap:libdmabufheap", 33 "//commonlibrary/memory_utils/libmeminfo:libmeminfo", 34 "//commonlibrary/memory_utils/libpurgeablemem:libpurgeablemem", 35 "//commonlibrary/memory_utils/libpurgeablemem:purgeable_memory_ndk" 36 ], 37 "inner_kits": [ 38 { 39 "name": "//commonlibrary/memory_utils/libdmabufheap:libdmabufheap", 40 "header": { 41 "header_files": [ 42 "dmabuf_alloc.h" 43 ], 44 "header_base": "//commonlibrary/memory_utils/libdmabufheap/include" 45 } 46 }, 47 { 48 "name": "//commonlibrary/memory_utils/libmeminfo:libmeminfo", 49 "header": { 50 "header_files": [ 51 "meminfo.h" 52 ], 53 "header_base": "//commonlibrary/memory_utils/libmeminfo/include" 54 } 55 }, 56 { 57 "name": "//commonlibrary/memory_utils/libpurgeablemem:libpurgeablemem", 58 "header": { 59 "header_files": [ 60 "pm_log.h", 61 "pm_smartptr_util.h", 62 "purgeable_ashmem.h", 63 "purgeable_mem.h", 64 "purgeable_mem_base.h", 65 "purgeable_mem_builder.h", 66 "ux_page_table.h" 67 ], 68 "header_base": "//commonlibrary/memory_utils/libpurgeablemem/cpp/include" 69 } 70 } 71 ], 72 "test": [ 73 "//commonlibrary/memory_utils/libdmabufheap/test:unittest", 74 "//commonlibrary/memory_utils/libmeminfo/test:libmeminfo_test", 75 "//commonlibrary/memory_utils/libpurgeablemem/test:libpurgeablemem_test" 76 ] 77 } 78 } 79} 80