diff options
author | Austin Anderson <angerson@google.com> | 2018-03-06 12:33:50 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-03-06 12:38:23 -0800 |
commit | e28aa1b817c179976b0535dd321c0dfde506725f (patch) | |
tree | c3d74135472c3dde23e3f2c8bad794d6ccf34c1a /tensorflow/contrib/lite/special_rules.bzl | |
parent | aa129d523f27739c98032fb08346def395b1afda (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.bzl | 6 |
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 |