-
Notifications
You must be signed in to change notification settings - Fork 440
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2bad96d
commit ff3a580
Showing
16 changed files
with
121 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,6 @@ bzl_library( | |
deps = [ | ||
"//3rdparty:bzl_lib", | ||
"//private:bzl_lib", | ||
"@rules_rust//rust:bzl_lib", | ||
], | ||
) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
diff --git a/cc/defs.bzl b/cc/defs.bzl | ||
index 4fccdcc..d848ede 100644 | ||
--- a/cc/defs.bzl | ||
+++ b/cc/defs.bzl | ||
@@ -13,7 +13,7 @@ | ||
# limitations under the License. | ||
"""Starlark rules for building C++ projects.""" | ||
|
||
-load("@com_google_protobuf//bazel:cc_proto_library.bzl", _cc_proto_library = "cc_proto_library") | ||
+load("//cc/private:cc_proto_library.bzl", _cc_proto_library = "cc_proto_library") | ||
load("//cc:cc_binary.bzl", _cc_binary = "cc_binary") | ||
load("//cc:cc_import.bzl", _cc_import = "cc_import") | ||
load("//cc:cc_library.bzl", _cc_library = "cc_library") | ||
diff --git a/cc/private/cc_proto_library.bzl b/cc/private/cc_proto_library.bzl | ||
new file mode 100644 | ||
index 0000000..bd94272 | ||
--- /dev/null | ||
+++ b/cc/private/cc_proto_library.bzl | ||
@@ -0,0 +1,6 @@ | ||
+"""Avoid the following issue by providing a native reexport: | ||
+https://github.com/bazelbuild/rules_cc/issues/274 | ||
+""" | ||
+ | ||
+def cc_proto_library(**kwargs): | ||
+ native.cc_proto_library(**kwargs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
"""Transitive repositories for Rust dependencies.""" | ||
|
||
load("@bazel_features//:deps.bzl", "bazel_features_deps") | ||
load("@rules_cc//cc:repositories.bzl", "rules_cc_dependencies") | ||
|
||
def rules_rust_transitive_dependencies(): | ||
"""Rust transitive repositories.""" | ||
rules_cc_dependencies() | ||
bazel_features_deps() |