Converting some of the dependencies in tensorflow/c/BUILD to use portable_tensorflow_lib_lite_no_runtime.

PiperOrigin-RevId: 311814443
Change-Id: I42e75403c81babba32d4b9bb99ab4eed21e6ba44
This commit is contained in:
Anna R 2020-05-15 15:40:20 -07:00 committed by TensorFlower Gardener
parent f7d5cb929b
commit b6284742e4
2 changed files with 9 additions and 2 deletions

View File

@ -394,8 +394,14 @@ tf_cuda_library(
deps = [
":tf_status",
":tf_status_internal",
"//tensorflow/core:lib",
],
] + select({
"//tensorflow:android": [
"//tensorflow/core:portable_tensorflow_lib_lite", # TODO(annarev): exclude runtime srcs
],
"//conditions:default": [
"//tensorflow/core:lib",
],
}),
)
tf_cc_test(

View File

@ -509,6 +509,7 @@ filegroup(
filegroup(
name = "mobile_srcs_no_runtime",
srcs = [
"casts.h",
"context.h",
"dynamic_annotations.h",
"env.cc",