# 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 = [
    "drive_file_picker_cell_content_configuration.h",
    "drive_file_picker_cell_content_configuration.mm",
    "drive_file_picker_consumer.h",
    "drive_file_picker_empty_view.h",
    "drive_file_picker_empty_view.mm",
    "drive_file_picker_item.h",
    "drive_file_picker_item.mm",
    "drive_file_picker_mutator.h",
    "drive_file_picker_navigation_controller.h",
    "drive_file_picker_navigation_controller.mm",
    "drive_file_picker_table_view_controller.h",
    "drive_file_picker_table_view_controller.mm",
    "drive_file_picker_table_view_controller_delegate.h",
  ]
  deps = [
    ":alert_utils",
    ":constants",
    ":options",
    "//ios/chrome/app/strings",
    "//ios/chrome/browser/menu/ui_bundled",
    "//ios/chrome/browser/settings/ui_bundled/password:title_view",
    "//ios/chrome/browser/shared/public/commands",
    "//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:utils",
    "//ios/chrome/browser/shared/ui/util",
    "//ios/chrome/common/ui/colors",
    "//ios/chrome/common/ui/elements:branded_navigation_item_title_view",
    "//ios/chrome/common/ui/util",
    "//ios/public/provider/chrome/browser/font:font_api",
  ]
}

source_set("options") {
  sources = [
    "drive_file_picker_options.h",
    "drive_file_picker_options.mm",
  ]
}

source_set("constants") {
  sources = [
    "drive_file_picker_constants.h",
    "drive_file_picker_constants.mm",
  ]
}

source_set("alert_utils") {
  sources = [
    "drive_file_picker_alert_utils.h",
    "drive_file_picker_alert_utils.mm",
  ]
  deps = [
    "//base",
    "//components/strings:components_strings",
    "//ios/chrome/app/strings",
    "//ui/base",
  ]
}
