Skip to content

Commit 7614927

Browse files
deannagarciacopybara-github
authored andcommitted
Wrap build file dependencies in Label() so they can be used in other repos.
PiperOrigin-RevId: 498262393
1 parent 88ec26f commit 7614927

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

protobuf_deps.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def protobuf_deps():
4848
if not native.existing_rule("zlib"):
4949
http_archive(
5050
name = "zlib",
51-
build_file = "//:third_party/zlib.BUILD",
51+
build_file = Label("//:third_party/zlib.BUILD"),
5252
sha256 = "d14c38e313afc35a9a8760dadf26042f51ea0f5d154b0630a31da0540107fb98",
5353
strip_prefix = "zlib-1.2.13",
5454
urls = [
@@ -60,7 +60,7 @@ def protobuf_deps():
6060
if not native.existing_rule("jsoncpp"):
6161
http_archive(
6262
name = "jsoncpp",
63-
build_file = "//:third_party/jsoncpp.BUILD",
63+
build_file = Label("//:third_party/jsoncpp.BUILD"),
6464
sha256 = "e34a628a8142643b976c7233ef381457efad79468c67cb1ae0b83a33d7493999",
6565
strip_prefix = "jsoncpp-1.9.4",
6666
urls = ["https://github.com/open-source-parsers/jsoncpp/archive/refs/tags/1.9.4.tar.gz"],

0 commit comments

Comments
 (0)