From 6b50058889099e4287f683b97a86ca74607172c4 Mon Sep 17 00:00:00 2001 From: Jeff McGlynn Date: Thu, 26 Jul 2018 13:08:01 -0700 Subject: Remove third_party/googletest and reference git repo instead Use a Bazel git_repository rule to reference the git repository instead of bundling the source. Change-Id: I32a0970178cb87fbf0e381db2e2d51fcccab542f --- WORKSPACE | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'WORKSPACE') diff --git a/WORKSPACE b/WORKSPACE index 69e5513..77d6a69 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -12,9 +12,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -local_repository( +git_repository( name = "gtest", - path = "third_party/googletest", + remote = "https://github.com/google/googletest.git", + commit = "ba96d0b1161f540656efdaed035b3c062b60e006", ) new_http_archive( -- cgit v1.2.3