[email protected] | 44a5a36 | 2014-05-30 20:01:51 | [diff] [blame] | 1 | # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
pilgrim | 4af8c21 | 2014-09-05 17:30:15 | [diff] [blame] | 5 | # GYP version: storage/storage_browser.gyp:storage |
| 6 | component("browser") { |
| 7 | output_name = "storage_browser" |
[email protected] | 44a5a36 | 2014-05-30 20:01:51 | [diff] [blame] | 8 | sources = [ |
dmurph | 233c81b | 2015-12-02 21:51:17 | [diff] [blame] | 9 | "blob/blob_async_builder_host.cc", |
| 10 | "blob/blob_async_builder_host.h", |
| 11 | "blob/blob_async_transport_strategy.cc", |
| 12 | "blob/blob_async_transport_strategy.h", |
dmurph | bff2e53 | 2015-01-23 09:18:56 | [diff] [blame] | 13 | "blob/blob_data_builder.cc", |
| 14 | "blob/blob_data_builder.h", |
[email protected] | 44a5a36 | 2014-05-30 20:01:51 | [diff] [blame] | 15 | "blob/blob_data_handle.cc", |
| 16 | "blob/blob_data_handle.h", |
dmurph | bff2e53 | 2015-01-23 09:18:56 | [diff] [blame] | 17 | "blob/blob_data_item.cc", |
| 18 | "blob/blob_data_item.h", |
| 19 | "blob/blob_data_snapshot.cc", |
| 20 | "blob/blob_data_snapshot.h", |
dmurph | 164f0b7 | 2015-09-30 18:49:01 | [diff] [blame] | 21 | "blob/blob_reader.cc", |
| 22 | "blob/blob_reader.h", |
[email protected] | 44a5a36 | 2014-05-30 20:01:51 | [diff] [blame] | 23 | "blob/blob_storage_context.cc", |
| 24 | "blob/blob_storage_context.h", |
dmurph | d0e06a58 | 2015-10-14 17:25:28 | [diff] [blame] | 25 | "blob/blob_storage_registry.cc", |
| 26 | "blob/blob_storage_registry.h", |
[email protected] | 44a5a36 | 2014-05-30 20:01:51 | [diff] [blame] | 27 | "blob/blob_url_request_job.cc", |
| 28 | "blob/blob_url_request_job.h", |
| 29 | "blob/blob_url_request_job_factory.cc", |
| 30 | "blob/blob_url_request_job_factory.h", |
dmurph | 8acaec37 | 2015-02-11 01:23:25 | [diff] [blame] | 31 | "blob/internal_blob_data.cc", |
| 32 | "blob/internal_blob_data.h", |
dmurph | bff2e53 | 2015-01-23 09:18:56 | [diff] [blame] | 33 | "blob/scoped_file.cc", |
| 34 | "blob/scoped_file.h", |
dmurph | 8acaec37 | 2015-02-11 01:23:25 | [diff] [blame] | 35 | "blob/shareable_blob_data_item.cc", |
| 36 | "blob/shareable_blob_data_item.h", |
dmurph | bff2e53 | 2015-01-23 09:18:56 | [diff] [blame] | 37 | "blob/shareable_file_reference.cc", |
| 38 | "blob/shareable_file_reference.h", |
dmurph | 164f0b7 | 2015-09-30 18:49:01 | [diff] [blame] | 39 | "blob/upload_blob_element_reader.cc", |
| 40 | "blob/upload_blob_element_reader.h", |
[email protected] | 44a5a36 | 2014-05-30 20:01:51 | [diff] [blame] | 41 | "blob/view_blob_internals_job.cc", |
| 42 | "blob/view_blob_internals_job.h", |
| 43 | "database/database_quota_client.cc", |
| 44 | "database/database_quota_client.h", |
| 45 | "database/database_tracker.cc", |
| 46 | "database/database_tracker.h", |
| 47 | "database/database_util.cc", |
| 48 | "database/database_util.h", |
| 49 | "database/databases_table.cc", |
| 50 | "database/databases_table.h", |
| 51 | "database/vfs_backend.cc", |
| 52 | "database/vfs_backend.h", |
| 53 | "fileapi/async_file_util.h", |
| 54 | "fileapi/async_file_util_adapter.cc", |
| 55 | "fileapi/async_file_util_adapter.h", |
| 56 | "fileapi/copy_or_move_file_validator.h", |
| 57 | "fileapi/copy_or_move_operation_delegate.cc", |
| 58 | "fileapi/copy_or_move_operation_delegate.h", |
| 59 | "fileapi/dragged_file_util.cc", |
| 60 | "fileapi/dragged_file_util.h", |
| 61 | "fileapi/external_mount_points.cc", |
| 62 | "fileapi/external_mount_points.h", |
| 63 | "fileapi/file_observers.h", |
| 64 | "fileapi/file_permission_policy.h", |
zhuoyu.qian | 996d331 | 2015-02-25 05:00:59 | [diff] [blame] | 65 | "fileapi/file_stream_reader.cc", |
| 66 | "fileapi/file_stream_reader.h", |
[email protected] | 44a5a36 | 2014-05-30 20:01:51 | [diff] [blame] | 67 | "fileapi/file_stream_writer.h", |
| 68 | "fileapi/file_system_backend.h", |
| 69 | "fileapi/file_system_context.cc", |
| 70 | "fileapi/file_system_context.h", |
| 71 | "fileapi/file_system_dir_url_request_job.cc", |
| 72 | "fileapi/file_system_dir_url_request_job.h", |
| 73 | "fileapi/file_system_file_stream_reader.cc", |
| 74 | "fileapi/file_system_file_stream_reader.h", |
| 75 | "fileapi/file_system_file_util.cc", |
| 76 | "fileapi/file_system_file_util.h", |
| 77 | "fileapi/file_system_operation.h", |
| 78 | "fileapi/file_system_operation_context.cc", |
| 79 | "fileapi/file_system_operation_context.h", |
| 80 | "fileapi/file_system_operation_impl.cc", |
| 81 | "fileapi/file_system_operation_impl.h", |
| 82 | "fileapi/file_system_operation_runner.cc", |
| 83 | "fileapi/file_system_operation_runner.h", |
| 84 | "fileapi/file_system_options.cc", |
| 85 | "fileapi/file_system_options.h", |
| 86 | "fileapi/file_system_quota_client.cc", |
| 87 | "fileapi/file_system_quota_client.h", |
| 88 | "fileapi/file_system_quota_util.h", |
| 89 | "fileapi/file_system_url.cc", |
| 90 | "fileapi/file_system_url.h", |
| 91 | "fileapi/file_system_url_request_job.cc", |
| 92 | "fileapi/file_system_url_request_job.h", |
| 93 | "fileapi/file_system_url_request_job_factory.cc", |
| 94 | "fileapi/file_system_url_request_job_factory.h", |
| 95 | "fileapi/file_system_usage_cache.cc", |
| 96 | "fileapi/file_system_usage_cache.h", |
| 97 | "fileapi/file_writer_delegate.cc", |
| 98 | "fileapi/file_writer_delegate.h", |
| 99 | "fileapi/isolated_context.cc", |
| 100 | "fileapi/isolated_context.h", |
| 101 | "fileapi/isolated_file_system_backend.cc", |
| 102 | "fileapi/isolated_file_system_backend.h", |
zhuoyu.qian | 996d331 | 2015-02-25 05:00:59 | [diff] [blame] | 103 | "fileapi/local_file_stream_reader.cc", |
| 104 | "fileapi/local_file_stream_reader.h", |
[email protected] | 44a5a36 | 2014-05-30 20:01:51 | [diff] [blame] | 105 | "fileapi/local_file_stream_writer.cc", |
| 106 | "fileapi/local_file_stream_writer.h", |
| 107 | "fileapi/local_file_util.cc", |
| 108 | "fileapi/local_file_util.h", |
| 109 | "fileapi/mount_points.cc", |
| 110 | "fileapi/mount_points.h", |
| 111 | "fileapi/native_file_util.cc", |
| 112 | "fileapi/native_file_util.h", |
| 113 | "fileapi/obfuscated_file_util.cc", |
| 114 | "fileapi/obfuscated_file_util.h", |
| 115 | "fileapi/open_file_system_mode.h", |
| 116 | "fileapi/plugin_private_file_system_backend.cc", |
| 117 | "fileapi/plugin_private_file_system_backend.h", |
| 118 | "fileapi/quota/open_file_handle.cc", |
| 119 | "fileapi/quota/open_file_handle.h", |
| 120 | "fileapi/quota/open_file_handle_context.cc", |
| 121 | "fileapi/quota/open_file_handle_context.h", |
| 122 | "fileapi/quota/quota_backend_impl.cc", |
| 123 | "fileapi/quota/quota_backend_impl.h", |
| 124 | "fileapi/quota/quota_reservation.cc", |
| 125 | "fileapi/quota/quota_reservation.h", |
| 126 | "fileapi/quota/quota_reservation_buffer.cc", |
| 127 | "fileapi/quota/quota_reservation_buffer.h", |
| 128 | "fileapi/quota/quota_reservation_manager.cc", |
| 129 | "fileapi/quota/quota_reservation_manager.h", |
| 130 | "fileapi/recursive_operation_delegate.cc", |
| 131 | "fileapi/recursive_operation_delegate.h", |
| 132 | "fileapi/remove_operation_delegate.cc", |
| 133 | "fileapi/remove_operation_delegate.h", |
| 134 | "fileapi/sandbox_directory_database.cc", |
| 135 | "fileapi/sandbox_directory_database.h", |
| 136 | "fileapi/sandbox_file_stream_writer.cc", |
| 137 | "fileapi/sandbox_file_stream_writer.h", |
| 138 | "fileapi/sandbox_file_system_backend.cc", |
| 139 | "fileapi/sandbox_file_system_backend.h", |
| 140 | "fileapi/sandbox_file_system_backend_delegate.cc", |
| 141 | "fileapi/sandbox_file_system_backend_delegate.h", |
| 142 | "fileapi/sandbox_isolated_origin_database.cc", |
| 143 | "fileapi/sandbox_isolated_origin_database.h", |
| 144 | "fileapi/sandbox_origin_database.cc", |
| 145 | "fileapi/sandbox_origin_database.h", |
| 146 | "fileapi/sandbox_origin_database_interface.cc", |
| 147 | "fileapi/sandbox_origin_database_interface.h", |
| 148 | "fileapi/sandbox_prioritized_origin_database.cc", |
| 149 | "fileapi/sandbox_prioritized_origin_database.h", |
| 150 | "fileapi/sandbox_quota_observer.cc", |
| 151 | "fileapi/sandbox_quota_observer.h", |
| 152 | "fileapi/task_runner_bound_observer_list.h", |
| 153 | "fileapi/timed_task_helper.cc", |
| 154 | "fileapi/timed_task_helper.h", |
| 155 | "fileapi/transient_file_util.cc", |
| 156 | "fileapi/transient_file_util.h", |
nhiroki | 75c6f18a | 2014-11-10 03:05:53 | [diff] [blame] | 157 | "quota/client_usage_tracker.cc", |
| 158 | "quota/client_usage_tracker.h", |
[email protected] | 44a5a36 | 2014-05-30 20:01:51 | [diff] [blame] | 159 | "quota/quota_callbacks.h", |
| 160 | "quota/quota_client.h", |
| 161 | "quota/quota_database.cc", |
| 162 | "quota/quota_database.h", |
| 163 | "quota/quota_manager.cc", |
| 164 | "quota/quota_manager.h", |
| 165 | "quota/quota_manager_proxy.cc", |
| 166 | "quota/quota_manager_proxy.h", |
| 167 | "quota/quota_task.cc", |
| 168 | "quota/quota_task.h", |
| 169 | "quota/quota_temporary_storage_evictor.cc", |
| 170 | "quota/quota_temporary_storage_evictor.h", |
| 171 | "quota/special_storage_policy.cc", |
| 172 | "quota/special_storage_policy.h", |
| 173 | "quota/storage_monitor.cc", |
| 174 | "quota/storage_monitor.h", |
| 175 | "quota/storage_observer.cc", |
| 176 | "quota/storage_observer.h", |
| 177 | "quota/usage_tracker.cc", |
| 178 | "quota/usage_tracker.h", |
scottmg | 7c7296f4 | 2015-02-28 02:23:09 | [diff] [blame] | 179 | "storage_browser_export.h", |
[email protected] | 44a5a36 | 2014-05-30 20:01:51 | [diff] [blame] | 180 | ] |
| 181 | |
pilgrim | 0e4d1cb3 | 2014-08-30 01:16:11 | [diff] [blame] | 182 | defines = [ "STORAGE_BROWSER_IMPLEMENTATION" ] |
brettw | d1c719a | 2015-02-19 23:17:04 | [diff] [blame] | 183 | configs += [ |
brettw | bc8b2a2 | 2015-07-28 18:24:42 | [diff] [blame] | 184 | "//build/config:precompiled_headers", |
| 185 | |
brettw | d1c719a | 2015-02-19 23:17:04 | [diff] [blame] | 186 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 187 | "//build/config/compiler:no_size_t_to_int_warning", |
| 188 | "//build/config/compiler:wexit_time_destructors", |
| 189 | ] |
[email protected] | 44a5a36 | 2014-05-30 20:01:51 | [diff] [blame] | 190 | |
| 191 | deps = [ |
| 192 | "//base", |
| 193 | "//base:i18n", |
| 194 | "//base/third_party/dynamic_annotations", |
| 195 | "//net", |
| 196 | "//sql", |
pilgrim | f55d19fc | 2014-09-04 00:05:24 | [diff] [blame] | 197 | "//storage/common", |
[email protected] | 44a5a36 | 2014-05-30 20:01:51 | [diff] [blame] | 198 | "//third_party/leveldatabase", |
| 199 | "//third_party/sqlite", |
| 200 | "//url", |
[email protected] | 44a5a36 | 2014-05-30 20:01:51 | [diff] [blame] | 201 | ] |
| 202 | |
| 203 | # TODO(GYP) support chrome_multiple_dll |
| 204 | #['chrome_multiple_dll!=1', { |
| 205 | # 'dependencies': [ |
| 206 | # '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink', |
| 207 | # ], |
| 208 | #}], |
| 209 | } |
| 210 | |
| 211 | executable("dump_file_system") { |
| 212 | sources = [ |
| 213 | "fileapi/dump_file_system.cc", |
| 214 | ] |
| 215 | |
| 216 | deps = [ |
pilgrim | 4af8c21 | 2014-09-05 17:30:15 | [diff] [blame] | 217 | ":browser", |
[email protected] | 44a5a36 | 2014-05-30 20:01:51 | [diff] [blame] | 218 | "//base", |
brettw | ba7a73d | 2015-08-31 22:17:39 | [diff] [blame] | 219 | "//build/config/sanitizers:deps", |
pilgrim | f55d19fc | 2014-09-04 00:05:24 | [diff] [blame] | 220 | "//storage/common", |
[email protected] | 44a5a36 | 2014-05-30 20:01:51 | [diff] [blame] | 221 | ] |
| 222 | } |