blob: 6939676d2510f7b2ee8743615d1d672a10951f9d [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.
component("ios") {
configs += [ "//build/config/compiler:enable_arc" ]
deps = [
"//base",
"//components/autofill/core/common",
"//components/autofill/ios/browser",
"//components/autofill/ios/form_util",
"//components/password_manager/core/browser",
"//components/password_manager/core/browser/form_parsing",
"//ios/web/public",
"//url",
]
sources = [
"account_select_fill_data.cc",
"account_select_fill_data.h",
"js_password_manager.h",
"js_password_manager.mm",
"password_controller_helper.h",
"password_controller_helper.mm",
]
}
static_library("test_support") {
testonly = true
sources = [
"test_helpers.cc",
"test_helpers.h",
]
deps = [
"//base",
"//components/autofill/core/common",
"//url",
]
}
source_set("unit_tests") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [
"account_select_fill_data_unittest.cc",
"password_controller_helper_unittest.mm",
]
deps = [
":ios",
":test_support",
"//base",
"//base/test:test_support",
"//components/autofill/core/common",
"//testing/gmock",
"//testing/gtest",
]
}