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: 686760344
pull/18821/head
Protobuf Team Bot 5 months ago committed by Copybara-Service
parent 50e3b1b66c
commit b956147ce1
  1. 1
      bazel/private/bazel_cc_proto_library.bzl
  2. 2
      bazel/private/cc_proto_support.bzl

@ -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")

@ -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.

Loading…
Cancel
Save