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 "image_framework", 28 "ffrt" 29 ], 30 "third_party": [] 31 }, 32 "build": { 33 "sub_component": [ 34 "//commonlibrary/memory_utils/libdmabufheap:libdmabufheap", 35 "//commonlibrary/memory_utils/libmeminfo:libmeminfo", 36 "//commonlibrary/memory_utils/libpurgeablemem:libpurgeablemem", 37 "//commonlibrary/memory_utils/libpurgeablemem:purgeable_memory_ndk", 38 "//commonlibrary/memory_utils/purgeable_builder:pixelmap_builder" 39 ], 40 "inner_kits": [ 41 { 42 "name": "//commonlibrary/memory_utils/libdmabufheap:libdmabufheap", 43 "header": { 44 "header_files": [ 45 "dmabuf_alloc.h" 46 ], 47 "header_base": "//commonlibrary/memory_utils/libdmabufheap/include" 48 } 49 }, 50 { 51 "name": "//commonlibrary/memory_utils/libmeminfo:libmeminfo", 52 "header": { 53 "header_files": [ 54 "meminfo.h" 55 ], 56 "header_base": "//commonlibrary/memory_utils/libmeminfo/include" 57 } 58 }, 59 { 60 "name": "//commonlibrary/memory_utils/libpurgeablemem:libpurgeablemem", 61 "header": { 62 "header_files": [ 63 "pm_log.h", 64 "pm_smartptr_util.h", 65 "purgeable_ashmem.h", 66 "purgeable_mem.h", 67 "purgeable_mem_base.h", 68 "purgeable_mem_builder.h", 69 "ux_page_table.h" 70 ], 71 "header_base": "//commonlibrary/memory_utils/libpurgeablemem/cpp/include" 72 } 73 }, 74 { 75 "name": "//commonlibrary/memory_utils/purgeable_builder:pixelmap_builder", 76 "header": { 77 "header_files": [ 78 "purgeable_pixelmap_builder.h" 79 ], 80 "header_base": "//commonlibrary/memory_utils/purgeable_builder/include" 81 } 82 } 83 ], 84 "test": [ 85 "//commonlibrary/memory_utils/libdmabufheap/test:unittest", 86 "//commonlibrary/memory_utils/libmeminfo/test:libmeminfo_test", 87 "//commonlibrary/memory_utils/libpurgeablemem/test:libpurgeablemem_test" 88 ] 89 } 90 } 91} 92