Get gtest building with Bazel, add first test in test/cpp/common/BUILD
diff --git a/WORKSPACE b/WORKSPACE
index 9883109..4f90f06 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -28,6 +28,11 @@
actual = "@submodule_protobuf//:protoc",
)
+bind(
+ name = "gtest",
+ actual = "@submodule_gtest//:gtest",
+)
+
new_local_repository(
name = "submodule_boringssl",
path = "third_party/boringssl-with-bazel",
@@ -45,3 +50,9 @@
path = "third_party/protobuf",
build_file = "third_party/protobuf/BUILD",
)
+
+new_local_repository(
+ name = "submodule_gtest",
+ path = "third_party/googletest",
+ build_file = "third_party/gtest.BUILD",
+)