text: """Provides the repository macro to import TFRT."""
  
  load("//third_party:repo.bzl", "tf_http_archive")
  
  def repo():
      """Imports TFRT."""
  
      # Attention: tools parse and update these lines.
      TFRT_COMMIT = "b85e33c10d28c5456b5765fae9d384fed1827e86"
      TFRT_SHA256 = "3d7a3f446c367577883b4d57fa04d9d24a7034b41831e6cd678bae4412993994"
  
      tf_http_archive(
          name = "tf_runtime",
          sha256 = TFRT_SHA256,
          strip_prefix = "runtime-{commit}".format(commit = TFRT_COMMIT),
          urls = [
              "http://mirror.tensorflow.org/github.com/tensorflow/runtime/archive/{commit}.tar.gz".format(commit = TFRT_COMMIT),
              "https://github.com/tensorflow/runtime/archive/{commit}.tar.gz".format(commit = TFRT_COMMIT),
          ],
          # A patch file can be provided for atomic commits to both TF and TFRT.
          # The job that bumps the TFRT_COMMIT also resets patch_file to 'None'.
          patch_file = None,
      )
  