From 9d897ad99a058f9678504796500ec5d63dbb68df Mon Sep 17 00:00:00 2001 From: ganchuantao Date: Thu, 7 Aug 2025 03:33:47 +0000 Subject: [PATCH 1/3] =?UTF-8?q?=E5=8E=BB=E6=8E=89map=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E7=9A=84=E7=BC=96=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ganchuantao --- BUILD.gn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 864848a..03d25de 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -58,7 +58,7 @@ ohos_shared_library("protobuf_lite") { ] if (!is_asan && !is_debug) { - version_script = "libprotobuf_lite.map" + #version_script = "libprotobuf_lite.map" } include_dirs = [ "src/google/protobuf/**/*.h", @@ -272,7 +272,7 @@ ohos_shared_library("protobuf") { ] external_deps = [ "abseil-cpp:absl_base_static" ] if (!is_asan && !is_debug) { - version_script = "libprotobuf.map" + #version_script = "libprotobuf.map" } public_configs = [ ":protobuf_config" ] @@ -558,7 +558,7 @@ ohos_shared_library("protoc_lib") { external_deps = [ "abseil-cpp:absl_base_static" ] if (!is_asan && !is_debug) { - version_script = "libprotoc.map" + #version_script = "libprotoc.map" } install_enable = false public_configs = [ ":protobuf_config" ] -- Gitee From 3f7554feaa550e744449556ddddec3e6916f6726 Mon Sep 17 00:00:00 2001 From: ganchuantao Date: Thu, 7 Aug 2025 06:10:19 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=E5=8E=BB=E6=8E=89map=20=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ganchuantao --- BUILD.gn | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 03d25de..d0f78de 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -57,9 +57,9 @@ ohos_shared_library("protobuf_lite") { "third_party/utf8_range/utf8_validity.cc", ] - if (!is_asan && !is_debug) { - #version_script = "libprotobuf_lite.map" - } + #if (!is_asan && !is_debug) { + # version_script = "libprotobuf_lite.map" + #} include_dirs = [ "src/google/protobuf/**/*.h", "src/google/protobuf/**/*.inc", @@ -271,9 +271,9 @@ ohos_shared_library("protobuf") { "-Wno-deprecated-declarations", ] external_deps = [ "abseil-cpp:absl_base_static" ] - if (!is_asan && !is_debug) { - #version_script = "libprotobuf.map" - } + #if (!is_asan && !is_debug) { + # version_script = "libprotobuf.map" + #} public_configs = [ ":protobuf_config" ] install_enable = true @@ -557,9 +557,9 @@ ohos_shared_library("protoc_lib") { ] external_deps = [ "abseil-cpp:absl_base_static" ] - if (!is_asan && !is_debug) { - #version_script = "libprotoc.map" - } + #if (!is_asan && !is_debug) { + # version_script = "libprotoc.map" + #} install_enable = false public_configs = [ ":protobuf_config" ] subsystem_name = "${THIRDPARTY_PROTOBUF_SUBSYS_NAME}" -- Gitee From 20bfcb4d98e7bbd847ee677da82a1147ad27f957 Mon Sep 17 00:00:00 2001 From: ganchuantao Date: Mon, 11 Aug 2025 04:43:29 +0000 Subject: [PATCH 3/3] =?UTF-8?q?=E5=8E=BB=E6=8E=89map=20=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E7=9A=84=E7=BC=96=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ganchuantao --- BUILD.gn | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index d0f78de..bfce7c5 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -57,9 +57,6 @@ ohos_shared_library("protobuf_lite") { "third_party/utf8_range/utf8_validity.cc", ] - #if (!is_asan && !is_debug) { - # version_script = "libprotobuf_lite.map" - #} include_dirs = [ "src/google/protobuf/**/*.h", "src/google/protobuf/**/*.inc", @@ -271,10 +268,6 @@ ohos_shared_library("protobuf") { "-Wno-deprecated-declarations", ] external_deps = [ "abseil-cpp:absl_base_static" ] - #if (!is_asan && !is_debug) { - # version_script = "libprotobuf.map" - #} - public_configs = [ ":protobuf_config" ] install_enable = true subsystem_name = "${THIRDPARTY_PROTOBUF_SUBSYS_NAME}" @@ -556,10 +549,6 @@ ohos_shared_library("protoc_lib") { ":protobuf_lite", ] external_deps = [ "abseil-cpp:absl_base_static" ] - - #if (!is_asan && !is_debug) { - # version_script = "libprotoc.map" - #} install_enable = false public_configs = [ ":protobuf_config" ] subsystem_name = "${THIRDPARTY_PROTOBUF_SUBSYS_NAME}" -- Gitee