Activate corruption detection tests.

With the change in https://webrtc-review.git.corp.google.com/c/src/+/466820, it looks like the corruption detection tests have been removed. Re-adding them.

Bug: webrtc:358039777
Change-Id: I8bfc5bb1ee1d50f2a742fe2eb4b7aa0247368cb7
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/470060
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Emil Vardar (xWF) <vardar@google.com>
Reviewed-by: Evan Shrubsole <eshr@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#47629}
diff --git a/video/BUILD.gn b/video/BUILD.gn
index 53432ca..2c90b4c 100644
--- a/video/BUILD.gn
+++ b/video/BUILD.gn
@@ -2215,6 +2215,8 @@
       ":video_source_sink_controller_unittest",
       ":video_stream_buffer_controller_unittest",
       ":video_stream_encoder_unittest",
+      "corruption_detection:corruption_detection_unittests",
+      "corruption_detection/evaluation:corruption_detection_eval_unittests",
     ]
   }
 }
diff --git a/video/corruption_detection/BUILD.gn b/video/corruption_detection/BUILD.gn
index 824de16..ce9dacf 100644
--- a/video/corruption_detection/BUILD.gn
+++ b/video/corruption_detection/BUILD.gn
@@ -176,7 +176,11 @@
       "../../test:video_test_support",
       "//third_party/abseil-cpp/absl/strings:string_view",
     ]
-    data = [ "../../resources/ConferenceMotion_1280_720_50.yuv" ]
+    if (is_ios) {
+      deps += [ "../../resources:webrtc_perf_tests_bundle_data" ]
+    } else {
+      deps += [ "../../resources:webrtc_perf_tests_data" ]
+    }
   }
 
   rtc_library("generic_mapping_functions_unittest") {
@@ -273,7 +277,7 @@
     ]
   }
 
-  rtc_library("corruption_detection_tests") {
+  rtc_cc_test("corruption_detection_unittests") {
     testonly = true
     sources = []
     deps = [
diff --git a/video/corruption_detection/evaluation/BUILD.gn b/video/corruption_detection/evaluation/BUILD.gn
index abe2824..c2d291b 100644
--- a/video/corruption_detection/evaluation/BUILD.gn
+++ b/video/corruption_detection/evaluation/BUILD.gn
@@ -212,7 +212,12 @@
       "../../../test:test_support",
       "//third_party/abseil-cpp/absl/strings:string_view",
     ]
-    data = [ "../../../resources/ConferenceMotion_1280_720_50.yuv" ]
+
+    if (is_ios) {
+      deps += [ "../../../resources:webrtc_perf_tests_bundle_data" ]
+    } else {
+      deps += [ "../../../resources:webrtc_perf_tests_data" ]
+    }
   }
 
   rtc_library("utils_unittest") {
@@ -232,7 +237,6 @@
   rtc_library("webrtc_picture_pair_provider_unittest") {
     testonly = true
     sources = [ "webrtc_picture_pair_provider_unittest.cc" ]
-    data = [ "../../../resources/ConferenceMotion_1280_720_50.yuv" ]
     deps = [
       ":picture_pair_provider",
       ":utils",
@@ -265,9 +269,14 @@
       "../../../video/corruption_detection/evaluation:test_clip",
       "//third_party/abseil-cpp/absl/strings:string_view",
     ]
+    if (is_ios) {
+      deps += [ "../../../resources:webrtc_perf_tests_bundle_data" ]
+    } else {
+      deps += [ "../../../resources:webrtc_perf_tests_data" ]
+    }
   }
 
-  rtc_library("corruption_detection_eval_tests") {
+  rtc_cc_test("corruption_detection_eval_unittests") {
     testonly = true
     sources = []
     deps = [