message: Do not compile frame_analyzer on component builds.
  Cr-Commit-Position: refs/heads/main@{#38675}
diff: @@ -124,6 +124,24 @@ rtc_library("video_quality_analysis") {
  absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
  }
  +# TODO(bugs.webrtc.org/11474): Enable this on win if needed. For now it
  +# is only required for Linux and Android.
  +if (!build_with_chromium && !build_with_mozilla && !is_win && !is_ios) {
  + action("frame_analyzer_host") {
  + script = "//tools_webrtc/executable_host_build.py"
  + outputs = [ "${root_out_dir}/frame_analyzer_host" ]
  + args = [
  + "--executable_name",
  + "frame_analyzer",
  + ]
  + }
  +}
  +
  +if (!is_component_build) {
  + # This target can be built from Chromium but it doesn't support
  + # is_component_build=true because it depends on WebRTC testonly code
  + # which is not part of //third_party/webrtc_overrides:webrtc_component.
  +
  # Abseil dependencies are not moved to the absl_deps field deliberately.
  # If build_with_chromium is true, the absl_deps replaces the dependencies with
  # the "//third_party/abseil-cpp:absl" target. Which doesn't include absl/flags
  @@ -158,20 +176,6 @@ rtc_executable("frame_analyzer") {
  }
  }
  -# TODO(bugs.webrtc.org/11474): Enable this on win if needed. For now it
  -# is only required for Linux and Android.
  -if (!build_with_chromium && !build_with_mozilla && !is_win && !is_ios) {
  - action("frame_analyzer_host") {
  - script = "//tools_webrtc/executable_host_build.py"
  - outputs = [ "${root_out_dir}/frame_analyzer_host" ]
  - args = [
  - "--executable_name",
  - "frame_analyzer",
  - ]
  - }
  -}
  -
  -if (!is_component_build) {
  # This target can be built from Chromium but it doesn't support
  # is_component_build=true because it depends on WebRTC testonly code
  # which is not part of //third_party/webrtc_overrides:webrtc_component.
  @@ -180,7 +184,7 @@ if (!is_component_build) {
  # If build_with_chromium is true, the absl_deps replaces the dependencies with
  # the "//third_party/abseil-cpp:absl" target. Which doesn't include absl/flags
  # (and some others) because they cannot be used in Chromiums. Special exception
  - # for the "frame_analyzer" target in "third_party/abseil-cpp/absl.gni" allows
  + # for the "rtp_generator" target in "third_party/abseil-cpp/absl.gni" allows
  # it to be build in chromium.
  rtc_executable("rtp_generator") {
  visibility = [ "*" ]
  @@ -241,7 +245,7 @@ if (!is_component_build) {
  # If build_with_chromium is true, the absl_deps replaces the dependencies with
  # the "//third_party/abseil-cpp:absl" target. Which doesn't include absl/flags
  # (and some others) because they cannot be used in Chromiums. Special exception
  - # for the "frame_analyzer" target in "third_party/abseil-cpp/absl.gni" allows
  + # for the "video_replay" target in "third_party/abseil-cpp/absl.gni" allows
  # it to be build in chromium.
  rtc_executable("video_replay") {
  visibility = [ "*" ]
  