aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/lite/testing/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/contrib/lite/testing/BUILD')
-rw-r--r--tensorflow/contrib/lite/testing/BUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/tensorflow/contrib/lite/testing/BUILD b/tensorflow/contrib/lite/testing/BUILD
index 80e4c5a4dd..b823c97f38 100644
--- a/tensorflow/contrib/lite/testing/BUILD
+++ b/tensorflow/contrib/lite/testing/BUILD
@@ -20,11 +20,15 @@ load(
size = "large",
srcs = ["generated_examples_zip_test.cc"],
args = [
- "--zip_file_path=$(location :zip_%s)" % test_name,
- # TODO(angerson) We may be able to add an external unzip binary instead
- # of relying on an existing one for OSS builds.
- "--unzip_binary_path=/usr/bin/unzip",
- ],
+ ] + select({
+ "//tensorflow:android": [],
+ "//conditions:default": [
+ "--zip_file_path=$(location :zip_%s)" % test_name,
+ # TODO(angerson) We may be able to add an external unzip binary instead
+ # of relying on an existing one for OSS builds.
+ "--unzip_binary_path=/usr/bin/unzip",
+ ],
+ }),
data = [
":zip_%s" % test_name,
],