chromium/ios/chrome/browser/plus_addresses/coordinator/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("coordinator") {
  sources = [
    "plus_address_bottom_sheet_coordinator.h",
    "plus_address_bottom_sheet_coordinator.mm",
    "plus_address_bottom_sheet_mediator.h",
    "plus_address_bottom_sheet_mediator.mm",
  ]
  deps = [
    "//base",
    "//components/plus_addresses",
    "//components/plus_addresses/metrics",
    "//components/plus_addresses/settings",
    "//ios/chrome/browser/autofill/model/bottom_sheet:bottom_sheet",
    "//ios/chrome/browser/plus_addresses/model",
    "//ios/chrome/browser/plus_addresses/ui:constants",
    "//ios/chrome/browser/plus_addresses/ui:ui",
    "//ios/chrome/browser/shared/coordinator/chrome_coordinator",
    "//ios/chrome/browser/shared/model/browser",
    "//ios/chrome/browser/shared/model/browser_state",
    "//ios/chrome/browser/shared/model/profile",
    "//ios/chrome/browser/shared/model/web_state_list",
    "//ios/chrome/browser/shared/public/commands",
    "//ios/chrome/browser/url_loading/model",
    "//ios/chrome/common/ui/confirmation_alert",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "plus_address_bottom_sheet_mediator_unittest.mm" ]
  deps = [
    ":coordinator",
    "//base/test:test_support",
    "//components/plus_addresses",
    "//components/plus_addresses:test_support",
    "//components/plus_addresses/metrics",
    "//components/plus_addresses/settings",
    "//components/plus_addresses/settings:test_support",
    "//ios/chrome/browser/plus_addresses/model",
    "//ios/chrome/browser/plus_addresses/ui:constants",
    "//ios/chrome/browser/plus_addresses/ui:ui",
    "//ios/chrome/browser/shared/model/browser/test:test_support",
    "//ios/chrome/browser/shared/model/profile/test",
    "//ios/chrome/browser/signin/model",
    "//ios/chrome/browser/url_loading/model",
    "//ios/chrome/browser/url_loading/model:test_support",
    "//ios/web/public/test",
    "//ios/web/public/test/fakes",
    "//testing/gtest",
    "//third_party/ocmock",
  ]
}