-
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
28331a4
commit 9482410
Showing
17 changed files
with
188 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
"""Bzlmod internal extensions""" | ||
|
||
load("@bazel_ci_rules//:rbe_repo.bzl", "rbe_preconfig") | ||
|
||
def _rust_ext_dev_impl(module_ctx): | ||
deps = [] | ||
|
||
rbe_preconfig( | ||
name = "buildkite_config", | ||
toolchain = "ubuntu1804-bazel-java11", | ||
) | ||
|
||
deps.append(struct(repo = "buildkite_config")) | ||
|
||
# is_dev_dep is ignored here. It's not relevant for internal_deps, as dev | ||
# dependencies are only relevant for module extensions that can be used | ||
# by other MODULES. | ||
return module_ctx.extension_metadata( | ||
root_module_direct_deps = [], | ||
root_module_direct_dev_deps = [repo.repo for repo in deps], | ||
) | ||
|
||
rust_ext_dev = module_extension( | ||
doc = "Development dependencies for the rules_rust_bindgen extension.", | ||
implementation = _rust_ext_dev_impl, | ||
) |
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,26 @@ | ||
"""Bzlmod internal extensions""" | ||
|
||
load("@bazel_ci_rules//:rbe_repo.bzl", "rbe_preconfig") | ||
|
||
def _rust_ext_dev_impl(module_ctx): | ||
deps = [] | ||
|
||
rbe_preconfig( | ||
name = "buildkite_config", | ||
toolchain = "ubuntu1804-bazel-java11", | ||
) | ||
|
||
deps.append(struct(repo = "buildkite_config")) | ||
|
||
# is_dev_dep is ignored here. It's not relevant for internal_deps, as dev | ||
# dependencies are only relevant for module extensions that can be used | ||
# by other MODULES. | ||
return module_ctx.extension_metadata( | ||
root_module_direct_deps = [], | ||
root_module_direct_dev_deps = [repo.repo for repo in deps], | ||
) | ||
|
||
rust_ext_dev = module_extension( | ||
doc = "Development dependencies for the rules_rust_prost extension.", | ||
implementation = _rust_ext_dev_impl, | ||
) |
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
14 changes: 0 additions & 14 deletions
14
extensions/protobuf/3rdparty/patches/com_google_protobuf-v3.10.0-bzl_visibility.patch
This file was deleted.
Oops, something went wrong.
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,26 @@ | ||
"""Bzlmod internal extensions""" | ||
|
||
load("@bazel_ci_rules//:rbe_repo.bzl", "rbe_preconfig") | ||
|
||
def _rust_ext_dev_impl(module_ctx): | ||
deps = [] | ||
|
||
rbe_preconfig( | ||
name = "buildkite_config", | ||
toolchain = "ubuntu1804-bazel-java11", | ||
) | ||
|
||
deps.append(struct(repo = "buildkite_config")) | ||
|
||
# is_dev_dep is ignored here. It's not relevant for internal_deps, as dev | ||
# dependencies are only relevant for module extensions that can be used | ||
# by other MODULES. | ||
return module_ctx.extension_metadata( | ||
root_module_direct_deps = [], | ||
root_module_direct_dev_deps = [repo.repo for repo in deps], | ||
) | ||
|
||
rust_ext_dev = module_extension( | ||
doc = "Development dependencies for the rules_rust_protobuf extension.", | ||
implementation = _rust_ext_dev_impl, | ||
) |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
"""Bzlmod internal extensions""" | ||
|
||
load("@bazel_ci_rules//:rbe_repo.bzl", "rbe_preconfig") | ||
|
||
def _rust_ext_dev_impl(module_ctx): | ||
deps = [] | ||
|
||
rbe_preconfig( | ||
name = "buildkite_config", | ||
toolchain = "ubuntu1804-bazel-java11", | ||
) | ||
|
||
deps.append(struct(repo = "buildkite_config")) | ||
|
||
# is_dev_dep is ignored here. It's not relevant for internal_deps, as dev | ||
# dependencies are only relevant for module extensions that can be used | ||
# by other MODULES. | ||
return module_ctx.extension_metadata( | ||
root_module_direct_deps = [], | ||
root_module_direct_dev_deps = [repo.repo for repo in deps], | ||
) | ||
|
||
rust_ext_dev = module_extension( | ||
doc = "Development dependencies for the rules_rust_wasm_bindgen extension.", | ||
implementation = _rust_ext_dev_impl, | ||
) |