chromium/ios/chrome/browser/ui/settings/password/password_issues/BUILD.gn

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

source_set("password_issues") {
  sources = [
    "password_issues_coordinator.h",
    "password_issues_coordinator.mm",
    "password_issues_mediator.h",
    "password_issues_mediator.mm",
  ]
  deps = [
    ":password_issues_ui",
    "//base",
    "//components/google/core/common",
    "//components/password_manager/core/browser",
    "//components/sync/service",
    "//ios/chrome/app/strings",
    "//ios/chrome/browser/favicon/model",
    "//ios/chrome/browser/net/model:crurl",
    "//ios/chrome/browser/passwords/model",
    "//ios/chrome/browser/passwords/model:password_checkup_utils",
    "//ios/chrome/browser/passwords/model/metrics",
    "//ios/chrome/browser/shared/coordinator/chrome_coordinator",
    "//ios/chrome/browser/shared/model/application_context",
    "//ios/chrome/browser/shared/model/browser",
    "//ios/chrome/browser/shared/public/commands",
    "//ios/chrome/browser/shared/ui/table_view",
    "//ios/chrome/browser/shared/ui/table_view:utils",
    "//ios/chrome/browser/sync/model",
    "//ios/chrome/browser/ui/settings/password:common",
    "//ios/chrome/browser/ui/settings/password/password_checkup:password_checkup_constants",
    "//ios/chrome/browser/ui/settings/password/password_details",
    "//ios/chrome/browser/ui/settings/password/reauthentication",
    "//ios/chrome/browser/ui/settings/password/reauthentication:reauthentication_delegate",
    "//ios/chrome/browser/ui/settings/utils",
    "//ios/chrome/common/ui/favicon:favicon_constants",
    "//ios/chrome/common/ui/reauthentication",
    "//ui/base",
  ]
}

source_set("password_issues_ui") {
  sources = [
    "password_issue.h",
    "password_issue.mm",
    "password_issue_content_item.h",
    "password_issue_content_item.mm",
    "password_issue_group.h",
    "password_issue_group.mm",
    "password_issues_consumer.h",
    "password_issues_presenter.h",
    "password_issues_table_view_controller.h",
    "password_issues_table_view_controller.mm",
  ]
  deps = [
    "//base",
    "//components/password_manager/core/browser",
    "//ios/chrome/app/strings",
    "//ios/chrome/browser/net/model:crurl",
    "//ios/chrome/browser/passwords/model:password_checkup_metrics",
    "//ios/chrome/browser/passwords/model:password_checkup_utils",
    "//ios/chrome/browser/shared/ui/table_view",
    "//ios/chrome/browser/shared/ui/table_view:utils",
    "//ios/chrome/browser/shared/ui/table_view/cells",
    "//ios/chrome/browser/ui/settings:settings_root",
    "//ios/chrome/browser/ui/settings/password:password_constants",
    "//ios/chrome/common/ui/colors",
    "//ios/chrome/common/ui/favicon",
    "//ui/base",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "password_issue_unittest.mm",
    "password_issues_coordinator_unittest.mm",
    "password_issues_mediator_unittest.mm",
    "password_issues_table_view_controller_unittest.mm",
  ]
  deps = [
    ":password_issues",
    ":password_issues_ui",
    "//base",
    "//base/test:test_support",
    "//components/affiliations/core/browser:test_support",
    "//components/google/core/common",
    "//components/keyed_service/core",
    "//components/password_manager/core/browser",
    "//components/password_manager/core/browser:test_support",
    "//ios/chrome/app/strings",
    "//ios/chrome/browser/affiliations/model",
    "//ios/chrome/browser/favicon/model",
    "//ios/chrome/browser/net/model:crurl",
    "//ios/chrome/browser/passwords/model",
    "//ios/chrome/browser/passwords/model:password_checkup_utils",
    "//ios/chrome/browser/passwords/model:store_factory",
    "//ios/chrome/browser/passwords/model/metrics",
    "//ios/chrome/browser/shared/coordinator/scene:scene_state_header",
    "//ios/chrome/browser/shared/model/application_context",
    "//ios/chrome/browser/shared/model/browser/test:test_support",
    "//ios/chrome/browser/shared/model/profile",
    "//ios/chrome/browser/shared/model/profile/test",
    "//ios/chrome/browser/shared/public/commands",
    "//ios/chrome/browser/shared/ui/table_view:test_support",
    "//ios/chrome/browser/shared/ui/table_view/cells",
    "//ios/chrome/browser/sync/model",
    "//ios/chrome/browser/sync/model:test_support",
    "//ios/chrome/browser/ui/settings/password/password_checkup:password_checkup_constants",
    "//ios/chrome/browser/ui/settings/password/reauthentication:reauthentication_ui",
    "//ios/chrome/test:test_support",
    "//ios/chrome/test/app:test_support",
    "//ios/web/public/test",
    "//testing/gmock",
    "//testing/gtest",
    "//third_party/ocmock",
    "//ui/base",
  ]
}