aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/lite/special_rules.bzl
diff options
context:
space:
mode:
authorGravatar Austin Anderson <angerson@google.com>2018-03-06 12:33:50 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-03-06 12:38:23 -0800
commite28aa1b817c179976b0535dd321c0dfde506725f (patch)
treec3d74135472c3dde23e3f2c8bad794d6ccf34c1a /tensorflow/contrib/lite/special_rules.bzl
parentaa129d523f27739c98032fb08346def395b1afda (diff)
Create OSS-compatible TF Lite portable test suite rule
Adding the new rule tflite_portable_test_suite to the bottom of a package in TF Lite will indicate that all previous cc_test rules in the package are supposed to be portable, unless excluded by a tag. Outside of Google, tflite_portable_test_suite is a no-op, which may change in the future as mobile testing infrastructure improves. PiperOrigin-RevId: 188063712
Diffstat (limited to 'tensorflow/contrib/lite/special_rules.bzl')
-rw-r--r--tensorflow/contrib/lite/special_rules.bzl6
1 files changed, 6 insertions, 0 deletions
diff --git a/tensorflow/contrib/lite/special_rules.bzl b/tensorflow/contrib/lite/special_rules.bzl
new file mode 100644
index 0000000000..54083c4918
--- /dev/null
+++ b/tensorflow/contrib/lite/special_rules.bzl
@@ -0,0 +1,6 @@
+"""External versions of build rules that differ outside of Google."""
+
+def tflite_portable_test_suite(**kwargs):
+ """This is a no-op outside of Google."""
+ _ignore = [kwargs]
+ pass