2019-07-18 14:40:33 +00:00
|
|
|
workspace(name = "rules_cc")
|
|
|
|
|
2019-01-08 12:51:36 +00:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
|
|
|
|
http_archive(
|
2019-08-09 13:41:00 +00:00
|
|
|
name = "bazel_federation",
|
2019-09-30 13:10:00 +00:00
|
|
|
url = "https://github.com/bazelbuild/bazel-federation/archive/f0e5eda7f0cbfe67f126ef4dacb18c89039b0506.zip", # 2019-09-30
|
|
|
|
sha256 = "33222ab7bcc430f1ff1db8788c2e0118b749319dd572476c4fd02322d7d15792",
|
|
|
|
strip_prefix = "bazel-federation-f0e5eda7f0cbfe67f126ef4dacb18c89039b0506",
|
2019-08-09 13:41:00 +00:00
|
|
|
type = "zip",
|
2019-01-08 12:51:36 +00:00
|
|
|
)
|
|
|
|
|
2019-08-09 13:41:00 +00:00
|
|
|
load("@bazel_federation//:repositories.bzl", "rules_cc_deps")
|
|
|
|
rules_cc_deps()
|
2019-01-08 12:51:36 +00:00
|
|
|
|
2019-08-09 13:41:00 +00:00
|
|
|
load("@bazel_federation//setup:rules_cc.bzl", "rules_cc_setup")
|
|
|
|
rules_cc_setup()
|
2019-03-25 15:38:55 +00:00
|
|
|
|
2019-08-09 13:41:00 +00:00
|
|
|
#
|
|
|
|
# Dependencies for development of rules_cc itself.
|
|
|
|
#
|
|
|
|
load("//:internal_deps.bzl", "rules_cc_internal_deps")
|
|
|
|
rules_cc_internal_deps()
|
2019-03-28 07:52:04 +00:00
|
|
|
|
2019-08-09 13:41:00 +00:00
|
|
|
load("//:internal_setup.bzl", "rules_cc_internal_setup")
|
|
|
|
rules_cc_internal_setup()
|
2019-08-21 14:29:46 +00:00
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "com_google_googletest",
|
2019-10-09 13:18:06 +00:00
|
|
|
sha256 = "9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb",
|
|
|
|
strip_prefix = "googletest-release-1.10.0",
|
2019-08-21 14:29:46 +00:00
|
|
|
urls = [
|
2019-10-09 13:18:06 +00:00
|
|
|
"https://mirror.bazel.build/github.com/google/googletest/archive/release-1.10.0.tar.gz",
|
|
|
|
"https://github.com/google/googletest/archive/release-1.10.0.tar.gz",
|
2019-08-21 14:29:46 +00:00
|
|
|
],
|
|
|
|
)
|