Skip to content

Commit ddadd0b

Browse files
protobuf-github-botcomius
authored andcommitted
Use rules_cc everywhere in protobuf
Nice to have in the future when rules_cc are in the repository, but not necessary ATM. PiperOrigin-RevId: 674352147
1 parent 3dd4835 commit ddadd0b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

bazel/private/bazel_cc_proto_library.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"""Bazel's implementation of cc_proto_library"""
99

1010
load("@rules_cc//cc:find_cc_toolchain.bzl", "use_cc_toolchain")
11+
load("@rules_cc//cc/common:cc_info.bzl", "CcInfo")
1112
load("//bazel/common:proto_common.bzl", "proto_common")
1213
load("//bazel/common:proto_info.bzl", "ProtoInfo")
1314
load("//bazel/private:cc_proto_support.bzl", "cc_proto_compile_and_link")

bazel/private/cc_proto_support.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
load("@proto_bazel_features//:features.bzl", "bazel_features")
1111
load("@rules_cc//cc:find_cc_toolchain.bzl", "find_cc_toolchain")
12+
load("@rules_cc//cc/common:cc_common.bzl", "cc_common")
13+
load("@rules_cc//cc/common:cc_info.bzl", "CcInfo")
1214

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

0 commit comments

Comments
 (0)