diff options
author | Carlos O'Ryan <coryan@users.noreply.github.com> | 2018-03-26 16:54:32 -0400 |
---|---|---|
committer | Feng Xiao <xfxyjwf@gmail.com> | 2018-03-26 13:54:32 -0700 |
commit | 3c5442a95d9608519a76a5db27d21d71dd1137a1 (patch) | |
tree | 4dd687999accb76c0bf65fc2178724c5653f1c61 /WORKSPACE | |
parent | 1156ee7ea73b768bc52f1a42dfcc42120291e268 (diff) | |
download | protobuf-3c5442a95d9608519a76a5db27d21d71dd1137a1.tar.gz protobuf-3c5442a95d9608519a76a5db27d21d71dd1137a1.tar.bz2 protobuf-3c5442a95d9608519a76a5db27d21d71dd1137a1.zip |
Include googletest as a submodule (#3993)
Add googletest as a submodule in third_party/googletest.
Diffstat (limited to 'WORKSPACE')
-rw-r--r-- | WORKSPACE | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -1,10 +1,9 @@ workspace(name = "com_google_protobuf") -new_git_repository( - name = "googletest", - build_file = "gmock.BUILD", - remote = "https://github.com/google/googletest", - tag = "release-1.8.0", +new_local_repository( + name = "submodule_gmock", + path = "third_party/googletest", + build_file = "third_party/googletest/BUILD.bazel" ) new_http_archive( @@ -21,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( |