chromium/ios/chrome/browser/autofill/ui_bundled/progress_dialog/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.

source_set("progress_dialog") {
  sources = [
    "autofill_progress_dialog_coordinator.h",
    "autofill_progress_dialog_coordinator.mm",
    "autofill_progress_dialog_mediator.h",
    "autofill_progress_dialog_mediator.mm",
    "autofill_progress_dialog_mediator_delegate.h",
  ]
  deps = [
    "//base:base",
    "//components/autofill/core/browser",
    "//ios/chrome/browser/alert_view/ui_bundled",
    "//ios/chrome/browser/autofill/model:model_internal",
    "//ios/chrome/browser/autofill/ui_bundled:coordinator",
    "//ios/chrome/browser/shared/coordinator/chrome_coordinator",
    "//ios/chrome/browser/shared/model/browser",
    "//ios/chrome/browser/shared/model/web_state_list",
    "//ios/chrome/browser/shared/public/commands",
  ]
  frameworks = [ "UIKit.framework" ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "autofill_progress_dialog_mediator_unittest.mm" ]
  deps = [
    ":progress_dialog",
    "//components/autofill/core/browser",
    "//ios/chrome/browser/alert_view/ui_bundled",
    "//testing/gtest",
    "//third_party/ocmock",
  ]
}