| workspace(name = "rules_cc") |
| |
| load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| |
| http_archive( |
| name = "rules_pkg", |
| sha256 = "353b20e8b093d42dd16889c7f918750fb8701c485ac6cceb69a5236500507c27", |
| urls = [ |
| "https://github.com/bazelbuild/rules_pkg/releases/download/0.5.0/rules_pkg-0.5.0.tar.gz", |
| "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.5.0/rules_pkg-0.5.0.tar.gz", |
| ], |
| ) |
| |
| load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies") |
| |
| rules_pkg_dependencies() |
| |
| http_archive( |
| name = "bazel_federation", |
| sha256 = "0d6893f0d18f417a3324ce7f0ed2e6e5b825d6d5ab42f0f3d7877cb313f36453", |
| strip_prefix = "bazel-federation-6ad33bc586701e9836a2bf4432c7aff1235b04d2", |
| type = "zip", |
| url = "https://github.com/bazelbuild/bazel-federation/archive/6ad33bc586701e9836a2bf4432c7aff1235b04d2.zip", # 2019-09-30 |
| ) |
| |
| load("@bazel_federation//:repositories.bzl", "rules_cc_deps") |
| |
| rules_cc_deps() |
| |
| load("@bazel_federation//setup:rules_cc.bzl", "rules_cc_setup") |
| |
| rules_cc_setup() |
| |
| # |
| # Dependencies for development of rules_cc itself. |
| # |
| load("//:internal_deps.bzl", "rules_cc_internal_deps") |
| |
| rules_cc_internal_deps() |
| |
| load("//:internal_setup.bzl", "rules_cc_internal_setup") |
| |
| rules_cc_internal_setup() |
| |
| http_archive( |
| name = "com_google_googletest", |
| sha256 = "9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb", |
| strip_prefix = "googletest-release-1.10.0", |
| urls = [ |
| "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", |
| ], |
| ) |
| |
| http_archive( |
| name = "rules_proto", |
| sha256 = "36476f17a78a4c495b9a9e70bd92d182e6e78db476d90c74bac1f5f19f0d6d04", |
| strip_prefix = "rules_proto-fcad4680fee127dbd8344e6a961a28eef5820ef4", |
| urls = [ |
| "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/fcad4680fee127dbd8344e6a961a28eef5820ef4.tar.gz", |
| "https://github.com/bazelbuild/rules_proto/archive/fcad4680fee127dbd8344e6a961a28eef5820ef4.tar.gz", |
| ], |
| ) |
| |
| load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains") |
| |
| rules_proto_dependencies() |
| |
| rules_proto_toolchains() |
| |
| load("//cc:repositories.bzl", "rules_cc_toolchains") |
| |
| rules_cc_toolchains() |
| |
| local_repository( |
| name = "test_repo", |
| path = "examples/test_cc_shared_library2", |
| ) |