# Copyright 2016 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("ui_bundled") {
sources = [
"find_bar_consumer.h",
"find_bar_controller_ios.h",
"find_bar_controller_ios.mm",
"find_bar_coordinator.h",
"find_bar_coordinator.mm",
"find_bar_mediator.h",
"find_bar_mediator.mm",
"find_bar_view.h",
"find_bar_view.mm",
"find_bar_view_controller.h",
"find_bar_view_controller.mm",
]
deps = [
":constants",
"//base",
"//base:i18n",
"//components/strings",
"//ios/chrome/app/strings",
"//ios/chrome/browser/find_bar/ui_bundled/resources",
"//ios/chrome/browser/find_in_page/model",
"//ios/chrome/browser/keyboard/ui_bundled",
"//ios/chrome/browser/main/model",
"//ios/chrome/browser/shared/coordinator/chrome_coordinator",
"//ios/chrome/browser/shared/model/browser_state",
"//ios/chrome/browser/shared/model/profile",
"//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/util",
"//ios/chrome/browser/shared/ui/util/image",
"//ios/chrome/browser/ui/presenters",
"//ios/chrome/browser/ui/resources",
"//ios/chrome/browser/ui/toolbar/accessory",
"//ios/chrome/common/ui/colors",
"//ios/chrome/common/ui/util",
"//ios/chrome/common/ui/util:dynamic_type_util",
"//ios/third_party/material_components_ios",
"//ios/web/public",
"//ui/base",
"//ui/gfx",
]
frameworks = [ "UIKit.framework" ]
}
source_set("constants") {
sources = [
"find_bar_constants.h",
"find_bar_constants.mm",
]
}
source_set("eg2_tests") {
configs += [ "//build/config/ios:xctest_config" ]
testonly = true
sources = [ "java_script_find_in_page_egtest.mm" ]
deps = [
":constants",
":eg_test_support+eg2",
"//base",
"//base/test:test_support",
"//components/strings",
"//ios/chrome/browser/find_in_page/model:util",
"//ios/chrome/browser/ui/popup_menu:constants",
"//ios/chrome/browser/ui/toolbar/accessory:constants",
"//ios/chrome/test/earl_grey:eg_test_support+eg2",
"//ios/testing/earl_grey:eg_test_support+eg2",
"//ios/web/public/test/http_server",
"//net:test_support",
"//ui/base",
]
frameworks = [ "UIKit.framework" ]
}
source_set("eg_app_support+eg2") {
configs += [ "//build/config/ios:xctest_config" ]
testonly = true
sources = [
"java_script_find_in_page_controller_app_interface.h",
"java_script_find_in_page_controller_app_interface.mm",
]
deps = [ "//ios/chrome/browser/find_in_page/model" ]
}
source_set("eg_test_support+eg2") {
configs += [ "//build/config/ios:xctest_config" ]
testonly = true
sources = [
"java_script_find_in_page_controller_app_interface.h",
"java_script_find_in_page_controller_app_interface_stub.mm",
]
deps = [ "//ios/testing/earl_grey:eg_test_support+eg2" ]
}