diff options
Diffstat (limited to 'examples/rich_structure/WORKSPACE')
-rw-r--r-- | examples/rich_structure/WORKSPACE | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/rich_structure/WORKSPACE b/examples/rich_structure/WORKSPACE index e2cdda3..4986594 100644 --- a/examples/rich_structure/WORKSPACE +++ b/examples/rich_structure/WORKSPACE @@ -14,6 +14,8 @@ workspace(name = "rich_structure") +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") + local_repository( name = "rules_pkg", path = "../..", @@ -22,3 +24,14 @@ local_repository( load("@rules_pkg//pkg:deps.bzl", "rules_pkg_dependencies") rules_pkg_dependencies() + +http_archive( + name = "rules_cc", + sha256 = "2037875b9a4456dce4a79d112a8ae885bbc4aad968e6587dca6e64f3a0900cdf", + strip_prefix = "rules_cc-0.0.9", + urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.9/rules_cc-0.0.9.tar.gz"], +) + +load("@rules_cc//cc:repositories.bzl", "rules_cc_dependencies") + +rules_cc_dependencies() |