chromium/chrome/browser/chromeos/echo/BUILD.gn

# Copyright 2024 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/config/chromeos/ui_mode.gni")

assert(is_chromeos)

static_library("echo") {
  sources = [
    "echo_util.cc",
    "echo_util.h",
  ]

  public_deps = [ "//base" ]

  deps = [ "//build:chromeos_buildflags" ]

  if (is_chromeos_ash) {
    deps += [ "//chromeos/ash/components/report:utils" ]
  }

  if (is_chromeos_lacros) {
    deps += [
      "//chromeos/crosapi/mojom",
      "//chromeos/lacros",
    ]
  }
}