aboutsummaryrefslogtreecommitdiffhomepage
path: root/WORKSPACE
diff options
context:
space:
mode:
Diffstat (limited to 'WORKSPACE')
-rw-r--r--WORKSPACE15
1 files changed, 8 insertions, 7 deletions
diff --git a/WORKSPACE b/WORKSPACE
index 2a49e372..06a8a841 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -1,8 +1,9 @@
-new_git_repository(
- name = "googletest",
- build_file = "gmock.BUILD",
- remote = "https://github.com/google/googletest",
- tag = "release-1.8.0",
+workspace(name = "com_google_protobuf")
+
+new_local_repository(
+ name = "submodule_gmock",
+ path = "third_party/googletest",
+ build_file = "third_party/googletest/BUILD.bazel"
)
new_http_archive(
@@ -19,12 +20,12 @@ bind(
bind(
name = "gtest",
- actual = "@googletest//:gtest",
+ actual = "@submodule_gmock//:gtest",
)
bind(
name = "gtest_main",
- actual = "@googletest//:gtest_main",
+ actual = "@submodule_gmock//:gtest_main",
)
bind(