Skip to content

Commit

Permalink
Expose cc_proto_aspect from cc_proto_library
Browse files Browse the repository at this point in the history
Exposed under private, only intended to be used in rules_rust.

PiperOrigin-RevId: 688722865
  • Loading branch information
protobuf-github-bot authored and copybara-github committed Oct 22, 2024
1 parent 8376542 commit 50689dc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bazel/private/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,12 @@ bzl_library(
],
)

bzl_library(
name = "cc_proto_aspect_bzl",
srcs = ["cc_proto_aspect.bzl"],
deps = [":bazel_cc_proto_library_bzl"],
)

bzl_library(
name = "toolchain_helpers_bzl",
srcs = [
Expand Down
5 changes: 5 additions & 0 deletions bazel/private/cc_proto_aspect.bzl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"""Exposes cc_proto_aspect to rules_rust"""

load("//bazel/private:bazel_cc_proto_library.bzl", _cc_proto_aspect = "cc_proto_aspect")

cc_proto_aspect = _cc_proto_aspect

0 comments on commit 50689dc

Please sign in to comment.