# 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("tabs") {
sources = [
"tabs_settings_coordinator.h",
"tabs_settings_coordinator.mm",
"tabs_settings_mediator.h",
"tabs_settings_mediator.mm",
]
deps = [
":tabs_ui",
"//components/prefs",
"//components/prefs/ios",
"//components/sync/service",
"//ios/chrome/browser/shared/coordinator/chrome_coordinator",
"//ios/chrome/browser/shared/model/application_context",
"//ios/chrome/browser/shared/model/browser",
"//ios/chrome/browser/shared/model/prefs:pref_names",
"//ios/chrome/browser/sync/model",
"//ios/chrome/browser/tabs/model/inactive_tabs:features",
"//ios/chrome/browser/ui/settings/tabs/inactive_tabs",
]
}
source_set("tabs_ui") {
sources = [
"tabs_settings_consumer.h",
"tabs_settings_navigation_commands.h",
"tabs_settings_table_view_controller.h",
"tabs_settings_table_view_controller.mm",
"tabs_settings_table_view_controller_delegate.h",
]
deps = [
":tabs_constants",
"//base",
"//base:i18n",
"//ios/chrome/app/strings",
"//ios/chrome/browser/shared/ui/table_view:utils",
"//ios/chrome/browser/shared/ui/table_view/cells",
"//ios/chrome/browser/tabs/model/inactive_tabs:features",
"//ios/chrome/browser/ui/settings:constants",
"//ios/chrome/browser/ui/settings:settings_root",
"//ios/chrome/browser/ui/settings/tabs/inactive_tabs:inactive_tabs_ui",
"//ui/base",
]
}
source_set("tabs_constants") {
sources = [
"tabs_settings_constants.h",
"tabs_settings_constants.mm",
]
}
source_set("eg2_tests") {
configs += [ "//build/config/ios:xctest_config" ]
testonly = true
sources = [ "tabs_settings_egtest.mm" ]
deps = [
"//ios/chrome/browser/shared/model/prefs:pref_names",
"//ios/chrome/browser/tabs/model/inactive_tabs:features",
"//ios/chrome/test/earl_grey:eg_test_support+eg2",
"//ios/testing/earl_grey:eg_test_support+eg2",
]
frameworks = [ "UIKit.framework" ]
}