blob: 052e7ab8ec4ddec628d5b85140ea4929ff528949 [file] [log] [blame]
# 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("autofill") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"autofill_ui_type_util.h",
"autofill_ui_type_util.mm",
"chrome_autofill_client_ios.h",
"chrome_autofill_client_ios.mm",
"form_input_accessory_coordinator.h",
"form_input_accessory_coordinator.mm",
"form_input_accessory_mediator.h",
"form_input_accessory_mediator.mm",
]
deps = [
":autofill_ui",
":bridges",
"//base",
"//components/autofill/core/browser",
"//components/autofill/core/common",
"//components/autofill/ios/browser",
"//components/autofill/ios/form_util",
"//components/browser_sync",
"//components/infobars/core",
"//components/keyed_service/core",
"//components/leveldb_proto",
"//components/password_manager/core/browser",
"//components/prefs",
"//components/strings",
"//components/translate/core/browser:browser",
"//google_apis",
"//ios/chrome/app/strings",
"//ios/chrome/browser",
"//ios/chrome/browser/autofill",
"//ios/chrome/browser/autofill:autofill_shared",
"//ios/chrome/browser/autofill/manual_fill",
"//ios/chrome/browser/browser_state",
"//ios/chrome/browser/infobars",
"//ios/chrome/browser/metrics",
"//ios/chrome/browser/passwords",
"//ios/chrome/browser/passwords:passwords_generation_utils",
"//ios/chrome/browser/signin",
"//ios/chrome/browser/ssl",
"//ios/chrome/browser/sync",
"//ios/chrome/browser/translate:translate",
"//ios/chrome/browser/ui",
"//ios/chrome/browser/ui/autofill/cells",
"//ios/chrome/browser/ui/autofill/manual_fill:manual_fill",
"//ios/chrome/browser/ui/autofill/manual_fill:manual_fill_ui",
"//ios/chrome/browser/ui/collection_view/cells",
"//ios/chrome/browser/ui/colors",
"//ios/chrome/browser/ui/coordinators:chrome_coordinators",
"//ios/chrome/browser/web_state_list:web_state_list",
"//ios/chrome/common",
"//ios/public/provider/chrome/browser",
"//ios/third_party/material_components_ios",
"//ios/third_party/material_roboto_font_loader_ios",
"//ios/web",
"//ui/base",
]
public_deps = [
"//ios/chrome/browser/ui/collection_view",
]
libs = [ "UIKit.framework" ]
}
source_set("bridges") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"card_unmask_prompt_view_bridge.h",
"card_unmask_prompt_view_bridge.mm",
]
deps = [
":autofill_ui",
"//base",
"//components/autofill/core/browser",
"//components/strings",
"//ios/chrome/browser/ui",
"//ios/chrome/browser/ui/autofill/cells",
"//ios/chrome/browser/ui/collection_view/cells",
"//ios/chrome/browser/ui/colors",
"//ios/third_party/material_components_ios",
"//ios/third_party/material_roboto_font_loader_ios",
"//ios/web",
"//ui/base",
]
public_deps = [
"//ios/chrome/browser/ui/collection_view",
]
libs = [ "UIKit.framework" ]
}
source_set("autofill_ui") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"autofill_edit_accessory_view.h",
"autofill_edit_accessory_view.mm",
"autofill_ui_type.h",
"save_card_infobar_controller.h",
"save_card_infobar_controller.mm",
"save_card_infobar_view.h",
"save_card_infobar_view.mm",
"save_card_infobar_view_delegate.h",
]
deps = [
"//base",
"//base:i18n",
"//components/autofill/core/browser",
"//components/strings:components_strings_grit",
"//ios/chrome/app/theme",
"//ios/chrome/browser",
"//ios/chrome/browser/infobars",
"//ios/chrome/browser/ui",
"//ios/chrome/browser/ui/colors",
"//ios/chrome/browser/ui/image_util",
"//ios/chrome/browser/ui/infobars:infobars_ui",
"//ios/chrome/browser/ui/util",
"//ios/chrome/common",
"//ios/third_party/material_components_ios",
"//ios/third_party/material_roboto_font_loader_ios",
"//ui/base:base",
"//url:url",
]
libs = [ "UIKit.framework" ]
}
source_set("eg_tests") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [
"save_card_infobar_egtest.mm",
"save_profile_egtest.mm",
]
deps = [
":autofill_ui",
"//components/autofill/core/browser",
"//components/autofill/ios/browser:autofill_test_bundle_data",
"//components/autofill/ios/browser:test_support",
"//components/strings:components_strings_grit",
"//ios/chrome/browser/autofill",
"//ios/chrome/test/app:test_support",
"//ios/chrome/test/earl_grey:test_support",
"//ios/web/public/test/http_server",
"//services/network:test_support",
]
libs = [
"UIKit.framework",
"XCTest.framework",
]
}