# Copyright 2023 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("reauthentication") {
sources = [
"reauthentication_coordinator.h",
"reauthentication_coordinator.mm",
]
deps = [
":reauthentication_constants",
":reauthentication_ui",
"//base",
"//components/strings",
"//ios/chrome/app/application_delegate:app_state_header",
"//ios/chrome/app/strings",
"//ios/chrome/browser/shared/coordinator/alert",
"//ios/chrome/browser/shared/coordinator/chrome_coordinator",
"//ios/chrome/browser/shared/coordinator/scene:scene_state_header",
"//ios/chrome/browser/shared/coordinator/scene:scene_state_observer",
"//ios/chrome/browser/shared/model/browser",
"//ios/chrome/browser/shared/public/commands",
"//ios/chrome/browser/ui/settings/password:features",
"//ios/chrome/browser/ui/settings/utils",
"//ios/chrome/common/ui/reauthentication",
"//ios/public/provider/chrome/browser/passcode_settings:passcode_settings_api",
"//ui/base",
]
frameworks = [ "UIKit.framework" ]
}
source_set("reauthentication_ui") {
sources = [
"reauthentication_view_controller.h",
"reauthentication_view_controller.mm",
]
deps = [
":reauthentication_constants",
"//ios/chrome/app/strings",
"//ios/chrome/browser/shared/ui/elements",
"//ios/chrome/browser/shared/ui/util",
"//ios/chrome/browser/ui/settings/password:title_view",
"//ios/chrome/common/ui/colors",
"//ios/chrome/common/ui/reauthentication",
"//ui/base",
]
frameworks = [ "UIKit.framework" ]
}
source_set("reauthentication_constants") {
sources = [
"reauthentication_constants.h",
"reauthentication_constants.mm",
]
frameworks = [ "Foundation.framework" ]
}
source_set("reauthentication_delegate") {
sources = [ "password_manager_reauthentication_delegate.h" ]
frameworks = [ "Foundation.framework" ]
}
source_set("unit_tests") {
testonly = true
sources = [ "reauthentication_coordinator_unittest.mm" ]
deps = [
":reauthentication",
":reauthentication_ui",
"//base/test:test_support",
"//ios/chrome/browser/shared/coordinator/scene:scene_state_header",
"//ios/chrome/browser/shared/model/browser/test:test_support",
"//ios/chrome/browser/shared/model/browser_state",
"//ios/chrome/browser/shared/model/profile",
"//ios/chrome/browser/shared/model/profile/test",
"//ios/chrome/browser/ui/settings/password:features",
"//ios/chrome/test:test_support",
"//ios/chrome/test/app:test_support",
"//ios/web/public/test",
"//testing/gtest",
"//third_party/ocmock",
]
frameworks = [ "UIKit.framework" ]
}