# Copyright 2018 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. import("//ios/web/js_compile.gni") source_set("manual_fill") { sources = [ "passwords_fetcher.h", "passwords_fetcher.mm", ] deps = [ "//base", "//components/autofill/core/common:common", "//components/keyed_service/core:core", "//components/password_manager/core/browser:browser", "//ios/chrome/browser/autofill:autofill_shared", "//ios/chrome/browser/browser_state:browser_state", "//ios/chrome/browser/passwords:passwords", ] libs = [ "UIKit.framework" ] configs += [ "//build/config/compiler:enable_arc" ] } source_set("unit_tests") { configs += [ "//build/config/compiler:enable_arc" ] testonly = true sources = [ "passwords_fetcher_unittest.mm", ] deps = [ ":manual_fill", "//base/test:test_support", "//components/autofill/core/common:common", "//components/keyed_service/core:core", "//components/password_manager/core/browser:test_support", "//ios/chrome/browser/browser_state:test_support", "//ios/chrome/browser/passwords:passwords", "//testing/gtest:gtest", ] }