Skip to content

Commit

Permalink
Add rules_cc and rules_java
Browse files Browse the repository at this point in the history
  • Loading branch information
davido committed Sep 13, 2019
1 parent 91e2504 commit 6374ae4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions closure/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ def closure_repositories(
omit_org_ow2_asm_tree = False,
omit_org_ow2_asm_util = False,
omit_phantomjs = False,
omit_rules_cc = False,
omit_rules_java = False,
omit_rules_proto = False,
omit_rules_python = False,
omit_zlib = False):
Expand Down Expand Up @@ -173,6 +175,10 @@ def closure_repositories(
org_ow2_asm_util()
if not omit_phantomjs:
phantomjs()
if not omit_rules_cc:
rules_cc()
if not omit_rules_java:
rules_java()
if not omit_rules_proto:
rules_proto()
if not omit_rules_python:
Expand Down Expand Up @@ -1005,6 +1011,22 @@ def phantomjs():
macos_sha256 = "538cf488219ab27e309eafc629e2bcee9976990fe90b1ec334f541779150f8c1",
)

def rules_cc():
http_archive(
name = "rules_cc",
sha256 = "29daf0159f0cf552fcff60b49d8bcd4f08f08506d2da6e41b07058ec50cfeaec",
strip_prefix = "rules_cc-b7fe9697c0c76ab2fd431a891dbb9a6a32ed7c3e",
urls = ["https://github.com/bazelbuild/rules_cc/archive/b7fe9697c0c76ab2fd431a891dbb9a6a32ed7c3e.tar.gz"],
)

def rules_java():
http_archive(
name = "rules_java",
sha256 = "f5a3e477e579231fca27bf202bb0e8fbe4fc6339d63b38ccb87c2760b533d1c3",
strip_prefix = "rules_java-981f06c3d2bd10225e85209904090eb7b5fb26bd",
urls = ["https://github.com/bazelbuild/rules_java/archive/981f06c3d2bd10225e85209904090eb7b5fb26bd.tar.gz"],
)

def rules_proto():
http_archive(
name = "rules_proto",
Expand Down

0 comments on commit 6374ae4

Please sign in to comment.