diff --git a/bazel/upb_proto_library.bzl b/bazel/upb_proto_library.bzl index 9618efeda5..7efd560b3e 100644 --- a/bazel/upb_proto_library.bzl +++ b/bazel/upb_proto_library.bzl @@ -18,6 +18,7 @@ def _get_real_short_path(file): if short_path.startswith("../"): second_slash = short_path.index("/", 3) short_path = short_path[second_slash + 1:] + # Sometimes it has another few prefixes like: # _virtual_imports/any_proto/google/protobuf/any.proto # We want just google/protobuf/any.proto. diff --git a/bazel/workspace_deps.bzl b/bazel/workspace_deps.bzl index 2d071f5ce4..4251d55ee5 100644 --- a/bazel/workspace_deps.bzl +++ b/bazel/workspace_deps.bzl @@ -9,7 +9,7 @@ def upb_deps(): name = "com_google_absl", commit = "df3ea785d8c30a9503321a3d35ee7d35808f190d", # LTS 2020-02-25 remote = "https://github.com/abseil/abseil-cpp.git", - shallow_since = "1583355457 -0500" + shallow_since = "1583355457 -0500", ) maybe(