Carmelo Cascone | 72893b7 | 2018-08-09 00:59:06 -0700 | [diff] [blame] | 1 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| 2 | |
| 3 | COMMIT = "37cc0e5acae50ee91f00827a7010c3b07dfa5311" |
| 4 | SHA = "17d023f48ea290f25edaf25a967973b5a42ce6d71b1570862f302d95aa8b9f77" |
| 5 | |
| 6 | def generate_googleapis(): |
| 7 | http_archive( |
| 8 | name = "com_github_googleapis", |
| 9 | urls = ["https://github.com/googleapis/googleapis/archive/%s.zip" % COMMIT], |
| 10 | sha256 = SHA, |
| 11 | strip_prefix = "googleapis-" + COMMIT, |
| 12 | build_file = "//tools/build/bazel:googleapis_BUILD", |
| 13 | ) |