From e253b6ec0377ae817e7efef0054ec1fbcd59747c Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Sat, 19 Feb 2022 13:24:20 -0800 Subject: [PATCH] Added a note that users calling upb_deps() must first depend on protobuf. --- bazel/workspace_deps.bzl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bazel/workspace_deps.bzl b/bazel/workspace_deps.bzl index 1da7532856..9e9e8459a5 100644 --- a/bazel/workspace_deps.bzl +++ b/bazel/workspace_deps.bzl @@ -1,5 +1,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") + +# Any users of upb must define the protobuf repo must depend explicitly on +# protobuf prior to loading and calling upb_deps(). load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") def upb_deps():