| # Copyright 2018 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("manual_fill") { |
| sources = [ |
| "passwords_fetcher.h", |
| "passwords_fetcher.mm", |
| ] |
| deps = [ |
| "//base", |
| "//components/autofill/core/common", |
| "//components/keyed_service/core", |
| "//components/password_manager/core/browser", |
| "//components/password_manager/core/browser:affiliation", |
| "//ios/chrome/browser/passwords", |
| "//ios/chrome/browser/passwords:save_passwords_consumer", |
| "//ios/chrome/browser/shared/model/browser_state", |
| ] |
| frameworks = [ "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", |
| "//components/keyed_service/core", |
| "//components/password_manager/core/browser:test_support", |
| "//components/password_manager/core/common:features", |
| "//ios/chrome/browser/passwords", |
| "//ios/chrome/browser/shared/model/browser_state:test_support", |
| "//testing/gtest", |
| ] |
| } |