Skip to content

Commit

Permalink
Reference patch files using a bazel Label
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 544762972
Change-Id: Ib6655c9a85b199d5992a5417cd45ab3228f283ab
  • Loading branch information
laramiel authored and copybara-github committed Jun 30, 2023
1 parent d419261 commit 27d221b
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion third_party/com_github_grpc_grpc/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def repo():
"https://storage.googleapis.com/tensorstore-bazel-mirror/github.com/grpc/grpc/archive/v1.55.0.tar.gz",
],
patches = [
"//third_party:com_github_grpc_grpc/patches/update_build_system.diff",
Label("//third_party:com_github_grpc_grpc/patches/update_build_system.diff"),
],
patch_args = ["-p1"],
repo_mapping = {
Expand Down
2 changes: 1 addition & 1 deletion third_party/com_google_boringssl/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def repo():
patches = [
# boringssl sets -Werror by default. That makes the build fragile
# and likely to break with new compiler versions.
"//third_party:com_google_boringssl/patches/no-Werror.diff",
Label("//third_party:com_google_boringssl/patches/no-Werror.diff"),
],
patch_args = ["-p1"],
cmake_name = "OpenSSL",
Expand Down
2 changes: 1 addition & 1 deletion third_party/com_google_protobuf/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def repo():
],
patches = [
# protobuf uses rules_python, but we just use the native python rules.
"//third_party:com_google_protobuf/patches/remove_rules_python_dependency.diff",
Label("//third_party:com_google_protobuf/patches/remove_rules_python_dependency.diff"),
],
patch_args = ["-p1"],
repo_mapping = {
Expand Down
4 changes: 2 additions & 2 deletions third_party/com_google_protobuf_upb/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ def repo():
# not installed system-wide, it is necessary to specify
# `use_default_shell_env = True` in order to be able to execute
# compiled binaries.
"//third_party:com_google_protobuf_upb/patches/use_default_shell_env.diff",
Label("//third_party:com_google_protobuf_upb/patches/use_default_shell_env.diff"),

# bootstrap.diff includes the pre-compiled source for plugin.proto and
# descriptor.proto, used for bootstrapping the cmake build, which also breaks
# a big dependency on @com_google_protobuf.
"//third_party:com_google_protobuf_upb/patches/bootstrap.diff",
Label("//third_party:com_google_protobuf_upb/patches/bootstrap.diff"),
],
patch_args = ["-p1"],
repo_mapping = {
Expand Down
2 changes: 1 addition & 1 deletion third_party/com_google_riegeli/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def repo():
sha256 = "d17b323ce1c8bdf73d9947ad13384ce8aa72adce6ead9b66dd4e6dbf2f013e50",
patches = [
# Use absl crc32c rather than separate crc32c library.
"//third_party:com_google_riegeli/patches/absl-crc32c.diff",
Label("//third_party:com_google_riegeli/patches/absl-crc32c.diff"),
],
patch_args = ["-p1"],
repo_mapping = {
Expand Down
2 changes: 1 addition & 1 deletion third_party/net_sourceforge_half/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def repo():
build_file = Label("//third_party:net_sourceforge_half/bundled.BUILD.bazel"),
patches = [
# https://sourceforge.net/p/half/discussion/general/thread/86298c105c/
"//third_party:net_sourceforge_half/patches/detail_raise.patch",
Label("//third_party:net_sourceforge_half/patches/detail_raise.patch"),
],
patch_args = ["-p1"],
cmake_name = "half",
Expand Down
2 changes: 1 addition & 1 deletion third_party/org_aomedia_aom/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def repo():
build_file = Label("//third_party:org_aomedia_aom/libaom.BUILD.bazel"),
patches = [
# https://bugs.chromium.org/p/aomedia/issues/detail?id=3395
"//third_party:org_aomedia_aom/patches/fix-3395.diff",
Label("//third_party:org_aomedia_aom/patches/fix-3395.diff"),
],
patch_args = ["-p1"],
cmake_name = "aom",
Expand Down
2 changes: 1 addition & 1 deletion third_party/org_blosc_cblosc/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def repo():
system_build_file = Label("//third_party:org_blosc_cblosc/system.BUILD.bazel"),
patches = [
# https://github.com/Blosc/c-blosc/pull/362
"//third_party:org_blosc_cblosc/patches/fix-mingw64.diff",
Label("//third_party:org_blosc_cblosc/patches/fix-mingw64.diff"),
],
patch_args = ["-p1"],
cmake_name = "Blosc",
Expand Down

0 comments on commit 27d221b

Please sign in to comment.