1{ 2 "name": "@ohos/hitrace", 3 "description": "cross-thread, cross-process, and cross-device service call chain", 4 "version": "4.0", 5 "license": "Apache License 2.0", 6 "publishAs": "code-segment", 7 "segment": { 8 "destPath": "base/hiviewdfx/hitrace" 9 }, 10 "dirs": {}, 11 "scripts": {}, 12 "component": { 13 "name": "hitrace", 14 "subsystem": "hiviewdfx", 15 "syscap": [ 16 "SystemCapability.HiviewDFX.HiTrace" 17 ], 18 "adapted_system_type": [ 19 "small", 20 "standard" 21 ], 22 "rom": "330KB", 23 "ram": "~320KB", 24 "deps": { 25 "components": [ 26 "bounds_checking_function", 27 "cJSON", 28 "hilog", 29 "hilog_lite", 30 "hiview", 31 "init", 32 "napi", 33 "zlib" 34 ] 35 }, 36 "build": { 37 "sub_component": [ 38 "//base/hiviewdfx/hitrace/interfaces/native/innerkits:hitrace_dump", 39 "//base/hiviewdfx/hitrace/cmd:hitrace_target", 40 "//base/hiviewdfx/hitrace/cmd:hitrace.cfg", 41 "//base/hiviewdfx/hitrace/interfaces/native/innerkits:hitrace_meter", 42 "//base/hiviewdfx/hitrace/interfaces/native/innerkits:libhitracechain", 43 "//base/hiviewdfx/hitrace/interfaces/js/kits:hitrace_napi", 44 "//base/hiviewdfx/hitrace/interfaces/rust/innerkits/hitracechain:hitracechain_rust", 45 "//base/hiviewdfx/hitrace/interfaces/rust/innerkits/hitrace_meter:hitrace_meter_rust", 46 "//base/hiviewdfx/hitrace/frameworks/hitrace_ndk:hitrace_ndk" 47 ], 48 "inner_kits": [ 49 { 50 "type": "so", 51 "name": "//base/hiviewdfx/hitrace/interfaces/native/innerkits:hitrace_meter", 52 "header": { 53 "header_base": "//base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace_meter/", 54 "header_files": [ 55 "hitrace_meter.h", 56 "hitrace_meter_c.h" 57 ] 58 } 59 }, 60 { 61 "type": "so", 62 "name": "//base/hiviewdfx/hitrace/interfaces/native/innerkits:hitrace_dump", 63 "header": { 64 "header_base": "//base/hiviewdfx/hitrace/interfaces/native/innerkits/include/", 65 "header_files": [ 66 "hitrace_dump.h" 67 ] 68 } 69 }, 70 { 71 "type": "so", 72 "name": "//base/hiviewdfx/hitrace/interfaces/native/innerkits:libhitracechain", 73 "header": { 74 "header_base": "//base/hiviewdfx/hitrace/interfaces/native/innerkits/include/", 75 "header_files": [ 76 "hitrace/hitracechain.h", 77 "hitrace/hitracechainc.h", 78 "hitrace/hitraceid.h", 79 "hitrace/trace.h", 80 "hitrace/tracechain.h" 81 ] 82 } 83 }, 84 { 85 "name": "//base/hiviewdfx/hitrace/interfaces/rust/innerkits/hitrace_meter:hitrace_meter_rust", 86 "header": { 87 "header_files": [], 88 "header_base": [] 89 } 90 }, 91 { 92 "name": "//base/hiviewdfx/hitrace/interfaces/rust/innerkits/hitracechain:hitracechain_rust", 93 "header": { 94 "header_files": [], 95 "header_base": [] 96 } 97 } 98 ], 99 "test": [ "//base/hiviewdfx/hitrace/test:unittest" ] 100 } 101 } 102} 103