chromium/ios/chrome/browser/shared/model/web_state_list/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("test_support") {
  testonly = true
  sources = [
    "fake_web_state_list_delegate.h",
    "fake_web_state_list_delegate.mm",
    "web_state_list_builder_from_description.h",
    "web_state_list_builder_from_description.mm",
  ]
  deps = [
    "//base",
    "//components/tab_groups",
    "//ios/chrome/browser/shared/model/browser_state",
    "//ios/chrome/browser/shared/model/profile",
    "//ios/chrome/browser/shared/model/url:constants",
    "//ios/chrome/browser/shared/model/web_state_list",
    "//ios/web/public",
    "//ios/web/public/test/fakes",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "web_state_list_builder_from_description_unittest.mm" ]
  deps = [
    ":test_support",
    "//base",
    "//components/tab_groups",
    "//ios/chrome/browser/shared/model/web_state_list",
    "//ios/web/public",
    "//ios/web/public/test/fakes",
    "//testing/gtest",
  ]
}