Add clean_dep() around protobuf patch. Fixes TF when included as a submodule.

PiperOrigin-RevId: 254039911
This commit is contained in:
Peter Hawkins 2019-06-19 11:45:04 -07:00 committed by TensorFlower Gardener
parent 894149dcc1
commit f4e64ca17c

View File

@ -385,7 +385,7 @@ def tf_workspace(path_prefix = "", tf_repo_name = ""):
tf_http_archive(
name = "com_google_protobuf",
patch_file = PROTOBUF_PATCH,
patch_file = clean_dep(PROTOBUF_PATCH),
sha256 = PROTOBUF_SHA256,
strip_prefix = PROTOBUF_STRIP_PREFIX,
system_build_file = clean_dep("//third_party/systemlibs:protobuf.BUILD"),