chromium/chrome/browser/password_manager/BUILD.gn

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

group("password_manager") {
  public_deps = [ ":backend_factory" ]
}

source_set("backend_factory") {
  sources = [
    "password_store_backend_factory.cc",
    "password_store_backend_factory.h",
  ]

  deps = [
    "//components/password_manager/core/browser",
    "//components/password_manager/core/browser:password_manager_buildflags",
    "//components/password_manager/core/browser/affiliation:affiliation_fetching",
    "//components/password_manager/core/browser/features:password_features",
    "//components/password_manager/core/common:common",
    "//components/prefs",
  ]
  if (is_android) {
    deps += [
      "//chrome/browser/password_manager/android:backend",
      "//chrome/browser/password_manager/android:utils",
      "//components/webauthn/android",
    ]
  }
  if (is_win || is_mac) {
    deps += [ "//chrome/browser/policy:path_parser" ]
  }
}