| # 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("find_bar") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| 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", |
| "resources:find_next", |
| "resources:find_prev", |
| "//base", |
| "//base:i18n", |
| "//components/strings", |
| "//ios/chrome/app/strings", |
| "//ios/chrome/browser/find_in_page", |
| "//ios/chrome/browser/main", |
| "//ios/chrome/browser/shared/coordinator/chrome_coordinator", |
| "//ios/chrome/browser/shared/model/browser_state", |
| "//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/keyboard", |
| "//ios/chrome/browser/ui/presenters", |
| "//ios/chrome/browser/ui/resources:menu_shadow", |
| "//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/public/provider/chrome/browser/find_in_page:find_in_page_api", |
| "//ios/third_party/material_components_ios", |
| "//ui/base", |
| "//ui/gfx", |
| ] |
| frameworks = [ "UIKit.framework" ] |
| } |
| |
| source_set("constants") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| sources = [ |
| "find_bar_constants.h", |
| "find_bar_constants.mm", |
| ] |
| } |
| |
| source_set("eg2_tests") { |
| configs += [ |
| "//build/config/compiler:enable_arc", |
| "//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:features", |
| "//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/compiler:enable_arc", |
| "//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" ] |
| } |
| |
| source_set("eg_test_support+eg2") { |
| configs += [ |
| "//build/config/compiler:enable_arc", |
| "//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" ] |
| } |