aboutsummaryrefslogtreecommitdiff
path: root/WORKSPACE
diff options
context:
space:
mode:
authorGravatar Jeff McGlynn <jwmcglynn@google.com>2018-07-26 13:08:01 -0700
committerGravatar Jeff McGlynn <jwmcglynn@google.com>2018-07-26 13:17:11 -0700
commit6b50058889099e4287f683b97a86ca74607172c4 (patch)
tree85e0da60fc73da1a00d2f1af094a5508968a89dd /WORKSPACE
parent9281bf41acf975a739698999958b63cf8869855c (diff)
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
Diffstat (limited to 'WORKSPACE')
-rw-r--r--WORKSPACE5
1 files changed, 3 insertions, 2 deletions
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(