mirror of
https://github.com/openharmony/hiviewdfx_hilog_lite.git
synced 2026-07-01 06:41:57 -04:00
+2
-1
@@ -39,7 +39,8 @@
|
||||
"hilog_lite_apphilogcat_log_level_debug",
|
||||
"hilog_lite_enable_hilogcat_build",
|
||||
"hilog_lite_apphilogcat_log_dir",
|
||||
"hilog_lite_disable_test"
|
||||
"hilog_lite_disable_test",
|
||||
"hilog_lite_disable_js_feature"
|
||||
],
|
||||
"rom": "500KB",
|
||||
"ram": "~500KB",
|
||||
|
||||
@@ -14,7 +14,11 @@
|
||||
|
||||
import("//build/lite/config/component/lite_component.gni")
|
||||
|
||||
if (ohos_kernel_type != "liteos_m") {
|
||||
declare_args() {
|
||||
hilog_lite_disable_js_feature = false
|
||||
}
|
||||
|
||||
if (ohos_kernel_type != "liteos_m" && !hilog_lite_disable_js_feature) {
|
||||
lite_component("ace_hilog_kits") {
|
||||
features = [ "builtin:ace_kit_hilog" ]
|
||||
}
|
||||
|
||||
+2
-1
@@ -25,7 +25,8 @@ group("hilog_lite_test") {
|
||||
}
|
||||
}
|
||||
|
||||
if (ohos_build_type == "debug" && ohos_kernel_type != "liteos_m") {
|
||||
if (ohos_build_type == "debug" && ohos_kernel_type != "liteos_m" &&
|
||||
!hilog_lite_disable_test) {
|
||||
unittest("lite_hilog_unittest") {
|
||||
output_extension = "bin"
|
||||
output_dir = "$root_out_dir/test/unittest/hilog_lite"
|
||||
|
||||
Reference in New Issue
Block a user