chromium/ios/chrome/browser/contextual_panel/entrypoint/coordinator/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("coordinator") {
  sources = [
    "contextual_panel_entrypoint_coordinator.h",
    "contextual_panel_entrypoint_coordinator.mm",
    "contextual_panel_entrypoint_coordinator_delegate.h",
    "contextual_panel_entrypoint_mediator.h",
    "contextual_panel_entrypoint_mediator.mm",
    "contextual_panel_entrypoint_mediator_delegate.h",
  ]
  deps = [
    "//base",
    "//components/feature_engagement/public",
    "//ios/chrome/browser/contextual_panel/entrypoint/ui",
    "//ios/chrome/browser/contextual_panel/model",
    "//ios/chrome/browser/contextual_panel/model:public",
    "//ios/chrome/browser/contextual_panel/ui:public",
    "//ios/chrome/browser/contextual_panel/utils",
    "//ios/chrome/browser/feature_engagement/model",
    "//ios/chrome/browser/infobars/model:badge",
    "//ios/chrome/browser/infobars/model:public",
    "//ios/chrome/browser/shared/coordinator/chrome_coordinator",
    "//ios/chrome/browser/shared/coordinator/layout_guide",
    "//ios/chrome/browser/shared/model/browser",
    "//ios/chrome/browser/shared/model/web_state_list",
    "//ios/chrome/browser/shared/public/commands",
    "//ios/chrome/browser/shared/public/features",
    "//ios/chrome/browser/shared/ui/symbols",
    "//ios/chrome/browser/shared/ui/util",
    "//ios/chrome/browser/shared/ui/util:omnibox_util",
    "//ios/chrome/browser/ui/fullscreen",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "contextual_panel_entrypoint_mediator_unittest.mm" ]
  frameworks = [ "Foundation.framework" ]
  deps = [
    ":coordinator",
    "//base",
    "//base/test:test_support",
    "//components/feature_engagement/public",
    "//components/feature_engagement/test:test_support",
    "//ios/chrome/browser/contextual_panel/entrypoint/ui",
    "//ios/chrome/browser/contextual_panel/model",
    "//ios/chrome/browser/contextual_panel/model:public",
    "//ios/chrome/browser/contextual_panel/sample/model",
    "//ios/chrome/browser/contextual_panel/utils",
    "//ios/chrome/browser/infobars/model",
    "//ios/chrome/browser/infobars/model:badge",
    "//ios/chrome/browser/shared/model/web_state_list",
    "//ios/chrome/browser/shared/model/web_state_list/test:test_support",
    "//ios/chrome/browser/shared/public/commands",
    "//ios/chrome/browser/shared/public/features",
    "//ios/web/public/test",
    "//ios/web/public/test/fakes",
    "//testing/gtest",
    "//third_party/ocmock",
  ]
}