From 97a6318e4533dc22dc4c0bc185877516e6a23b64 Mon Sep 17 00:00:00 2001 From: txl Date: Mon, 15 Jan 2024 10:49:06 +0800 Subject: [PATCH 1/3] Changes Signed-off-by: txl --- third_party/lib/cpp/BUILD.gn | 3 +++ 1 file changed, 3 insertions(+) diff --git a/third_party/lib/cpp/BUILD.gn b/third_party/lib/cpp/BUILD.gn index 8c879ea..04f1717 100755 --- a/third_party/lib/cpp/BUILD.gn +++ b/third_party/lib/cpp/BUILD.gn @@ -18,6 +18,9 @@ config("gtest_private_config") { config("gtest_config") { include_dirs = [ "//third_party/googletest/googletest/include" ] + cflags = [ "-std=c++17" ] + cflags_objcc = [ "-std=c++17" ] + cflags_cc = ["-std=c++17"] } static_library("gtest") { -- Gitee From 1c9d870d16dc5287d4b15777327e74dc18f82217 Mon Sep 17 00:00:00 2001 From: txl Date: Mon, 15 Jan 2024 14:17:58 +0800 Subject: [PATCH 2/3] googletest_1.13.0 Signed-off-by: txl --- third_party/lib/cpp/BUILD.gn | 1 + 1 file changed, 1 insertion(+) diff --git a/third_party/lib/cpp/BUILD.gn b/third_party/lib/cpp/BUILD.gn index 04f1717..17392c5 100755 --- a/third_party/lib/cpp/BUILD.gn +++ b/third_party/lib/cpp/BUILD.gn @@ -56,6 +56,7 @@ static_library("gtest") { "//third_party/googletest/googletest/include/gtest/internal/gtest-string.h", "//third_party/googletest/googletest/include/gtest/internal/gtest-tuple.h", "//third_party/googletest/googletest/include/gtest/internal/gtest-type-util.h", + "//third_party/googletest/googletest/src/gtest-assertion-result.cc", "//third_party/googletest/googletest/src/gtest-death-test.cc", "//third_party/googletest/googletest/src/gtest-filepath.cc", "//third_party/googletest/googletest/src/gtest-internal-inl.h", -- Gitee From 0bc3315eac6819fadaf200b8e3f88f939e192309 Mon Sep 17 00:00:00 2001 From: txl Date: Mon, 15 Jan 2024 21:12:08 +0800 Subject: [PATCH 3/3] googletest_1.13.0 formatcheck Signed-off-by: txl --- third_party/lib/cpp/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/lib/cpp/BUILD.gn b/third_party/lib/cpp/BUILD.gn index 17392c5..14945d4 100755 --- a/third_party/lib/cpp/BUILD.gn +++ b/third_party/lib/cpp/BUILD.gn @@ -20,7 +20,7 @@ config("gtest_config") { include_dirs = [ "//third_party/googletest/googletest/include" ] cflags = [ "-std=c++17" ] cflags_objcc = [ "-std=c++17" ] - cflags_cc = ["-std=c++17"] + cflags_cc = [ "-std=c++17" ] } static_library("gtest") { -- Gitee