# Copyright 2016 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("find_bar") { configs += [ "//build/config/compiler:enable_arc" ] sources = [ "find_bar_controller_ios.h", "find_bar_controller_ios.mm", "find_bar_touch_forwarding_view.h", "find_bar_touch_forwarding_view.mm", "find_bar_view.h", "find_bar_view.mm", ] deps = [ "resources:find_bg", "resources:find_close", "resources:find_close_incognito", "resources:find_close_pressed", "resources:find_next", "resources:find_next_disabled", "resources:find_next_disabled_incognito", "resources:find_next_incognito", "resources:find_next_pressed", "resources:find_next_pressed_incognito", "resources:find_prev", "resources:find_prev_disabled", "resources:find_prev_disabled_incognito", "resources:find_prev_incognito", "resources:find_prev_pressed", "resources:find_prev_pressed_incognito", "//base", "//base:i18n", "//components/strings", "//ios/chrome/app/strings", "//ios/chrome/browser/find_in_page", "//ios/chrome/browser/ui", "//ios/chrome/browser/ui/commands", "//ios/third_party/material_components_ios", "//ui/base", "//ui/gfx", ] libs = [ "UIKit.framework" ] } source_set("eg_tests") { configs += [ "//build/config/compiler:enable_arc" ] testonly = true sources = [ "find_in_page_egtest.mm", ] deps = [ ":find_bar", "//base", "//components/strings", "//ios/chrome/app/strings", "//ios/chrome/browser/find_in_page", "//ios/chrome/browser/ui/tools_menu", "//ios/chrome/test/app:test_support", "//ios/chrome/test/earl_grey:test_support", "//ios/testing:ios_test_support", "//ios/web/public/test/http_server", "//ui/base", ] libs = [ "XCTest.framework" ] }