1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141
|
# 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.
import("//build/config/chromeos/ui_mode.gni")
assert(is_chromeos)
static_library("fileapi") {
sources = [
"arc_content_file_system_async_file_util.cc",
"arc_content_file_system_async_file_util.h",
"arc_content_file_system_backend_delegate.cc",
"arc_content_file_system_backend_delegate.h",
"arc_content_file_system_file_stream_reader.cc",
"arc_content_file_system_file_stream_reader.h",
"arc_content_file_system_file_stream_writer.cc",
"arc_content_file_system_file_stream_writer.h",
"arc_content_file_system_size_util.cc",
"arc_content_file_system_size_util.h",
"arc_content_file_system_url_util.cc",
"arc_content_file_system_url_util.h",
"arc_documents_provider_async_file_util.cc",
"arc_documents_provider_async_file_util.h",
"arc_documents_provider_backend_delegate.cc",
"arc_documents_provider_backend_delegate.h",
"arc_documents_provider_file_stream_reader.cc",
"arc_documents_provider_file_stream_reader.h",
"arc_documents_provider_file_stream_writer.cc",
"arc_documents_provider_file_stream_writer.h",
"arc_documents_provider_file_system_url_util.cc",
"arc_documents_provider_file_system_url_util.h",
"arc_documents_provider_root.cc",
"arc_documents_provider_root.h",
"arc_documents_provider_root_map.cc",
"arc_documents_provider_root_map.h",
"arc_documents_provider_root_map_factory.cc",
"arc_documents_provider_root_map_factory.h",
"arc_documents_provider_util.cc",
"arc_documents_provider_util.h",
"arc_documents_provider_watcher_manager.cc",
"arc_documents_provider_watcher_manager.h",
"arc_file_system_bridge.cc",
"arc_file_system_bridge.h",
"arc_file_system_mounter.cc",
"arc_file_system_mounter.h",
"arc_file_system_operation_runner.cc",
"arc_file_system_operation_runner.h",
"arc_file_system_operation_runner_util.cc",
"arc_file_system_operation_runner_util.h",
"arc_media_view_util.cc",
"arc_media_view_util.h",
"arc_select_files_handler.cc",
"arc_select_files_handler.h",
"arc_select_files_util.cc",
"arc_select_files_util.h",
"chrome_content_provider_url_util.cc",
"chrome_content_provider_url_util.h",
"file_stream_forwarder.cc",
"file_stream_forwarder.h",
]
public_deps = [ "//chrome/browser:browser_public_dependencies" ]
deps = [
"//ash/constants",
"//base",
"//chrome/browser/ash/arc:arc_util",
"//chrome/browser/ash/drive",
"//chrome/browser/ash/file_manager",
"//chrome/browser/ash/fileapi",
"//chrome/browser/ash/fusebox",
"//chrome/browser/ash/guest_os",
"//chrome/browser/ash/policy/dlp",
"//chrome/browser/chromeos/policy/dlp",
"//chrome/browser/profiles:profile",
"//chrome/common",
"//chromeos/ash/components/dbus/concierge:concierge_proto",
"//chromeos/ash/components/dbus/virtual_file_provider",
"//chromeos/ash/experiences/arc",
"//content/public/browser",
"//extensions/browser/api/file_handlers",
"//mojo/public/cpp/bindings",
"//net",
"//third_party/re2",
"//ui/shell_dialogs:shell_dialogs",
"//url",
# TODO(crbug.com/353449539): Use //chrome/browser/ui instead after cyclic dependency from
# obj/chrome/browser/ash/arc/fileapi/fileapi/arc_select_files_handler.o.
"//chrome/browser/apps/app_preload_service/proto",
]
allow_circular_includes_from = [
"//chrome/browser/ash/file_manager",
"//chrome/browser/ash/fileapi",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"arc_content_file_system_async_file_util_unittest.cc",
"arc_content_file_system_file_stream_reader_unittest.cc",
"arc_content_file_system_file_stream_writer_unittest.cc",
"arc_content_file_system_url_util_unittest.cc",
"arc_documents_provider_root_map_unittest.cc",
"arc_documents_provider_root_unittest.cc",
"arc_documents_provider_util_unittest.cc",
"arc_file_system_bridge_unittest.cc",
"arc_file_system_operation_runner_unittest.cc",
"arc_select_files_handler_unittest.cc",
"arc_select_files_util_unittest.cc",
"chrome_content_provider_url_util_unittest.cc",
"file_stream_forwarder_unittest.cc",
]
deps = [
":fileapi",
"//base",
"//base/test:test_support",
"//chrome/browser/ash/file_system_provider",
"//chrome/browser/ash/file_system_provider:test_support",
"//chrome/browser/ash/fileapi",
"//chrome/browser/ash/fusebox",
"//chrome/browser/ash/guest_os",
"//chrome/browser/ash/guest_os/public",
"//chrome/test:test_support",
"//chromeos/ash/components/dbus/seneschal",
"//chromeos/ash/components/dbus/virtual_file_provider",
"//chromeos/ash/experiences/arc",
"//chromeos/ash/experiences/arc:arc_test_support",
"//chromeos/ash/experiences/arc/mojom",
"//components/keyed_service/core",
"//content/test:test_support",
"//storage/browser:test_support",
"//testing/gtest",
"//url",
]
}
|