chromium/ios/chrome/browser/drive_file_picker/coordinator/BUILD.gn

# 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("coordinator") {
  sources = [
    "browse_drive_file_picker_coordinator.h",
    "browse_drive_file_picker_coordinator.mm",
    "drive_file_picker_mediator.h",
    "drive_file_picker_mediator.mm",
    "drive_file_picker_mediator_delegate.h",
    "root_drive_file_picker_coordinator.h",
    "root_drive_file_picker_coordinator.mm",
  ]
  deps = [
    "//base",
    "//ios/chrome/browser/drive/model:drive_list",
    "//ios/chrome/browser/drive/model:drive_service",
    "//ios/chrome/browser/drive/model:drive_service_factory",
    "//ios/chrome/browser/drive_file_picker/ui",
    "//ios/chrome/browser/shared/coordinator/chrome_coordinator",
    "//ios/chrome/browser/shared/model/browser",
    "//ios/chrome/browser/shared/model/browser_state",
    "//ios/chrome/browser/shared/model/profile",
    "//ios/chrome/browser/shared/public/commands",
    "//ios/chrome/browser/shared/ui/util",
    "//ios/chrome/browser/signin/model",
    "//ios/chrome/browser/signin/model:system_identity",
    "//ios/chrome/browser/ui/menu",
    "//ios/chrome/browser/web/model/choose_file",
    "//ios/web/public",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "drive_file_picker_mediator_unittest.mm" ]
  deps = [
    ":coordinator",
    "//base/test:test_support",
    "//ios/chrome/browser/drive/model:drive_service_factory",
    "//ios/chrome/browser/shared/model/browser/test:test_support",
    "//ios/chrome/browser/shared/model/profile/test",
    "//ios/chrome/browser/signin/model",
    "//ios/chrome/browser/signin/model:fake_system_identity",
    "//ios/chrome/browser/web/model/choose_file",
    "//ios/chrome/browser/web/model/choose_file:test_support",
    "//ios/web/public/test/fakes",
    "//testing/gtest",
  ]
}