blob: ec545b75ff52e3aa7ac44e225f058df42751b732 [file] [log] [blame]
# Copyright 2021 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("feature_flags") {
sources = [
"start_surface_features.h",
"start_surface_features.mm",
]
configs += [ "//build/config/compiler:enable_arc" ]
deps = [
"//base",
"//ui/base",
]
}
source_set("start_surface") {
sources = [
"start_surface_recent_tab_browser_agent.h",
"start_surface_recent_tab_browser_agent.mm",
"start_surface_recent_tab_removal_observer_bridge.h",
"start_surface_recent_tab_removal_observer_bridge.mm",
"start_surface_scene_agent.h",
"start_surface_scene_agent.mm",
"start_surface_util.h",
"start_surface_util.mm",
]
configs += [ "//build/config/compiler:enable_arc" ]
deps = [
":feature_flags",
"//base",
"//components/favicon/ios",
"//ios/chrome/app/strings:ios_strings",
"//ios/chrome/browser/ui/main:browser_interface_provider",
"//ios/chrome/browser/ui/main:observing_scene_agent",
"//ios/chrome/browser/ui/main:scene_state_header",
"//ios/chrome/browser/web_state_list",
"//ios/web/public",
"//ios/web/public:web_state_observer",
"//ui/base",
]
}
source_set("eg2_tests") {
defines = [ "CHROME_EARL_GREY_2" ]
configs += [
"//build/config/compiler:enable_arc",
"//build/config/ios:xctest_config",
]
testonly = true
sources = [ "start_surface_egtest.mm" ]
deps = [
":feature_flags",
"//ios/chrome/test/earl_grey:eg_test_support+eg2",
"//ios/testing/earl_grey:eg_test_support+eg2",
"//ios/third_party/earl_grey2:test_lib",
"//net:test_support",
]
frameworks = [ "UIKit.framework" ]
}