chromium/ios/chrome/browser/ui/tab_switcher/tab_grid/tab_context_menu/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("tab_context_menu") {
  sources = [
    "tab_context_menu_helper.h",
    "tab_context_menu_helper.mm",
    "tab_context_menu_provider.h",
  ]

  deps = [
    ":tab_item",
    "//base",
    "//components/bookmarks/browser",
    "//components/bookmarks/common",
    "//components/prefs",
    "//ios/chrome/browser/bookmarks/model",
    "//ios/chrome/browser/bookmarks/ui_bundled:utils",
    "//ios/chrome/browser/ntp/model:util",
    "//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/model/web_state_list:utils",
    "//ios/chrome/browser/shared/public/features",
    "//ios/chrome/browser/tabs/model",
    "//ios/chrome/browser/ui/menu",
    "//ios/chrome/browser/ui/menu:tab_context_menu_delegate",
    "//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/web/public",
  ]
}

source_set("tab_item") {
  sources = [
    "tab_cell.h",
    "tab_cell.mm",
    "tab_item.h",
    "tab_item.mm",
  ]

  deps = [
    "//ios/chrome/browser/ui/tab_switcher/tab_grid/grid:grid_item_identifier",
    "//ios/web/public",
    "//url",
  ]
}