chromium/ios/chrome/browser/ui/tab_switcher/test/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("utils") {
  testonly = true
  sources = [
    "query_title_server_util.h",
    "query_title_server_util.mm",
    "tabs_egtest_util.h",
    "tabs_egtest_util.mm",
  ]
  deps = [
    "//ios/chrome/browser/ui/popup_menu:constants",
    "//ios/chrome/test/earl_grey:eg_test_support+eg2",
    "//ios/testing/earl_grey:eg_test_support+eg2",
    "//net:test_support",
  ]
}

source_set("fakes") {
  sources = [
    "fake_drag_session.h",
    "fake_drag_session.mm",
    "fake_drop_session.h",
    "fake_drop_session.mm",
    "fake_pinned_tab_collection_consumer.h",
    "fake_pinned_tab_collection_consumer.mm",
    "fake_tab_collection_consumer.h",
    "fake_tab_collection_consumer.mm",
  ]
  deps = [
    "//base",
    "//ios/chrome/browser/shared/model/web_state_list",
    "//ios/chrome/browser/ui/tab_switcher",
    "//ios/chrome/browser/ui/tab_switcher:items",
    "//ios/chrome/browser/ui/tab_switcher/tab_grid/grid:grid_item_identifier",
    "//ios/web/public",
  ]
  frameworks = [ "UIKit.framework" ]
}