message: Added swift test rule to build file
diff: +load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")
  load("@org_tensorflow//tensorflow/lite/ios:ios.bzl", "TFL_DEFAULT_TAGS", "TFL_DISABLED_SANITIZER_TAGS", "TFL_MINIMUM_OS_VERSION")
  load("@build_bazel_rules_apple//apple:ios.bzl", "ios_unit_test")
  load("@org_tensorflow//tensorflow/lite:special_rules.bzl", "tflite_ios_lab_runner")
  @@ -32,3 +33,29 @@ ios_unit_test(
  ":TFLImageSegmenterObjcTestLibrary",
  ],
  )
  +
  +swift_library(
  + name = "TFLImageSegmenterSwiftTestLibrary",
  + testonly = 1,
  + srcs = ["TFLImageSegmenterTests.swift"],
  + data = [
  + "//tensorflow_lite_support/cc/test/testdata/task/vision:test_images",
  + "//tensorflow_lite_support/cc/test/testdata/task/vision:test_models",
  + ],
  + tags = TFL_DEFAULT_TAGS,
  + deps = [
  + "//tensorflow_lite_support/ios/task/vision:TFLImageSegmenter",
  + "//tensorflow_lite_support/ios/test/task/vision/utils:GMLImageHelpers",
  + "//tensorflow_lite_support/ios/task/vision/utils:GMLImageUtils",
  + ],
  +)
  +
  +ios_unit_test(
  + name = "TFLImageSegmenterSwiftTest",
  + minimum_os_version = TFL_MINIMUM_OS_VERSION,
  + runner = tflite_ios_lab_runner("IOS_LATEST"),
  + tags = TFL_DEFAULT_TAGS + TFL_DISABLED_SANITIZER_TAGS,
  + deps = [
  + ":TFLImageSegmenterSwiftTestLibrary",
  + ],
  +)
  