chromium/chromeos/ash/components/dbus/debug_daemon/BUILD.gn

# Copyright 2019 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_ash, "Non-ChromeOS builds cannot depend on //chromeos/ash")

component("debug_daemon") {
  defines = [ "IS_DEBUG_DAEMON_IMPL" ]

  deps = [
    "//base",
    "//chromeos/ash/components/dbus/cryptohome",
    "//chromeos/ash/components/dbus/cryptohome:cryptohome_proto",
    "//chromeos/dbus/common",
  ]

  public_deps = [ "//dbus" ]

  sources = [
    "binary_log_files_reader.cc",
    "binary_log_files_reader.h",
    "debug_daemon_client.cc",
    "debug_daemon_client.h",
    "debug_daemon_client_provider.cc",
    "debug_daemon_client_provider.h",
    "fake_debug_daemon_client.cc",
    "fake_debug_daemon_client.h",
    "metrics.cc",
    "metrics.h",
  ]
}