Skip to content

Commit

Permalink
Switch to new rules_swift proto rules (#19)
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Robinson <[email protected]>
  • Loading branch information
mattrobmattrob authored Apr 8, 2024
1 parent 1e99588 commit 2884c88
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions BuildEventProtocol/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
load(
"@build_bazel_rules_swift//proto:proto.bzl",
"swift_proto_library_group",
)
load(
"@build_bazel_rules_swift//swift:swift.bzl",
"swift_module_alias",
"swift_proto_library",
)

# This is public API for the repository.
package(default_visibility = ["//visibility:public"])

swift_proto_library(
swift_proto_library_group(
name = "build_event_stream_proto_swift_internal",
proto = "@io_bazel//src/main/java/com/google/devtools/build/lib/buildeventstream/proto:build_event_stream_proto",
visibility = ["//visibility:public"],
deps = [
"@io_bazel//src/main/java/com/google/devtools/build/lib/buildeventstream/proto:build_event_stream_proto",
],
)

# Rename the Swift module so we can use `import build_event_stream_proto` instead
Expand Down

0 comments on commit 2884c88

Please sign in to comment.