diff --git a/third_party/lib/cpp/BUILD.gn b/third_party/lib/cpp/BUILD.gn index 8c879eaa99af8fe2d05167cd3fb19a1343b08e1b..14945d445158d6ae3af0eb73d44ab28f156c8a7f 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") { @@ -53,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",