Add load statements for @rules_proto (#271)

This makes upb compatible with --incompatible_load_proto_rules_from_bzl.
See https://github.com/bazelbuild/bazel/issues/8922
pull/13171/head
Yannic 5 years ago committed by GitHub
parent 2559e78aa3
commit d638d74d1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      BUILD
  2. 1
      bazel/upb_proto_library.bzl
  3. 2
      examples/bazel/BUILD

@ -1,3 +1,7 @@
load(
"@rules_proto//proto:defs.bzl",
"proto_library",
)
load(
"//bazel:build_defs.bzl",
"generated_file_staleness_test",

@ -5,6 +5,7 @@
load("@bazel_skylib//lib:paths.bzl", "paths")
load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain")
load("@rules_proto//proto:defs.bzl", "ProtoInfo")
# Generic support code #########################################################

@ -1,4 +1,4 @@
load("@rules_proto//proto:defs.bzl", "proto_library")
load("@upb//bazel:upb_proto_library.bzl", "upb_proto_library")
proto_library(

Loading…
Cancel
Save