You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by ni...@apache.org on 2022/01/24 06:53:17 UTC
[incubator-heron] 01/01: Updated Google Test which now supports Bazel
This is an automated email from the ASF dual-hosted git repository.
nicknezis pushed a commit to branch nicknezis/gtest-bazel
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git
commit 59766e84cda0d9e2466d596d6f374a744a41e4e2
Author: Nicholas Nezis <ni...@gmail.com>
AuthorDate: Mon Jan 24 01:52:56 2022 -0500
Updated Google Test which now supports Bazel
---
WORKSPACE | 7 +++----
third_party/gtest/gtest.BUILD | 41 -----------------------------------------
2 files changed, 3 insertions(+), 45 deletions(-)
diff --git a/WORKSPACE b/WORKSPACE
index 2012ae6..7b941b2 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -304,10 +304,9 @@ http_archive(
http_archive(
name = "com_google_googletest",
- build_file = "@//:third_party/gtest/gtest.BUILD",
- sha256 = "58a6f4277ca2bc8565222b3bbd58a177609e9c488e8a72649359ba51450db7d8",
- strip_prefix = "googletest-release-1.8.0",
- urls = ["https://github.com/google/googletest/archive/release-1.8.0.tar.gz"],
+ sha256 = "b4870bf121ff7795ba20d20bcdd8627b8e088f2d1dab299a031c1034eddc93d5",
+ strip_prefix = "googletest-release-1.11.0",
+ urls = ["https://github.com/google/googletest/archive/release-1.11.0.tar.gz"],
)
http_archive(
diff --git a/third_party/gtest/gtest.BUILD b/third_party/gtest/gtest.BUILD
deleted file mode 100644
index 6a0933a..0000000
--- a/third_party/gtest/gtest.BUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-licenses(["notice"])
-
-package(default_visibility = ["//visibility:public"])
-
-# Google Test including Google Mock
-cc_library(
- name = "gtest",
- srcs = glob(
- include = [
- "googletest/src/*.cc",
- "googletest/src/*.h",
- "googletest/include/gtest/**/*.h",
- "googlemock/src/*.cc",
- "googlemock/include/gmock/**/*.h",
- ],
- exclude = [
- "googletest/src/gtest-all.cc",
- "googletest/src/gtest_main.cc",
- "googlemock/src/gmock-all.cc",
- "googlemock/src/gmock_main.cc",
- ],
- ),
- hdrs =glob([
- "googletest/include/gtest/*.h",
- "googlemock/include/gmock/*.h",
- ]),
- includes = [
- "googlemock",
- "googlemock/include",
- "googletest",
- "googletest/include",
- ],
-)
-
-cc_library(
- name = "gtest_main",
- srcs = [
- "googlemock/src/gmock_main.cc",
- ],
- deps = ["//:gtest"],
-)