From 46040c2d00109889573b46a7089fa2daf7cbb092 Mon Sep 17 00:00:00 2001 From: Andy Ly Date: Tue, 6 Oct 2020 08:22:10 -0700 Subject: [PATCH] Update references from android_tensorflow_lib to portable_tensorflow_lib. android_tensorflow_lib alias was removed. PiperOrigin-RevId: 335643116 Change-Id: Ifd899ec6307910aaa87ff1110925ae499c338040 --- tensorflow/core/BUILD | 2 +- tensorflow/tools/benchmark/BUILD | 2 +- tensorflow/tools/ci_build/builds/android_full.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tensorflow/core/BUILD b/tensorflow/core/BUILD index 7af9e81759a..4b0953ca5ac 100644 --- a/tensorflow/core/BUILD +++ b/tensorflow/core/BUILD @@ -1363,7 +1363,7 @@ filegroup( # Compiles to a trivial library on non-mobile to prevent irrelevant # build errors. If not building this e.g. as part of an android_binary, # a command such as the following must be used: -# bazel build -c opt tensorflow/core:android_tensorflow_lib \ +# bazel build -c opt tensorflow/core:portable_tensorflow_lib \ # --define=TENSORFLOW_PROTOS=lite \ # --crosstool_top=//external:android/crosstool \ # --cpu=armeabi-v7a \ diff --git a/tensorflow/tools/benchmark/BUILD b/tensorflow/tools/benchmark/BUILD index 674133431f1..cdd0e0d9452 100644 --- a/tensorflow/tools/benchmark/BUILD +++ b/tensorflow/tools/benchmark/BUILD @@ -62,7 +62,7 @@ tf_cc_test( # This binary may be built for either desktop or Android. # A typical Android build command will look like the following: -# bazel build tensorflow/core:android_tensorflow_lib \ +# bazel build tensorflow/core:portable_tensorflow_lib \ # --crosstool_top=//external:android/crosstool \ # --cpu=armeabi-v7a \ # --host_crosstool_top=@bazel_tools//tools/cpp:toolchain diff --git a/tensorflow/tools/ci_build/builds/android_full.sh b/tensorflow/tools/ci_build/builds/android_full.sh index 165683de63a..e0a0d65bf99 100755 --- a/tensorflow/tools/ci_build/builds/android_full.sh +++ b/tensorflow/tools/ci_build/builds/android_full.sh @@ -44,7 +44,7 @@ do --compilation_mode=opt --cxxopt=-std=c++14 \ --crosstool_top=//external:android/crosstool \ --host_crosstool_top=@bazel_tools//tools/cpp:toolchain \ - //tensorflow/core:android_tensorflow_lib \ + //tensorflow/core:portable_tensorflow_lib \ //tensorflow/tools/android/inference_interface:libtensorflow_inference.so \ //tensorflow/tools/android/test:libtensorflow_demo.so \ //tensorflow/tools/benchmark:benchmark_model