chromium/chromeos/ash/services/auth_factor_config/BUILD.gn

# Copyright 2022 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, "Only ash builds can depend on //chromeos/ash")

static_library("auth_factor_config") {
  sources = [
    "auth_factor_config.cc",
    "auth_factor_config.h",
    "auth_factor_config_utils.cc",
    "auth_factor_config_utils.h",
    "chrome_browser_delegates.h",
    "in_process_instances.cc",
    "in_process_instances.h",
    "password_factor_editor.cc",
    "password_factor_editor.h",
    "pin_factor_editor.cc",
    "pin_factor_editor.h",
    "recovery_factor_editor.cc",
    "recovery_factor_editor.h",
  ]

  deps = [
    "//ash/constants",
    "//chrome/browser:browser_process",
    "//chromeos/ash/components/cryptohome",
    "//chromeos/ash/components/login/auth",
    "//chromeos/ash/components/osauth/public",
    "//components/prefs",
    "//components/user_manager",
  ]

  public_deps = [
    "//chromeos/ash/services/auth_factor_config/public/mojom",
    "//mojo/public/cpp/bindings",
  ]
}