chromium/ios/chrome/browser/ui/tab_switcher/tab_grid/pinned_tabs/BUILD.gn

# Copyright 2022 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("pinned_tabs") {
  sources = [
    "pinned_tabs_mediator.h",
    "pinned_tabs_mediator.mm",
  ]

  deps = [
    ":constants",
    ":pinned_tabs_ui",
    "//base",
    "//components/favicon/ios:ios",
    "//ios/chrome/browser/default_browser/model:utils",
    "//ios/chrome/browser/drag_and_drop/model",
    "//ios/chrome/browser/main/model",
    "//ios/chrome/browser/shared/model/browser_state",
    "//ios/chrome/browser/shared/model/profile",
    "//ios/chrome/browser/shared/model/url",
    "//ios/chrome/browser/shared/model/web_state_list",
    "//ios/chrome/browser/shared/model/web_state_list:utils",
    "//ios/chrome/browser/shared/public/features",
    "//ios/chrome/browser/shared/ui/symbols",
    "//ios/chrome/browser/snapshots/model",
    "//ios/chrome/browser/ui/tab_switcher",
    "//ios/chrome/browser/ui/tab_switcher:utils",
    "//ios/chrome/browser/ui/tab_switcher/tab_grid/grid:grid_ui",
    "//ios/web/public",
  ]

  frameworks = [ "UniformTypeIdentifiers.framework" ]
}

source_set("constants") {
  sources = [
    "pinned_tabs_constants.h",
    "pinned_tabs_constants.mm",
  ]
  deps = []
}

source_set("pinned_tabs_ui") {
  sources = [
    "pinned_cell.h",
    "pinned_cell.mm",
    "pinned_item.h",
    "pinned_item.mm",
    "pinned_tabs_layout.h",
    "pinned_tabs_layout.mm",
    "pinned_tabs_view_controller.h",
    "pinned_tabs_view_controller.mm",
  ]
  deps = [
    ":constants",
    "//ios/chrome/app/strings",
    "//ios/chrome/browser/shared/ui/elements",
    "//ios/chrome/browser/shared/ui/symbols",
    "//ios/chrome/browser/shared/ui/util",
    "//ios/chrome/browser/ui/tab_switcher",
    "//ios/chrome/browser/ui/tab_switcher:items",
    "//ios/chrome/browser/ui/tab_switcher:utils",
    "//ios/chrome/browser/ui/tab_switcher/tab_grid/grid:grid_item_identifier",
    "//ios/chrome/browser/ui/tab_switcher/tab_grid/grid:grid_ui",
    "//ios/chrome/browser/ui/tab_switcher/tab_grid/grid:grid_ui_constants",
    "//ios/chrome/browser/ui/tab_switcher/tab_grid/tab_context_menu",
    "//ios/chrome/browser/ui/tab_switcher/tab_grid/tab_context_menu:tab_item",
    "//ios/chrome/browser/ui/tab_switcher/tab_grid/transitions",
    "//ios/chrome/common/ui/colors",
    "//ios/chrome/common/ui/elements",
    "//ios/chrome/common/ui/util",
    "//ios/public/provider/chrome/browser/modals:modals_api",
    "//ios/third_party/material_components_ios",
    "//ios/web/public",
    "//ui/base",
  ]
}