| # 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("otp_input_dialog") { |
| sources = [ |
| "otp_input_dialog_coordinator.h", |
| "otp_input_dialog_coordinator.mm", |
| "otp_input_dialog_mediator.h", |
| "otp_input_dialog_mediator.mm", |
| ] |
| deps = [ |
| ":otp_input_dialog_ui", |
| "//base:base", |
| "//components/autofill/core/browser", |
| "//ios/chrome/browser/shared/coordinator/chrome_coordinator", |
| "//ios/chrome/browser/shared/model/browser", |
| ] |
| } |
| |
| source_set("otp_input_dialog_ui") { |
| sources = [ |
| "otp_input_dialog_consumer.h", |
| "otp_input_dialog_content.h", |
| "otp_input_dialog_content.mm", |
| ] |
| deps = [] |
| frameworks = [ "UIKit.framework" ] |
| } |
| |
| group("unit_tests") { |
| testonly = true |
| deps = [ |
| ":card_unmask_authentication_selection_mediator_unittest", |
| ":otp_input_dialog_mediator_unittest", |
| ] |
| } |
| |
| source_set("card_unmask_authentication_coordinator") { |
| sources = [ |
| "card_unmask_authentication_coordinator.h", |
| "card_unmask_authentication_coordinator.mm", |
| ] |
| deps = [ |
| ":card_unmask_authentication_selection_coordinator", |
| "//ios/chrome/browser/shared/coordinator/chrome_coordinator", |
| ] |
| } |
| |
| source_set("card_unmask_authentication_selection_coordinator") { |
| sources = [ |
| "card_unmask_authentication_selection_coordinator.h", |
| "card_unmask_authentication_selection_coordinator.mm", |
| ] |
| deps = [ |
| ":card_unmask_authentication_selection_mediator", |
| "//components/autofill/core/browser", |
| "//ios/chrome/browser/autofill/model/bottom_sheet", |
| "//ios/chrome/browser/shared/coordinator/chrome_coordinator", |
| "//ios/chrome/browser/shared/model/browser", |
| "//ios/chrome/browser/shared/model/web_state_list", |
| ] |
| } |
| |
| source_set("card_unmask_authentication_selection_mediator") { |
| sources = [ |
| "card_unmask_authentication_selection_mediator.h", |
| "card_unmask_authentication_selection_mediator.mm", |
| ] |
| deps = [ "//components/autofill/core/browser" ] |
| public_deps = [ ":card_unmask_authentication_selection_consumer" ] |
| } |
| |
| source_set("card_unmask_authentication_selection_mediator_unittest") { |
| testonly = true |
| sources = [ "card_unmask_authentication_selection_mediator_unittest.mm" ] |
| deps = [ |
| ":card_unmask_authentication_selection_mediator", |
| "//components/autofill/core/browser", |
| "//components/strings:components_strings_grit", |
| "//testing/gtest", |
| "//third_party/ocmock", |
| "//ui/base", |
| ] |
| } |
| |
| source_set("card_unmask_authentication_selection_consumer") { |
| sources = [ "card_unmask_authentication_selection_consumer.h" ] |
| deps = [ "//base" ] |
| public_deps = [ "//ios/chrome/browser/autofill/model/authentication:card_unmask_challenge_option_ios" ] |
| } |
| |
| source_set("otp_input_dialog_mediator_unittest") { |
| testonly = true |
| sources = [ "otp_input_dialog_mediator_unittest.mm" ] |
| deps = [ |
| ":otp_input_dialog", |
| ":otp_input_dialog_ui", |
| "//base:base", |
| "//components/autofill/core/browser:browser", |
| "//testing/gtest:gtest", |
| "//third_party/ocmock", |
| ] |
| } |