# 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("search_with") {
sources = [
"search_with_delegate.h",
"search_with_mediator.h",
"search_with_mediator.mm",
]
deps = [
"//components/search_engines",
"//components/strings",
"//ios/chrome/app/strings",
"//ios/chrome/browser/shared/model/web_state_list",
"//ios/chrome/browser/shared/public/commands",
"//ios/chrome/browser/shared/public/features",
"//ios/chrome/browser/shared/ui/symbols",
"//ios/chrome/browser/ui/browser_container:edit_menu_utils",
"//ios/chrome/browser/web_selection/model",
"//ios/web/public",
]
}
source_set("eg2_tests") {
configs += [ "//build/config/ios:xctest_config" ]
testonly = true
sources = [ "search_with_mediator_egtest.mm" ]
deps = [
"//ios/chrome/browser/metrics/model:eg_test_support+eg2",
"//ios/chrome/browser/search_engines/model:eg_test_support+eg2",
"//ios/chrome/browser/shared/public/features",
"//ios/chrome/browser/ui/browser_container:eg_test_support+eg2",
"//ios/chrome/test/earl_grey:eg_test_support+eg2",
"//ios/testing/earl_grey:eg_test_support+eg2",
"//ios/web/public/test:element_selector",
"//ios/web/public/test/http_server:http_server",
"//net:test_support",
]
frameworks = [ "UIKit.framework" ]
}