Resolve trivial aliases for portable TensorFlow targets.
PiperOrigin-RevId: 311127183 Change-Id: I9011f48a3a753d0fdae5cff869a1b28ff1ccda3a
This commit is contained in:
parent
773813a426
commit
6bb9ca398d
|
@ -178,7 +178,7 @@ cc_library_with_android_deps(
|
|||
name = "ops",
|
||||
srcs = ["framework/ops.cc"],
|
||||
hdrs = ["framework/ops.h"],
|
||||
android_deps = ["//tensorflow/core:android_tensorflow_lib"],
|
||||
android_deps = ["//tensorflow/core:portable_tensorflow_lib"],
|
||||
deps = [
|
||||
"//tensorflow/core:core_cpu",
|
||||
"//tensorflow/core:framework",
|
||||
|
@ -197,7 +197,7 @@ cc_library_with_android_deps(
|
|||
"framework/scope_internal.h",
|
||||
],
|
||||
hdrs = ["framework/scope.h"],
|
||||
android_deps = ["//tensorflow/core:android_tensorflow_lib"],
|
||||
android_deps = ["//tensorflow/core:portable_tensorflow_lib"],
|
||||
common_deps = [
|
||||
":ops",
|
||||
],
|
||||
|
@ -237,7 +237,7 @@ cc_library_with_android_deps(
|
|||
name = "client_session",
|
||||
srcs = ["client/client_session.cc"],
|
||||
hdrs = ["client/client_session.h"],
|
||||
android_deps = ["//tensorflow/core:android_tensorflow_lib"],
|
||||
android_deps = ["//tensorflow/core:portable_tensorflow_lib"],
|
||||
common_deps = [
|
||||
":ops",
|
||||
":scope",
|
||||
|
@ -275,7 +275,7 @@ cc_library_with_android_deps(
|
|||
srcs = ["ops/const_op.cc"],
|
||||
hdrs = ["ops/const_op.h"],
|
||||
android_deps = [
|
||||
"//tensorflow/core:android_tensorflow_lib",
|
||||
"//tensorflow/core:portable_tensorflow_lib",
|
||||
],
|
||||
common_deps = [
|
||||
":ops",
|
||||
|
@ -304,7 +304,7 @@ cc_library_with_android_deps(
|
|||
srcs = ["ops/while_loop.cc"],
|
||||
hdrs = ["ops/while_loop.h"],
|
||||
android_deps = [
|
||||
"//tensorflow/core:android_tensorflow_lib",
|
||||
"//tensorflow/core:portable_tensorflow_lib",
|
||||
],
|
||||
common_deps = [
|
||||
":cc_ops",
|
||||
|
|
|
@ -1271,7 +1271,7 @@ filegroup(
|
|||
"//tensorflow/core/platform:mobile_srcs_no_runtime",
|
||||
"//tensorflow/core/public:mobile_srcs_no_runtime",
|
||||
"//tensorflow/core/util:mobile_srcs_no_runtime",
|
||||
"//tensorflow/core/util/ctc:android_srcs",
|
||||
"//tensorflow/core/util/ctc:mobile_srcs",
|
||||
] + glob(
|
||||
[
|
||||
"client/**/*.cc",
|
||||
|
@ -1301,12 +1301,12 @@ filegroup(
|
|||
"//tensorflow/core/common_runtime/eager:srcs",
|
||||
"//tensorflow/core/framework: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/profiler:mobile_srcs",
|
||||
"//tensorflow/core/public: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",
|
||||
|
||||
# Sources for which we already have granular targets.
|
||||
|
|
|
@ -7096,7 +7096,7 @@ cc_library(
|
|||
|
||||
build_test(
|
||||
name = "android_tensorflow_kernels_build_test",
|
||||
targets = [":android_tensorflow_kernels"],
|
||||
targets = [":portable_tensorflow_kernels"],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
|
@ -7109,7 +7109,7 @@ cc_library(
|
|||
"//tensorflow/core:android_gif_internal",
|
||||
"//tensorflow/core:android_jpeg_internal",
|
||||
"//tensorflow/core:android_png_internal",
|
||||
"//tensorflow/core:android_tensorflow_lib_lite",
|
||||
"//tensorflow/core:portable_tensorflow_lib_lite",
|
||||
],
|
||||
alwayslink = 1,
|
||||
)
|
||||
|
@ -7126,7 +7126,7 @@ cc_library(
|
|||
linkopts = ["-ldl"],
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"//tensorflow/core:android_tensorflow_lib_lite",
|
||||
"//tensorflow/core:portable_tensorflow_lib_lite",
|
||||
],
|
||||
alwayslink = 1,
|
||||
)
|
||||
|
|
|
@ -34,7 +34,7 @@ cc_library(
|
|||
copts = tf_copts(),
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"//tensorflow/core:android_tensorflow_lib_lite",
|
||||
"//tensorflow/core:portable_tensorflow_lib_lite",
|
||||
"//tensorflow/java/src/main/native",
|
||||
],
|
||||
alwayslink = 1,
|
||||
|
@ -83,7 +83,7 @@ cc_binary(
|
|||
],
|
||||
deps = [
|
||||
":android_tensorflow_inference_jni",
|
||||
"//tensorflow/core:android_tensorflow_lib",
|
||||
"//tensorflow/core:portable_tensorflow_lib",
|
||||
LINKER_SCRIPT,
|
||||
],
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue