Automated Code Change

PiperOrigin-RevId: 650549584
pull/17377/head
Protobuf Team Bot 8 months ago committed by Copybara-Service
parent 770090e901
commit e2c4d0f27e
  1. 1
      bazel/private/upb_proto_library_internal/aspect.bzl
  2. 1
      bazel/upb_c_proto_library.bzl
  3. 1
      bazel/upb_minitable_proto_library.bzl
  4. 2
      bazel/upb_proto_reflection_library.bzl
  5. 2
      lua/lua_proto_library.bzl
  6. 2
      protos/bazel/BUILD
  7. 2
      protos/bazel/upb_cc_proto_library.bzl

@ -2,6 +2,7 @@
load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain") load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain")
load("//bazel/common:proto_common.bzl", "proto_common") load("//bazel/common:proto_common.bzl", "proto_common")
load("//bazel/common:proto_info.bzl", "ProtoInfo")
load(":upb_proto_library_internal/cc_library_func.bzl", "cc_library_func") load(":upb_proto_library_internal/cc_library_func.bzl", "cc_library_func")
load(":upb_proto_library_internal/copts.bzl", "UpbProtoLibraryCoptsInfo") load(":upb_proto_library_internal/copts.bzl", "UpbProtoLibraryCoptsInfo")

@ -1,6 +1,7 @@
"""upb_c_proto_library() exposes upb's generated C API for protobuf (foo.upb.h)""" """upb_c_proto_library() exposes upb's generated C API for protobuf (foo.upb.h)"""
load("//bazel:upb_minitable_proto_library.bzl", "UpbMinitableCcInfo", "upb_minitable_proto_library_aspect") load("//bazel:upb_minitable_proto_library.bzl", "UpbMinitableCcInfo", "upb_minitable_proto_library_aspect")
load("//bazel/common:proto_info.bzl", "ProtoInfo")
load("//bazel/private:upb_proto_library_internal/aspect.bzl", "upb_proto_aspect_impl") load("//bazel/private:upb_proto_library_internal/aspect.bzl", "upb_proto_aspect_impl")
load("//bazel/private:upb_proto_library_internal/cc_library_func.bzl", "upb_use_cpp_toolchain") load("//bazel/private:upb_proto_library_internal/cc_library_func.bzl", "upb_use_cpp_toolchain")
load("//bazel/private:upb_proto_library_internal/rule.bzl", "upb_proto_rule_impl") load("//bazel/private:upb_proto_library_internal/rule.bzl", "upb_proto_rule_impl")

@ -1,5 +1,6 @@
"""upb_minitable_proto_library() exposes upb's generated minitables (foo.upb_minitable.h)""" """upb_minitable_proto_library() exposes upb's generated minitables (foo.upb_minitable.h)"""
load("//bazel/common:proto_info.bzl", "ProtoInfo")
load("//bazel/private:upb_proto_library_internal/aspect.bzl", "upb_proto_aspect_impl") load("//bazel/private:upb_proto_library_internal/aspect.bzl", "upb_proto_aspect_impl")
load("//bazel/private:upb_proto_library_internal/cc_library_func.bzl", "upb_use_cpp_toolchain") load("//bazel/private:upb_proto_library_internal/cc_library_func.bzl", "upb_use_cpp_toolchain")
load("//bazel/private:upb_proto_library_internal/rule.bzl", "upb_proto_rule_impl") load("//bazel/private:upb_proto_library_internal/rule.bzl", "upb_proto_rule_impl")

@ -1,6 +1,8 @@
"""upb_c_proto_reflection_library() exposes upb reflection for protobuf (foo.upbdefs.h)""" """upb_c_proto_reflection_library() exposes upb reflection for protobuf (foo.upbdefs.h)"""
load("//bazel:upb_minitable_proto_library.bzl", "UpbMinitableCcInfo", "upb_minitable_proto_library_aspect") load("//bazel:upb_minitable_proto_library.bzl", "UpbMinitableCcInfo", "upb_minitable_proto_library_aspect")
load("//bazel/common:proto_common.bzl", "proto_common")
load("//bazel/common:proto_info.bzl", "ProtoInfo")
load("//bazel/private:upb_proto_library_internal/aspect.bzl", "upb_proto_aspect_impl") load("//bazel/private:upb_proto_library_internal/aspect.bzl", "upb_proto_aspect_impl")
load("//bazel/private:upb_proto_library_internal/cc_library_func.bzl", "upb_use_cpp_toolchain") load("//bazel/private:upb_proto_library_internal/cc_library_func.bzl", "upb_use_cpp_toolchain")
load("//bazel/private:upb_proto_library_internal/rule.bzl", "upb_proto_rule_impl") load("//bazel/private:upb_proto_library_internal/rule.bzl", "upb_proto_rule_impl")

@ -4,10 +4,10 @@
# Use of this source code is governed by a BSD-style # Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file or at # license that can be found in the LICENSE file or at
# https://developers.google.com/open-source/licenses/bsd # https://developers.google.com/open-source/licenses/bsd
"""lua_proto_library(): a rule for building Lua protos.""" """lua_proto_library(): a rule for building Lua protos."""
load("@bazel_skylib//lib:paths.bzl", "paths") load("@bazel_skylib//lib:paths.bzl", "paths")
load("//bazel/common:proto_info.bzl", "ProtoInfo")
# Generic support code ######################################################### # Generic support code #########################################################

@ -19,7 +19,9 @@ bzl_library(
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
"//bazel:upb_proto_library_bzl", "//bazel:upb_proto_library_bzl",
"//bazel/common:proto_info_bzl",
"@bazel_skylib//lib:paths", "@bazel_skylib//lib:paths",
"@bazel_tools//tools/cpp:toolchain_utils",
"@bazel_tools//tools/cpp:toolchain_utils.bzl", "@bazel_tools//tools/cpp:toolchain_utils.bzl",
], ],
) )

@ -4,7 +4,6 @@
# Use of this source code is governed by a BSD-style # Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file or at # license that can be found in the LICENSE file or at
# https://developers.google.com/open-source/licenses/bsd # https://developers.google.com/open-source/licenses/bsd
"""Public rules for using upb protos: """Public rules for using upb protos:
- upb_cc_proto_library() - upb_cc_proto_library()
""" """
@ -12,6 +11,7 @@
load("@bazel_skylib//lib:paths.bzl", "paths") load("@bazel_skylib//lib:paths.bzl", "paths")
load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain", "use_cpp_toolchain") load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain", "use_cpp_toolchain")
load("//bazel:upb_proto_library.bzl", "GeneratedSrcsInfo", "UpbWrappedCcInfo", "upb_proto_library_aspect") load("//bazel:upb_proto_library.bzl", "GeneratedSrcsInfo", "UpbWrappedCcInfo", "upb_proto_library_aspect")
load("//bazel/common:proto_info.bzl", "ProtoInfo")
# begin:google_only # begin:google_only
# #

Loading…
Cancel
Save