Resolve trivial aliases for portable TensorFlow targets.

PiperOrigin-RevId: 311127183
Change-Id: I9011f48a3a753d0fdae5cff869a1b28ff1ccda3a
This commit is contained in:
A. Unique TensorFlower 2020-05-12 08:10:51 -07:00 committed by TensorFlower Gardener
parent 773813a426
commit 6bb9ca398d
4 changed files with 13 additions and 13 deletions

View File

@ -178,7 +178,7 @@ cc_library_with_android_deps(
name = "ops", name = "ops",
srcs = ["framework/ops.cc"], srcs = ["framework/ops.cc"],
hdrs = ["framework/ops.h"], hdrs = ["framework/ops.h"],
android_deps = ["//tensorflow/core:android_tensorflow_lib"], android_deps = ["//tensorflow/core:portable_tensorflow_lib"],
deps = [ deps = [
"//tensorflow/core:core_cpu", "//tensorflow/core:core_cpu",
"//tensorflow/core:framework", "//tensorflow/core:framework",
@ -197,7 +197,7 @@ cc_library_with_android_deps(
"framework/scope_internal.h", "framework/scope_internal.h",
], ],
hdrs = ["framework/scope.h"], hdrs = ["framework/scope.h"],
android_deps = ["//tensorflow/core:android_tensorflow_lib"], android_deps = ["//tensorflow/core:portable_tensorflow_lib"],
common_deps = [ common_deps = [
":ops", ":ops",
], ],
@ -237,7 +237,7 @@ cc_library_with_android_deps(
name = "client_session", name = "client_session",
srcs = ["client/client_session.cc"], srcs = ["client/client_session.cc"],
hdrs = ["client/client_session.h"], hdrs = ["client/client_session.h"],
android_deps = ["//tensorflow/core:android_tensorflow_lib"], android_deps = ["//tensorflow/core:portable_tensorflow_lib"],
common_deps = [ common_deps = [
":ops", ":ops",
":scope", ":scope",
@ -275,7 +275,7 @@ cc_library_with_android_deps(
srcs = ["ops/const_op.cc"], srcs = ["ops/const_op.cc"],
hdrs = ["ops/const_op.h"], hdrs = ["ops/const_op.h"],
android_deps = [ android_deps = [
"//tensorflow/core:android_tensorflow_lib", "//tensorflow/core:portable_tensorflow_lib",
], ],
common_deps = [ common_deps = [
":ops", ":ops",
@ -304,7 +304,7 @@ cc_library_with_android_deps(
srcs = ["ops/while_loop.cc"], srcs = ["ops/while_loop.cc"],
hdrs = ["ops/while_loop.h"], hdrs = ["ops/while_loop.h"],
android_deps = [ android_deps = [
"//tensorflow/core:android_tensorflow_lib", "//tensorflow/core:portable_tensorflow_lib",
], ],
common_deps = [ common_deps = [
":cc_ops", ":cc_ops",

View File

@ -1271,7 +1271,7 @@ filegroup(
"//tensorflow/core/platform:mobile_srcs_no_runtime", "//tensorflow/core/platform:mobile_srcs_no_runtime",
"//tensorflow/core/public:mobile_srcs_no_runtime", "//tensorflow/core/public:mobile_srcs_no_runtime",
"//tensorflow/core/util:mobile_srcs_no_runtime", "//tensorflow/core/util:mobile_srcs_no_runtime",
"//tensorflow/core/util/ctc:android_srcs", "//tensorflow/core/util/ctc:mobile_srcs",
] + glob( ] + glob(
[ [
"client/**/*.cc", "client/**/*.cc",
@ -1301,12 +1301,12 @@ filegroup(
"//tensorflow/core/common_runtime/eager:srcs", "//tensorflow/core/common_runtime/eager:srcs",
"//tensorflow/core/framework:mobile_srcs_only_runtime", "//tensorflow/core/framework:mobile_srcs_only_runtime",
"//tensorflow/core/graph:mobile_srcs_only_runtime", "//tensorflow/core/graph:mobile_srcs_only_runtime",
"//tensorflow/core/kernels:android_srcs", "//tensorflow/core/kernels:mobile_srcs",
"//tensorflow/core/lib/io:mobile_srcs_only_runtime", "//tensorflow/core/lib/io:mobile_srcs_only_runtime",
"//tensorflow/core/profiler:mobile_srcs", "//tensorflow/core/profiler:mobile_srcs",
"//tensorflow/core/public:mobile_srcs_only_runtime", "//tensorflow/core/public:mobile_srcs_only_runtime",
"//tensorflow/core/util/sparse:mobile_srcs_only_runtime", "//tensorflow/core/util/sparse:mobile_srcs_only_runtime",
"//tensorflow/core/util/tensor_bundle:android_srcs", "//tensorflow/core/util/tensor_bundle:mobile_srcs",
"//tensorflow/core/util:mobile_srcs_only_runtime", "//tensorflow/core/util:mobile_srcs_only_runtime",
# Sources for which we already have granular targets. # Sources for which we already have granular targets.

View File

@ -7096,7 +7096,7 @@ cc_library(
build_test( build_test(
name = "android_tensorflow_kernels_build_test", name = "android_tensorflow_kernels_build_test",
targets = [":android_tensorflow_kernels"], targets = [":portable_tensorflow_kernels"],
) )
cc_library( cc_library(
@ -7109,7 +7109,7 @@ cc_library(
"//tensorflow/core:android_gif_internal", "//tensorflow/core:android_gif_internal",
"//tensorflow/core:android_jpeg_internal", "//tensorflow/core:android_jpeg_internal",
"//tensorflow/core:android_png_internal", "//tensorflow/core:android_png_internal",
"//tensorflow/core:android_tensorflow_lib_lite", "//tensorflow/core:portable_tensorflow_lib_lite",
], ],
alwayslink = 1, alwayslink = 1,
) )
@ -7126,7 +7126,7 @@ cc_library(
linkopts = ["-ldl"], linkopts = ["-ldl"],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
"//tensorflow/core:android_tensorflow_lib_lite", "//tensorflow/core:portable_tensorflow_lib_lite",
], ],
alwayslink = 1, alwayslink = 1,
) )

View File

@ -34,7 +34,7 @@ cc_library(
copts = tf_copts(), copts = tf_copts(),
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
"//tensorflow/core:android_tensorflow_lib_lite", "//tensorflow/core:portable_tensorflow_lib_lite",
"//tensorflow/java/src/main/native", "//tensorflow/java/src/main/native",
], ],
alwayslink = 1, alwayslink = 1,
@ -83,7 +83,7 @@ cc_binary(
], ],
deps = [ deps = [
":android_tensorflow_inference_jni", ":android_tensorflow_inference_jni",
"//tensorflow/core:android_tensorflow_lib", "//tensorflow/core:portable_tensorflow_lib",
LINKER_SCRIPT, LINKER_SCRIPT,
], ],
) )