diff options
author | Austin Anderson <angerson@google.com> | 2018-03-07 14:30:00 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-03-07 14:33:35 -0800 |
commit | 1e293597745c7c2e07106deb2b6fe537e6c3a7ad (patch) | |
tree | 4e619d348587022315d14ec098b05326967106bf /tensorflow/contrib/lite/schema | |
parent | 22529af3169181c83eb2e0bb48660b8f8858bb14 (diff) |
Create mobile testing rules for TF Lite known-portable targets
This CL tags all known-already-portable TF Lite tests as portable, and
(from those tests) tags those known as not portable.
Adding tflite_portable_test_suite() to the bottom of a package marks all
previous cc_tests as "intended to be portable". I've included all tests
that I was able to naively make buildable on Android with my previous
change that created a custom logging.h library. Most tests are buildable
on Android already, but there is something in the common dependencies
for the kernel tests that is not compatible with iOS.
Outside of Google, this change does nothing except tag tests that are
known to not be buildable on certain platforms.
PiperOrigin-RevId: 188234489
Diffstat (limited to 'tensorflow/contrib/lite/schema')
-rw-r--r-- | tensorflow/contrib/lite/schema/BUILD | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tensorflow/contrib/lite/schema/BUILD b/tensorflow/contrib/lite/schema/BUILD index 54167ddd9a..da65ec659c 100644 --- a/tensorflow/contrib/lite/schema/BUILD +++ b/tensorflow/contrib/lite/schema/BUILD @@ -5,6 +5,7 @@ package(default_visibility = [ licenses(["notice"]) # Apache 2.0 load("//tensorflow:tensorflow.bzl", "py_test") +load("//tensorflow/contrib/lite:special_rules.bzl", "tflite_portable_test_suite") py_binary( name = "upgrade_schema", @@ -80,3 +81,5 @@ filegroup( ), visibility = ["//tensorflow:__subpackages__"], ) + +tflite_portable_test_suite() |