# 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("save_to_photos") {
sources = [
"save_to_photos_settings_account_confirmation_consumer.h",
"save_to_photos_settings_account_selection_consumer.h",
"save_to_photos_settings_account_selection_view_controller.h",
"save_to_photos_settings_account_selection_view_controller.mm",
"save_to_photos_settings_account_selection_view_controller_action_delegate.h",
"save_to_photos_settings_account_selection_view_controller_presentation_delegate.h",
"save_to_photos_settings_mediator.h",
"save_to_photos_settings_mediator.mm",
"save_to_photos_settings_mediator_delegate.h",
"save_to_photos_settings_mutator.h",
]
deps = [
"//base",
"//components/prefs",
"//components/prefs/ios",
"//components/signin/public/identity_manager/objc",
"//ios/chrome/app/strings:ios_strings_grit",
"//ios/chrome/browser/account_picker/ui_bundled/account_picker_selection:identity_item_configurator",
"//ios/chrome/browser/shared/model/prefs:pref_names",
"//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/table_view/cells",
"//ios/chrome/browser/signin/model",
"//ios/chrome/browser/ui/authentication/cells",
"//ios/chrome/browser/ui/authentication/views",
"//ios/chrome/browser/ui/settings:settings_root",
"//ios/chrome/common/ui/colors",
"//ui/base",
]
frameworks = [ "UIKit.framework" ]
}
source_set("test_support") {
testonly = true
sources = [
"fake_save_to_photos_settings_mutator.h",
"fake_save_to_photos_settings_mutator.mm",
]
deps = [ ":save_to_photos" ]
}
source_set("unit_tests") {
testonly = true
sources = [
"save_to_photos_settings_account_selection_view_controller_unittest.mm",
"save_to_photos_settings_mediator_unittest.mm",
]
deps = [
":save_to_photos",
":test_support",
"//base/test:test_support",
"//components/prefs",
"//components/signin/public/identity_manager:test_support",
"//ios/chrome/app/strings:ios_strings_grit",
"//ios/chrome/browser/account_picker/ui_bundled/account_picker_selection:identity_item_configurator",
"//ios/chrome/browser/shared/model/application_context",
"//ios/chrome/browser/shared/model/prefs:pref_names",
"//ios/chrome/browser/shared/model/profile/test",
"//ios/chrome/browser/shared/ui/table_view:test_support",
"//ios/chrome/browser/shared/ui/table_view/cells",
"//ios/chrome/browser/signin/model",
"//ios/chrome/browser/signin/model:fake_system_identity",
"//ios/chrome/browser/signin/model:fake_system_identity_manager",
"//ios/chrome/browser/signin/model:test_support",
"//ios/chrome/browser/ui/authentication/cells",
"//ios/chrome/common/ui/colors",
"//testing/gtest",
"//ui/base",
]
}