{
"name": "@ohos/hilog",
"description": "Native log interface provided for system",
"version": "3.1",
"license": "Apache License 2.0",
"publishAs": "code-segment",
"segment": {
"destPath": "base/hiviewdfx/hilog"
},
"dirs": {},
"scripts": {},
"component": {
"name": "hilog",
"subsystem": "hiviewdfx",
"syscap": [
"SystemCapability.HiviewDFX.HiLog"
],
"adapted_system_type": [
"standard"
],
"rom": "648KB",
"ram": "16336KB",
"deps": {
"components": [
"bounds_checking_function",
"c_utils",
"cJSON",
"ffrt",
"init",
"napi",
"zlib",
"runtime_core"
]
},
"features": [
"hilog_native_feature_ohcore",
"hilog_feature_support_usr_symlink"
],
"build": {
"sub_component": [
"//base/hiviewdfx/hilog/services/hilogtool:hilog",
"//base/hiviewdfx/hilog/services/hilogd:hilogd",
"//base/hiviewdfx/hilog/interfaces/js:hilog_napi",
"//base/hiviewdfx/hilog/interfaces/cj:cj_hilog_ffi",
"//base/hiviewdfx/hilog/frameworks/hilog_ndk:hilog_ndk",
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog_base",
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog_snapshot",
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog",
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog_host",
"//base/hiviewdfx/hilog/interfaces/rust:hilog_rust",
"//base/hiviewdfx/hilog/interfaces/ets/ani:ani_hilog_package",
"//base/hiviewdfx/hilog/interfaces/sandbox_log:libsandboxlog"
],
"inner_kits": [
{
"name": "//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog",
"header": {
"header_files": [
"hilog/log.h",
"hilog/log_c.h",
"hilog/log_cpp.h",
"hilog_trace.h"
],
"header_base": "//base/hiviewdfx/hilog/interfaces/native/innerkits/include"
}
},
{
"name": "//base/hiviewdfx/hilog/interfaces/cj:cj_hilog_ffi",
"header": {
"header_files": [],
"header_base": []
}
},
{
"name": "//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog_base",
"header": {
"header_files": [
"hilog_base/log_base.h"
],
"header_base": "//base/hiviewdfx/hilog/interfaces/native/innerkits/include"
}
},
{
"name": "//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog_snapshot",
"header": {
"header_files": [
"hilog_snapshot/log_snapshot.h"
],
"header_base": "//base/hiviewdfx/hilog/interfaces/native/innerkits/include"
}
},
{
"name": "//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog_base_for_musl",
"header": {
"header_files": [
"hilog_base/log_base.h"
],
"header_base": "//base/hiviewdfx/hilog/interfaces/native/innerkits/include"
},
"visibility": [ "musl" ]
},
{
"name": "//base/hiviewdfx/hilog/interfaces/rust:hilog_rust",
"header": {
"header_files": [],
"header_base": []
}
},
{
"name": "//base/hiviewdfx/hilog/frameworks/hilog_ndk:hilog_ndk",
"header": {
"header_files": [],
"header_base": []
}
},
{
"name": "//base/hiviewdfx/hilog/interfaces/sandbox_log:libsandboxlog",
"header": {
"header_files": [
"page_switch_log.h"
],
"header_base": "//base/hiviewdfx/hilog/interfaces/sandbox_log/include"
}
}
],
"test": [
"//base/hiviewdfx/hilog/test:hilog_unittest",
"//base/hiviewdfx/hilog/test:hilog_moduletest",
"//base/hiviewdfx/hilog/test:fuzztest"
],
"conditions": {
"//base/hiviewdfx/hilog/services/hilogtool:hilog": {
"compile_mode": "cross"
},
"//base/hiviewdfx/hilog/services/hilogd:hilogd": {
"compile_mode": "cross"
},
"//base/hiviewdfx/hilog/test:hilog_unittest": {
"compile_mode": "cross"
},
"//base/hiviewdfx/hilog/test:hilog_moduletest": {
"compile_mode": "cross"
},
"//base/hiviewdfx/hilog/test:fuzztest": {
"compile_mode": "cross"
},
"//base/hiviewdfx/hilog/interfaces/sandbox_log:libsandboxlog": {
"compile_mode": "cross"
}
}
}
}
}