Skip to content

Commit

Permalink
Add rules_cc as dependency (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
keith committed Aug 10, 2020
1 parent 224afd9 commit bde6d31
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
10 changes: 0 additions & 10 deletions WORKSPACE
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
workspace(name = "build_bazel_rules_swift")

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
name = "rules_cc",
sha256 = "b87996d308549fc3933f57a786004ef65b44b83fd63f1b0303a4bbc3fd26bbaf",
# Latest 08-10-20
strip_prefix = "rules_cc-1477dbab59b401daa94acedbeaefe79bf9112167",
url = "https://github.com/bazelbuild/rules_cc/archive/1477dbab59b401daa94acedbeaefe79bf9112167.tar.gz",
)

load(
"@build_bazel_rules_swift//swift:repositories.bzl",
"swift_rules_dependencies",
Expand Down
9 changes: 9 additions & 0 deletions swift/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ def swift_rules_dependencies():
sha256 = "9114c452eee622598cf9cdc90ecb12b06af7f914f33440b26deba9a9704d450c",
)

_maybe(
http_archive,
name = "rules_cc",
# Latest 08-10-20
urls = ["https://github.com/bazelbuild/rules_cc/archive/1477dbab59b401daa94acedbeaefe79bf9112167.tar.gz"],
sha256 = "b87996d308549fc3933f57a786004ef65b44b83fd63f1b0303a4bbc3fd26bbaf",
strip_prefix = "rules_cc-1477dbab59b401daa94acedbeaefe79bf9112167/",
)

_maybe(
http_archive,
name = "com_github_apple_swift_protobuf",
Expand Down

0 comments on commit bde6d31

Please sign in to comment.