Skip to content

Commit

Permalink
Use rules_cc everywhere in protobuf
Browse files Browse the repository at this point in the history
Nice to have in the future when rules_cc are in the repository, but not necessary ATM.

PiperOrigin-RevId: 674352147
  • Loading branch information
protobuf-github-bot authored and comius committed Oct 15, 2024
1 parent 3dd4835 commit ddadd0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions bazel/private/bazel_cc_proto_library.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"""Bazel's implementation of cc_proto_library"""

load("@rules_cc//cc:find_cc_toolchain.bzl", "use_cc_toolchain")
load("@rules_cc//cc/common:cc_info.bzl", "CcInfo")
load("//bazel/common:proto_common.bzl", "proto_common")
load("//bazel/common:proto_info.bzl", "ProtoInfo")
load("//bazel/private:cc_proto_support.bzl", "cc_proto_compile_and_link")
Expand Down
2 changes: 2 additions & 0 deletions bazel/private/cc_proto_support.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

load("@proto_bazel_features//:features.bzl", "bazel_features")
load("@rules_cc//cc:find_cc_toolchain.bzl", "find_cc_toolchain")
load("@rules_cc//cc/common:cc_common.bzl", "cc_common")
load("@rules_cc//cc/common:cc_info.bzl", "CcInfo")

def get_feature_configuration(ctx, has_sources, extra_requested_features = []):
"""Returns C++ feature configuration for compiling and linking generated C++ files.
Expand Down

0 comments on commit ddadd0b

Please sign in to comment.