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")
|
|
|
|
|
2020-07-28 12:15:43 +00:00
|
|
|
http_archive(
|
|
|
|
name = "rules_pkg",
|
2021-05-03 18:10:08 +00:00
|
|
|
sha256 = "352c090cc3d3f9a6b4e676cf42a6047c16824959b438895a76c2989c6d7c246a",
|
2020-07-28 12:15:43 +00:00
|
|
|
urls = [
|
|
|
|
"https://github.com/bazelbuild/rules_pkg/releases/download/0.2.5/rules_pkg-0.2.5.tar.gz",
|
|
|
|
"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.2.5/rules_pkg-0.2.5.tar.gz",
|
|
|
|
],
|
|
|
|
)
|
2021-05-03 18:10:08 +00:00
|
|
|
|
2020-07-28 12:15:43 +00:00
|
|
|
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
|
2021-05-03 18:10:08 +00:00
|
|
|
|
2020-07-28 12:15:43 +00:00
|
|
|
rules_pkg_dependencies()
|
|
|
|
|
2019-01-08 12:51:36 +00:00
|
|
|
http_archive(
|
2019-08-09 13:41:00 +00:00
|
|
|
name = "bazel_federation",
|
2020-12-10 10:06:46 +00:00
|
|
|
sha256 = "d7a9b12474c772b389b3e24dde281f0332d7ef8645df47c80d122e9d446b883c",
|
|
|
|
strip_prefix = "bazel-federation-8ce885a3a89da83228cd845c6ab13bb0175ca105",
|
2019-08-09 13:41:00 +00:00
|
|
|
type = "zip",
|
2020-12-10 10:06:46 +00:00
|
|
|
url = "https://github.com/bazelbuild/bazel-federation/archive/8ce885a3a89da83228cd845c6ab13bb0175ca105.zip", # 2019-09-30
|
2019-01-08 12:51:36 +00:00
|
|
|
)
|
|
|
|
|
2019-08-09 13:41:00 +00:00
|
|
|
load("@bazel_federation//:repositories.bzl", "rules_cc_deps")
|
2019-10-24 14:01:01 +00:00
|
|
|
|
2019-08-09 13:41:00 +00:00
|
|
|
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")
|
2019-10-24 14:01:01 +00:00
|
|
|
|
2019-08-09 13:41:00 +00:00
|
|
|
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")
|
2019-10-24 14:01:01 +00:00
|
|
|
|
2019-08-09 13:41:00 +00:00
|
|
|
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")
|
2019-10-24 14:01:01 +00:00
|
|
|
|
2019-08-09 13:41:00 +00:00
|
|
|
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
|
|
|
],
|
|
|
|
)
|
2019-10-24 14:01:01 +00:00
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "rules_proto",
|
|
|
|
sha256 = "602e7161d9195e50246177e7c55b2f39950a9cf7366f74ed5f22fd45750cd208",
|
|
|
|
strip_prefix = "rules_proto-97d8af4dc474595af3900dd85cb3a29ad28cc313",
|
|
|
|
urls = [
|
|
|
|
"https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz",
|
|
|
|
"https://github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
|
|
|
|
|
|
|
|
rules_proto_dependencies()
|
|
|
|
|
|
|
|
rules_proto_toolchains()
|
2019-11-01 15:36:34 +00:00
|
|
|
|
|
|
|
load("//cc:repositories.bzl", "rules_cc_toolchains")
|
2020-02-12 16:01:29 +00:00
|
|
|
|
2019-11-01 15:39:47 +00:00
|
|
|
rules_cc_toolchains()
|
2020-02-12 16:01:29 +00:00
|
|
|
|
|
|
|
local_repository(
|
|
|
|
name = "test_repo",
|
|
|
|
path = "examples/test_cc_shared_library2",
|
|
|
|
)
|