From: Austin Anderson Date: Tue, 6 Mar 2018 20:33:50 +0000 (-0800) Subject: Create OSS-compatible TF Lite portable test suite rule X-Git-Tag: upstream/v1.7.0~31^2~83 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e28aa1b817c179976b0535dd321c0dfde506725f;p=platform%2Fupstream%2Ftensorflow.git 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 --- diff --git a/tensorflow/contrib/lite/special_rules.bzl b/tensorflow/contrib/lite/special_rules.bzl new file mode 100644 index 0000000..54083c4 --- /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