From eed3ab97e5cba16ef36e9ba4f9a67e5f19244e23 Mon Sep 17 00:00:00 2001 From: Gunhan Gulsoy Date: Fri, 2 Oct 2020 11:52:49 -0700 Subject: [PATCH] Internal refactoring, noop in oss. PiperOrigin-RevId: 335070962 Change-Id: I3dc0767cc10e44833471bbbce21b33dd1be16530 --- tensorflow/cc/saved_model/BUILD | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tensorflow/cc/saved_model/BUILD b/tensorflow/cc/saved_model/BUILD index 6c8b92790c6..056c99eed8e 100644 --- a/tensorflow/cc/saved_model/BUILD +++ b/tensorflow/cc/saved_model/BUILD @@ -42,13 +42,15 @@ cc_library( name = "reader", srcs = ["reader.cc"], hdrs = ["reader.h"], - deps = [":constants"] + if_not_mobile([ + deps = [ + ":constants", + "//tensorflow/core:protos_all_cc", + ] + if_not_mobile([ # TODO(b/111634734): :lib and :protos_all contain dependencies that # cannot be built on mobile platforms. Instead, include the appropriate # tf_lib depending on the build platform. "@com_google_absl//absl/memory:memory", "//tensorflow/core:lib", - "//tensorflow/core:protos_all_cc", ]), )