mirror of
https://github.com/protocolbuffers/protobuf
synced 2026-08-26 02:23:14 -04:00
bazel: add missing rules_cc loads (#23584)
This is required for use with bazel after this commit71ca0ed111Many files have these already Closes #23584 COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/23584 from keith:ks/bazel-add-missing-rules_cc-loads733a0ccf6fPiperOrigin-RevId: 817836399
This commit is contained in:
parent
35b6ac9675
commit
68220a862a
12 changed files with 16 additions and 0 deletions
|
|
@ -5,6 +5,9 @@
|
|||
# license that can be found in the LICENSE file or at
|
||||
# https://developers.google.com/open-source/licenses/bsd
|
||||
|
||||
load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
|
||||
load("@rules_cc//cc:cc_library.bzl", "cc_library")
|
||||
load("@rules_cc//cc:cc_test.bzl", "cc_test")
|
||||
load("//bazel:proto_library.bzl", "proto_library")
|
||||
load(
|
||||
"//lua:lua_proto_library.bzl",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
# Tests for CMake file list generation
|
||||
|
||||
load("@rules_cc//cc:cc_library.bzl", "cc_library")
|
||||
load("@rules_shell//shell:sh_test.bzl", "sh_test")
|
||||
load("//pkg:build_systems.bzl", "gen_file_lists")
|
||||
load("//pkg:cc_dist_library.bzl", "cc_dist_library")
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
load("@build_bazel_rules_apple//apple:apple_binary.bzl", "apple_binary")
|
||||
load("@rules_cc//cc:cc_library.bzl", "cc_library")
|
||||
load("@rules_pkg//pkg:mappings.bzl", "pkg_files", "strip_prefix")
|
||||
load("//upb/cmake:build_defs.bzl", "staleness_test")
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
|
||||
load("@rules_java//java:java_binary.bzl", "java_binary")
|
||||
load("@rules_pkg//pkg:mappings.bzl", "pkg_files", "strip_prefix")
|
||||
load("@rules_ruby//ruby:defs.bzl", "rb_library")
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
"""This file implements rust_proto_library."""
|
||||
|
||||
load("@rules_cc//cc/common:cc_info.bzl", "CcInfo")
|
||||
load("@rules_rust//rust:defs.bzl", "rust_common")
|
||||
load("@rules_rust//rust:rust_common.bzl", "CrateInfo", "DepInfo")
|
||||
load("//bazel/common:proto_common.bzl", "proto_common")
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
# Protocol Buffers Compiler - C++ code generator
|
||||
################################################################################
|
||||
|
||||
load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
|
||||
load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test")
|
||||
load("@rules_pkg//pkg:mappings.bzl", "pkg_files", "strip_prefix")
|
||||
load("//bazel:cc_proto_library.bzl", "cc_proto_library")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
# We use abbreviated target names in this directory to work around:
|
||||
# https://github.com/bazelbuild/bazel/issues/18683
|
||||
|
||||
load("@rules_cc//cc:cc_library.bzl", "cc_library")
|
||||
load("//build_defs:cpp_opts.bzl", "COPTS")
|
||||
|
||||
cc_library(
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
load("@rules_cc//cc:cc_library.bzl", "cc_library")
|
||||
load("//build_defs:cpp_opts.bzl", "COPTS")
|
||||
|
||||
cc_library(
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
load("@rules_cc//cc:cc_library.bzl", "cc_library")
|
||||
load("//build_defs:cpp_opts.bzl", "COPTS")
|
||||
|
||||
cc_library(
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
# Protocol Buffers Compiler - PHP code generator
|
||||
################################################################################
|
||||
|
||||
load("@rules_cc//cc:cc_test.bzl", "cc_test")
|
||||
load("@rules_cc//cc:defs.bzl", "cc_library")
|
||||
load("@rules_pkg//pkg:mappings.bzl", "pkg_files", "strip_prefix")
|
||||
load("//build_defs:cpp_opts.bzl", "COPTS")
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@
|
|||
# Protocol Buffers Compiler - Rust code generator
|
||||
################################################################################
|
||||
|
||||
load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
|
||||
load("@rules_cc//cc:cc_test.bzl", "cc_test")
|
||||
load("@rules_cc//cc:defs.bzl", "cc_library")
|
||||
load("//build_defs:cpp_opts.bzl", "COPTS")
|
||||
load(
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
|
||||
load("@rules_cc//cc/toolchains:cc_toolchain.bzl", "cc_toolchain")
|
||||
load("@rules_cc//cc/toolchains:cc_toolchain_suite.bzl", "cc_toolchain_suite")
|
||||
load(":cc_toolchain_config.bzl", "cc_toolchain_config")
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue