Skip to content

Commit 62dead9

Browse files
author
Aalyria Technologies, Inc
committed
Import changes.
- 11793966d7a69bffaeeff17bff21f552b90b6a6c GitOrigin-RevId: 11793966d7a69bffaeeff17bff21f552b90b6a6c
1 parent a201385 commit 62dead9

4 files changed

Lines changed: 11 additions & 0 deletions

File tree

MODULE.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ bazel_dep(name = "googleapis", version = "0.0.0-20241220-5e258e33.bcr.1")
2020
bazel_dep(name = "googleapis-python", version = "1.0.0")
2121
bazel_dep(name = "googleapis-java", version = "1.0.0")
2222
bazel_dep(name = "googleapis-cc", version = "1.0.0")
23+
bazel_dep(name = "rules_cc", version = "0.2.16")
2324
bazel_dep(name = "rules_go", version = "0.58.3")
2425
bazel_dep(name = "rules_java", version = "8.15.1")
2526
bazel_dep(name = "rules_jvm_external", version = "6.8")
@@ -33,6 +34,7 @@ bazel_dep(name = "rules_proto_grpc_python", version = "5.6.0")
3334
bazel_dep(name = "rules_python", version = "1.6.3")
3435
bazel_dep(name = "rules_rust", version = "0.69.0")
3536
bazel_dep(name = "rules_rust_prost", version = "0.69.0")
37+
bazel_dep(name = "rules_shell", version = "0.6.1")
3638
bazel_dep(name = "aspect_rules_py", version = "1.8.4")
3739
bazel_dep(name = "toolchains_protoc", version = "0.4.3")
3840

bazel/java_format_rules/def.bzl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,22 @@ load("@bazel_skylib//lib:shell.bzl", "shell")
1818
def _java_format_test_impl(ctx):
1919
out_file = ctx.actions.declare_file(ctx.label.name + ".bash")
2020
runfiles = [ctx.executable.google_java_format]
21+
22+
# buildifier: disable=canonical-repository
2123
substitutions = {
2224
"@@GOOGLE_JAVA_FORMAT@@": shell.quote(ctx.executable.google_java_format.short_path),
2325
"@@SRCS@@": "",
2426
}
2527
if ctx.file.workspace != None:
2628
runfiles.append(ctx.file.workspace)
29+
30+
# buildifier: disable=canonical-repository
2731
substitutions["@@WORKSPACE@@"] = ctx.file.workspace.path
2832
else:
2933
for f in ctx.files.srcs:
3034
runfiles.append(f)
35+
36+
# buildifier: disable=canonical-repository
3137
substitutions["@@SRCS@@"] = " ".join([shell.quote(f.short_path) for f in ctx.files.srcs])
3238

3339
ctx.actions.expand_template(

third_party/java/google_java_format/BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
load("@rules_java//java:java_binary.bzl", "java_binary")
16+
1517
java_binary(
1618
name = "google_java_format",
1719
jvm_flags = [

tools/nbictl/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
# internal packages apart from those found in //api.
1717

1818
load("@rules_go//go:def.bzl", "go_library", "go_test")
19+
load("@rules_shell//shell:sh_test.bzl", "sh_test")
1920
load("//:version.bzl", "VERSION")
2021

2122
go_library(

0 commit comments

Comments
 (0)