# Copyright 2024 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("constants") { sources = [ "autofill_constants.h", "autofill_constants.mm", ] deps = [ "//ios/chrome/browser/shared/ui/list_model" ] } source_set("autofill_edit") { sources = [ "autofill_edit_profile_coordinator.h", "autofill_edit_profile_coordinator.mm", "autofill_edit_profile_handler.h", ] deps = [ ":autofill_shared_ui", ":autofill_ui", ":constants", "//base", "//components/autofill/core/browser", "//ios/chrome/app/strings", "//ios/chrome/browser/autofill/model", "//ios/chrome/browser/autofill/ui_bundled/address_editor/cells", "//ios/chrome/browser/shared/coordinator/alert", "//ios/chrome/browser/shared/coordinator/chrome_coordinator", "//ios/chrome/browser/shared/model/browser", "//ios/chrome/browser/shared/model/profile", "//ios/chrome/browser/shared/ui/table_view", "//ui/base", ] } source_set("autofill_ui") { sources = [ "autofill_edit_profile_table_view_controller.h", "autofill_edit_profile_table_view_controller.mm", ] deps = [ ":autofill_shared_ui", ":constants", "//base", "//components/strings", "//ios/chrome/app/strings", "//ios/chrome/browser/autofill/ui_bundled/bottom_sheet:constants", "//ios/chrome/browser/shared/public/features", "//ios/chrome/browser/shared/ui/table_view", "//ios/chrome/browser/shared/ui/table_view:utils", "//ios/chrome/browser/shared/ui/util", "//ios/chrome/common/ui/colors", "//ios/chrome/common/ui/table_view:cells_constants", "//ui/base", ] } source_set("autofill_shared_ui") { sources = [ "autofill_country_selection_table_view_controller.h", "autofill_country_selection_table_view_controller.mm", "autofill_edit_profile_field.h", "autofill_edit_profile_field.mm", "autofill_profile_edit_consumer.h", "autofill_profile_edit_handler.h", "autofill_profile_edit_mediator.h", "autofill_profile_edit_mediator.mm", "autofill_profile_edit_mediator_delegate.h", "autofill_profile_edit_table_view_helper.h", "autofill_profile_edit_table_view_helper.mm", "autofill_profile_edit_table_view_helper_delegate.h", ] deps = [ ":constants", "//base", "//components/application_locale_storage", "//components/autofill/core/browser", "//components/autofill/core/common:features", "//components/autofill/ios/common", "//components/strings:components_strings_grit", "//components/variations/service", "//ios/chrome/app/strings", "//ios/chrome/browser/autofill/ui_bundled:ui_type", "//ios/chrome/browser/autofill/ui_bundled/address_editor/cells", "//ios/chrome/browser/settings/ui_bundled/autofill:shared_ui", "//ios/chrome/browser/shared/model/application_context", "//ios/chrome/browser/shared/ui/list_model", "//ios/chrome/browser/shared/ui/symbols", "//ios/chrome/browser/shared/ui/table_view", "//ios/chrome/browser/shared/ui/table_view:constants", "//ios/chrome/browser/shared/ui/table_view:utils", "//ios/chrome/browser/shared/ui/util", "//ios/chrome/common/ui/colors", "//ios/chrome/common/ui/table_view:cells_constants", "//ios/chrome/common/ui/util", "//ui/base", ] } source_set("unit_tests") { testonly = true sources = [ "autofill_profile_edit_mediator_unittest.mm", "autofill_profile_edit_table_view_helper_unittest.mm", ] deps = [ ":autofill_shared_ui", ":constants", "//base", "//base/test:test_support", "//components/application_locale_storage", "//components/autofill/core/browser", "//components/autofill/core/browser:test_support", "//components/autofill/core/common:features", "//components/autofill/ios/common", "//components/strings:components_strings_grit", "//components/variations/service", "//ios/chrome/app/strings:ios_strings_grit", "//ios/chrome/browser/autofill/model", "//ios/chrome/browser/autofill/ui_bundled/address_editor/cells", "//ios/chrome/browser/shared/model/application_context", "//ios/chrome/browser/shared/model/profile/test", "//ios/chrome/browser/shared/ui/list_model", "//ios/chrome/browser/shared/ui/table_view:test_support", "//ios/chrome/browser/shared/ui/table_view/cells", "//ios/chrome/browser/webdata_services/model", "//ios/chrome/common/ui/colors", "//ios/chrome/test:test_support", "//ios/web/public/test", "//testing/gtest", ] }