From 2512993e5743c76e76cec24b31e9fa9b831b8f5b Mon Sep 17 00:00:00 2001 From: ganchuantao Date: Tue, 22 Jul 2025 00:47:24 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96protobuf=20rom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ganchuantao --- BUILD.gn | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 42f94e7..864848a 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -253,6 +253,7 @@ ohos_shared_library("protobuf") { "src/google/protobuf/wire_format_lite.cc", "src/google/protobuf/wrappers.pb.cc", "third_party/utf8_range/utf8_validity.cc", + "third_party/utf8_range/utf8_range.c", ] include_dirs = [ "src/google/protobuf/**/*.h", @@ -269,10 +270,7 @@ ohos_shared_library("protobuf") { "-D HAVE_PTHREAD", "-Wno-deprecated-declarations", ] - - deps = [ ":protobuf_lite" ] external_deps = [ "abseil-cpp:absl_base_static" ] - if (!is_asan && !is_debug) { version_script = "libprotobuf.map" } -- Gitee