blob: 12f6da7f4dfbb4c699f7a9a8905d2ceed33ae7f2 [file] [log] [blame]
# 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 = [
"accessory_provider.h",
"accessory_provider.mm",
"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",
"//ios/chrome/browser/ui/autofill/manual_fill",
]
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",
]
}