diff --git a/command/BUILD.gn b/command/BUILD.gn index 9fac2c0eaaeb7561880ecf2fdfd44b7315917d7e..8fa300854e1287ec6426640cbbf37f03c6df8f10 100755 --- a/command/BUILD.gn +++ b/command/BUILD.gn @@ -20,7 +20,6 @@ config("hilog_command_config") { lite_library("hilog_command_static") { target_type = "static_library" sources = [ "hilog_command.c" ] - cflags = [ "-Wall" ] public_configs = [ ":hilog_command_config", "//base/hiviewdfx/hilog_lite/services/apphilogcat:apphilogcat_config", @@ -34,7 +33,6 @@ lite_library("hilog_command_static") { lite_library("hilog_command_shared") { target_type = "shared_library" sources = [ "hilog_command.c" ] - cflags = [ "-Wall" ] public_configs = [ ":hilog_command_config", "//base/hiviewdfx/hilog_lite/services/apphilogcat:apphilogcat_config", diff --git a/frameworks/mini/BUILD.gn b/frameworks/mini/BUILD.gn index b45091081ccea8a2e096fcfbf3ca08c3b7b92fc1..9ef1a3f5be1e426a0916a669a035d23c669b941f 100755 --- a/frameworks/mini/BUILD.gn +++ b/frameworks/mini/BUILD.gn @@ -37,7 +37,6 @@ static_library("hilog_lite") { "hiview_log_limit.c", "hiview_output_log.c", ] - cflags = [ "-Wall" ] defines = [ "HIVIEW_LOG_FILE_SIZE = $ohos_hiviewdfx_hilog_lite_file_size", "LOG_LIMIT_DEFAULT = $ohos_hiviewdfx_hilog_lite_limit_level_default", diff --git a/services/apphilogcat/BUILD.gn b/services/apphilogcat/BUILD.gn index e722652a7b5da5cd2b0ae88c74d6b3cce6c0d0c5..70e6f26125d6ec43cebdd7b8685c79d4629ab4de 100755 --- a/services/apphilogcat/BUILD.gn +++ b/services/apphilogcat/BUILD.gn @@ -51,7 +51,6 @@ config("apphilogcat_config") { static_library("apphilogcat_static") { sources = [ "hiview_applogcat.c" ] - cflags = [ "-Wall" ] include_dirs = [ "//third_party/bounds_checking_function/include" ] deps = [ "//base/hiviewdfx/hilog_lite/command:hilog_command_static", diff --git a/services/hilogcat/BUILD.gn b/services/hilogcat/BUILD.gn index 6e94ad2c4cbfd5b879bdd8d0ce557872e92a5ab3..6375f985d96c65152d8f1591d85b2da1a7a8548a 100755 --- a/services/hilogcat/BUILD.gn +++ b/services/hilogcat/BUILD.gn @@ -15,7 +15,6 @@ import("//build/lite/config/component/lite_component.gni") static_library("hilogcat_static") { sources = [ "hiview_logcat.c" ] - cflags = [ "-Wall" ] include_dirs = [ "//third_party/bounds_checking_function/include" ] deps = [ "//base/hiviewdfx/hilog_lite/command:hilog_command_static",