From b2ff1763e60826ba379e35fb4cdda988128b96ae Mon Sep 17 00:00:00 2001 From: xionglei6 Date: Fri, 29 Oct 2021 16:21:54 +0800 Subject: [PATCH 1/3] hiviewdfx_hilog: rename libsocket lib Signed-off-by: xionglei6 --- frameworks/native/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/native/BUILD.gn b/frameworks/native/BUILD.gn index 28a55a7..ddd79e3 100644 --- a/frameworks/native/BUILD.gn +++ b/frameworks/native/BUILD.gn @@ -82,7 +82,7 @@ ohos_shared_library("libhilogutil") { if (use_musl) { defines = [ "HILOG_USE_MUSL" ] - deps += [ "//base/startup/init_lite/interfaces/innerkits/socket:libsocket" ] + deps += [ "//base/startup/init_lite/interfaces/innerkits/socket:libsocket_static" ] } output_extension = "so" -- Gitee From b4f7f9e9ec1a697a674af0e6b77c84bc17436edf Mon Sep 17 00:00:00 2001 From: xionglei6 Date: Sat, 30 Oct 2021 09:33:44 +0800 Subject: [PATCH 2/3] gn format Signed-off-by: xionglei6 --- frameworks/native/BUILD.gn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frameworks/native/BUILD.gn b/frameworks/native/BUILD.gn index ddd79e3..6265c6d 100644 --- a/frameworks/native/BUILD.gn +++ b/frameworks/native/BUILD.gn @@ -82,7 +82,9 @@ ohos_shared_library("libhilogutil") { if (use_musl) { defines = [ "HILOG_USE_MUSL" ] - deps += [ "//base/startup/init_lite/interfaces/innerkits/socket:libsocket_static" ] + deps += [ + "//base/startup/init_lite/interfaces/innerkits/socket:libsocket_static", + ] } output_extension = "so" -- Gitee From 8a63e234ffc9f35dd2f62401188fdc4a4e3f43f2 Mon Sep 17 00:00:00 2001 From: xionglei6 Date: Tue, 2 Nov 2021 10:03:01 +0800 Subject: [PATCH 3/3] hilog: fix lib socket to shared Signed-off-by: xionglei6 --- frameworks/native/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/native/BUILD.gn b/frameworks/native/BUILD.gn index 6265c6d..dd4493b 100644 --- a/frameworks/native/BUILD.gn +++ b/frameworks/native/BUILD.gn @@ -83,7 +83,7 @@ ohos_shared_library("libhilogutil") { if (use_musl) { defines = [ "HILOG_USE_MUSL" ] deps += [ - "//base/startup/init_lite/interfaces/innerkits/socket:libsocket_static", + "//base/startup/init_lite/interfaces/innerkits/socket:libsocket_shared", ] } -- Gitee