summaryrefslogtreecommitdiffhomepage
path: root/WORKSPACE
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2019-08-30 15:01:55 -0700
committergVisor bot <gvisor-bot@google.com>2019-08-30 15:03:15 -0700
commit888e87909e1a6c3cf93498e6ecb2d451c7551153 (patch)
tree9adf91f346d5cd42d3512bb6d5f2e7e138beaac9 /WORKSPACE
parentf74affe2035ba038674a0b958d8a31348fba15bc (diff)
Add C++ toolchain and fix compile issues.
This was accidentally introduced in 31f05d5d4f62c4cd4fe3b95b333d0130aae4b2c1. Fixes #788. PiperOrigin-RevId: 266462843
Diffstat (limited to 'WORKSPACE')
-rw-r--r--WORKSPACE11
1 files changed, 11 insertions, 0 deletions
diff --git a/WORKSPACE b/WORKSPACE
index 88ba4a2c9..c403e774d 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -32,6 +32,17 @@ load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository")
gazelle_dependencies()
+# Load C++ rules.
+http_archive(
+ name = "rules_cc",
+ sha256 = "67412176974bfce3f4cf8bdaff39784a72ed709fc58def599d1f68710b58d68b",
+ strip_prefix = "rules_cc-b7fe9697c0c76ab2fd431a891dbb9a6a32ed7c3e",
+ urls = [
+ "https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/b7fe9697c0c76ab2fd431a891dbb9a6a32ed7c3e.zip",
+ "https://github.com/bazelbuild/rules_cc/archive/b7fe9697c0c76ab2fd431a891dbb9a6a32ed7c3e.zip",
+ ],
+)
+
# Load protobuf dependencies.
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")