Add cross build parameters to android_full.sh

https://docs.bazel.build/versions/master/user-manual.html#flag--host_crosstool_top

PiperOrigin-RevId: 299652603
Change-Id: I0942c28544379c4e76ff7ca5d41022a252a2e9b9
This commit is contained in:
Terry Heo 2020-03-08 00:52:16 -08:00 committed by TensorFlower Gardener
parent c6af3c14c7
commit 50a74e5250

View File

@ -64,6 +64,7 @@ done
echo "========== Building TensorFlow Android Jar and Demo =========="
bazel --bazelrc=/dev/null build --config=monolithic --fat_apk_cpu=${CPUS} \
--compilation_mode=opt --cxxopt=-std=c++14 \
--host_crosstool_top=@bazel_tools//tools/cpp:toolchain \
--spawn_strategy=sandboxed --genrule_strategy=sandboxed \
//tensorflow/tools/android/inference_interface:android_tensorflow_inference_java \
//tensorflow/tools/android/inference_interface:android_tensorflow_inference_java.aar \