blob: cac839302ab26caa12d6e545d0a4cf5a37dc5981 [file] [log] [blame]
# 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("ui") {
sources = [
"background_collection_configuration.h",
"background_collection_configuration.mm",
"background_customization_configuration.h",
"home_customization_background_cell.h",
"home_customization_background_cell.mm",
"home_customization_background_color_picker_consumer.h",
"home_customization_background_color_picker_mutator.h",
"home_customization_background_color_picker_view_controller.h",
"home_customization_background_color_picker_view_controller.mm",
"home_customization_background_photo_framing_mutator.h",
"home_customization_background_photo_framing_view_controller.h",
"home_customization_background_photo_framing_view_controller.mm",
"home_customization_background_photo_library_picker_view_controller.h",
"home_customization_background_photo_library_picker_view_controller.mm",
"home_customization_background_picker_action_sheet_consumer.h",
"home_customization_background_picker_action_sheet_mutator.h",
"home_customization_background_picker_cell.h",
"home_customization_background_picker_cell.mm",
"home_customization_background_picker_presentation_delegate.h",
"home_customization_background_preset_gallery_picker_consumer.h",
"home_customization_background_preset_gallery_picker_mutator.h",
"home_customization_background_preset_gallery_picker_view_controller.h",
"home_customization_background_preset_gallery_picker_view_controller.mm",
"home_customization_background_preset_header_view.h",
"home_customization_background_preset_header_view.mm",
"home_customization_background_skeleton_cell.h",
"home_customization_background_skeleton_cell.mm",
"home_customization_collection_configurator.h",
"home_customization_collection_configurator.mm",
"home_customization_discover_consumer.h",
"home_customization_discover_view_controller.h",
"home_customization_discover_view_controller.mm",
"home_customization_framing_coordinates.h",
"home_customization_framing_coordinates.mm",
"home_customization_header_view.h",
"home_customization_header_view.mm",
"home_customization_image_view.h",
"home_customization_image_view.mm",
"home_customization_link_cell.h",
"home_customization_link_cell.mm",
"home_customization_magic_stack_consumer.h",
"home_customization_magic_stack_view_controller.h",
"home_customization_magic_stack_view_controller.mm",
"home_customization_main_consumer.h",
"home_customization_main_view_controller.h",
"home_customization_main_view_controller.mm",
"home_customization_mutator.h",
"home_customization_search_engine_logo_mediator_provider.h",
"home_customization_toggle_cell.h",
"home_customization_toggle_cell.mm",
"home_customization_view_controller_protocol.h",
"home_cutomization_color_palette_cell.h",
"home_cutomization_color_palette_cell.mm",
]
deps = [
"//base",
"//ios/chrome/app/strings:ios_strings",
"//ios/chrome/browser/home_customization/utils",
"//ios/chrome/browser/ntp/search_engine_logo/mediator",
"//ios/chrome/browser/ntp/search_engine_logo/ui",
"//ios/chrome/browser/ntp/ui_bundled:theme",
"//ios/chrome/browser/shared/model/browser",
"//ios/chrome/browser/shared/model/web_state_list",
"//ios/chrome/browser/shared/public/features",
"//ios/chrome/browser/shared/ui/symbols",
"//ios/chrome/browser/shared/ui/util",
"//ios/chrome/common/ui/colors",
"//ios/chrome/common/ui/elements",
"//ios/chrome/common/ui/util",
"//ios/chrome/common/ui/util:dynamic_type_util",
"//skia",
"//third_party/material_color_utilities",
"//ui/base",
"//ui/color/dynamic_color",
"//url",
]
frameworks = [ "UIKit.framework" ]
}
source_set("unit_tests") {
testonly = true
sources = [ "home_customization_image_view_unittest.mm" ]
deps = [
":ui",
"//base/test:test_support",
"//testing/gtest",
"//ui/base",
]
}