[ci] Fix Android benchmark pipeline after removing tflite importer (#13407)
After https://github.com/openxla/iree/pull/13361, we don't have
`iree-import-tflite target` in tree anymore. Instead we need to `pip
install` it.
diff --git a/build_tools/cmake/build_android_benchmark.sh b/build_tools/cmake/build_android_benchmark.sh
index 02a2bf4..6d2a0a9 100755
--- a/build_tools/cmake/build_android_benchmark.sh
+++ b/build_tools/cmake/build_android_benchmark.sh
@@ -33,17 +33,7 @@
ROOT_DIR=$(git rev-parse --show-toplevel)
cd "${ROOT_DIR}"
-# BUILD the iree-import-tflite binary for importing models to benchmark from
-# TFLite FlatBuffers.
-cd "${ROOT_DIR}/integrations/tensorflow"
-BAZEL_CMD=(bazel --noworkspace_rc --bazelrc=build_tools/bazel/iree-tf.bazelrc)
-BAZEL_BINDIR="$(${BAZEL_CMD[@]} info bazel-bin)"
-"${BAZEL_CMD[@]}" build \
- //iree_tf_compiler:iree-import-tflite \
- --config=generic_clang \
- --config=remote_cache_bazel_tf_ci
-# So the benchmark build below can find the importer binaries that were built.
-export PATH="$PWD/bazel-bin/iree_tf_compiler:$PATH"
+source build_tools/cmake/setup_tf_python.sh
# --------------------------------------------------------------------------- #
# Build for the host.