# 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/app:tests_hook",
    "//ios/chrome/browser/popup_menu/public",
    "//ios/chrome/browser/shared/public/snackbar: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/tab_switcher/ui_bundled",
    "//ios/chrome/browser/tab_switcher/ui_bundled:items",
    "//ios/chrome/browser/tab_switcher/ui_bundled/tab_grid/grid:grid_item_identifier",
    "//ios/chrome/browser/tab_switcher/ui_bundled/tab_grid/inactive_tabs:inactive_tabs_button_ui",
    "//ios/web/public",
  ]
  frameworks = [ "UIKit.framework" ]
}
