message: Add cc_test_with_tflite build macro.
  It's similar to cc_library_with_tflite, but for cc_test rather than cc_library.
diff: -"""Definitions for cc_library targets that use the TFLite shims."""
  +"""Definitions for cc_library/cc_test targets that use the TFLite shims."""
  def cc_library_with_tflite(
  name,
  @@ -27,3 +27,31 @@ def cc_library_with_tflite(
  deps = deps + tflite_deps,
  **kwargs
  )
  +
  +def cc_test_with_tflite(
  + name,
  + deps = [],
  + tflite_deps = [],
  + **kwargs):
  + """Defines a cc_test that uses the TFLite shims.
  +
  + This is a hook to allow applying different build flags (etc.)
  + for targets that use the TFLite shims.
  +
  + Note that this build rule doesn't itself add any dependencies on
  + TF Lite this macro should normally be used in conjunction with a
  + direct or indirect 'tflite_deps' dependency on one of the "shim"
  + library targets from //third_party/tensorflow/lite/core/shims:*.
  +
  + Args:
  + name: as for cc_test.
  + deps: as for cc_test.
  + tflite_deps: dependencies on rules that are themselves defined using
  + 'cc_library_with_tflite'.
  + **kwargs: Additional cc_test parameters.
  + """
  + native.cc_test(
  + name = name,
  + deps = deps + tflite_deps,
  + **kwargs
  + )
  