OLD | NEW |
(Empty) | |
| 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 |
| 5 config("storage_config") { |
| 6 if (is_android) { |
| 7 defines = [ "APPCACHE_USE_SIMPLE_CACHE" ] |
| 8 } |
| 9 } |
| 10 |
| 11 component("storage") { |
| 12 output_name = "webkit_storage_browser" |
| 13 sources = [ |
| 14 "webkit_storage_browser_export.h", |
| 15 "appcache/appcache.cc", |
| 16 "appcache/appcache.h", |
| 17 "appcache/appcache_backend_impl.cc", |
| 18 "appcache/appcache_backend_impl.h", |
| 19 "appcache/appcache_database.cc", |
| 20 "appcache/appcache_database.h", |
| 21 "appcache/appcache_disk_cache.cc", |
| 22 "appcache/appcache_disk_cache.h", |
| 23 "appcache/appcache_entry.h", |
| 24 "appcache/appcache_executable_handler.h", |
| 25 "appcache/appcache_group.cc", |
| 26 "appcache/appcache_group.h", |
| 27 "appcache/appcache_histograms.cc", |
| 28 "appcache/appcache_histograms.h", |
| 29 "appcache/appcache_host.cc", |
| 30 "appcache/appcache_host.h", |
| 31 "appcache/appcache_policy.h", |
| 32 "appcache/appcache_quota_client.cc", |
| 33 "appcache/appcache_quota_client.h", |
| 34 "appcache/appcache_request_handler.cc", |
| 35 "appcache/appcache_request_handler.h", |
| 36 "appcache/appcache_response.cc", |
| 37 "appcache/appcache_response.h", |
| 38 "appcache/appcache_service.cc", |
| 39 "appcache/appcache_service.h", |
| 40 "appcache/appcache_storage.cc", |
| 41 "appcache/appcache_storage.h", |
| 42 "appcache/appcache_storage_impl.cc", |
| 43 "appcache/appcache_storage_impl.h", |
| 44 "appcache/appcache_working_set.cc", |
| 45 "appcache/appcache_working_set.h", |
| 46 "appcache/appcache_update_job.cc", |
| 47 "appcache/appcache_update_job.h", |
| 48 "appcache/appcache_url_request_job.cc", |
| 49 "appcache/appcache_url_request_job.h", |
| 50 "appcache/manifest_parser.cc", |
| 51 "appcache/manifest_parser.h", |
| 52 "blob/blob_data_handle.cc", |
| 53 "blob/blob_data_handle.h", |
| 54 "blob/blob_storage_context.cc", |
| 55 "blob/blob_storage_context.h", |
| 56 "blob/blob_url_request_job.cc", |
| 57 "blob/blob_url_request_job.h", |
| 58 "blob/blob_url_request_job_factory.cc", |
| 59 "blob/blob_url_request_job_factory.h", |
| 60 "blob/file_stream_reader.cc", |
| 61 "blob/file_stream_reader.h", |
| 62 "blob/local_file_stream_reader.cc", |
| 63 "blob/local_file_stream_reader.h", |
| 64 "blob/view_blob_internals_job.cc", |
| 65 "blob/view_blob_internals_job.h", |
| 66 "database/database_quota_client.cc", |
| 67 "database/database_quota_client.h", |
| 68 "database/database_tracker.cc", |
| 69 "database/database_tracker.h", |
| 70 "database/database_util.cc", |
| 71 "database/database_util.h", |
| 72 "database/databases_table.cc", |
| 73 "database/databases_table.h", |
| 74 "database/vfs_backend.cc", |
| 75 "database/vfs_backend.h", |
| 76 "fileapi/async_file_util.h", |
| 77 "fileapi/async_file_util_adapter.cc", |
| 78 "fileapi/async_file_util_adapter.h", |
| 79 "fileapi/copy_or_move_file_validator.h", |
| 80 "fileapi/copy_or_move_operation_delegate.cc", |
| 81 "fileapi/copy_or_move_operation_delegate.h", |
| 82 "fileapi/dragged_file_util.cc", |
| 83 "fileapi/dragged_file_util.h", |
| 84 "fileapi/external_mount_points.cc", |
| 85 "fileapi/external_mount_points.h", |
| 86 "fileapi/file_observers.h", |
| 87 "fileapi/file_permission_policy.h", |
| 88 "fileapi/file_stream_writer.h", |
| 89 "fileapi/file_system_backend.h", |
| 90 "fileapi/file_system_context.cc", |
| 91 "fileapi/file_system_context.h", |
| 92 "fileapi/file_system_dir_url_request_job.cc", |
| 93 "fileapi/file_system_dir_url_request_job.h", |
| 94 "fileapi/file_system_file_stream_reader.cc", |
| 95 "fileapi/file_system_file_stream_reader.h", |
| 96 "fileapi/file_system_file_util.cc", |
| 97 "fileapi/file_system_file_util.h", |
| 98 "fileapi/file_system_operation.h", |
| 99 "fileapi/file_system_operation_context.cc", |
| 100 "fileapi/file_system_operation_context.h", |
| 101 "fileapi/file_system_operation_impl.cc", |
| 102 "fileapi/file_system_operation_impl.h", |
| 103 "fileapi/file_system_operation_runner.cc", |
| 104 "fileapi/file_system_operation_runner.h", |
| 105 "fileapi/file_system_options.cc", |
| 106 "fileapi/file_system_options.h", |
| 107 "fileapi/file_system_quota_client.cc", |
| 108 "fileapi/file_system_quota_client.h", |
| 109 "fileapi/file_system_quota_util.h", |
| 110 "fileapi/file_system_url.cc", |
| 111 "fileapi/file_system_url.h", |
| 112 "fileapi/file_system_url_request_job.cc", |
| 113 "fileapi/file_system_url_request_job.h", |
| 114 "fileapi/file_system_url_request_job_factory.cc", |
| 115 "fileapi/file_system_url_request_job_factory.h", |
| 116 "fileapi/file_system_usage_cache.cc", |
| 117 "fileapi/file_system_usage_cache.h", |
| 118 "fileapi/file_writer_delegate.cc", |
| 119 "fileapi/file_writer_delegate.h", |
| 120 "fileapi/isolated_context.cc", |
| 121 "fileapi/isolated_context.h", |
| 122 "fileapi/isolated_file_system_backend.cc", |
| 123 "fileapi/isolated_file_system_backend.h", |
| 124 "fileapi/local_file_stream_writer.cc", |
| 125 "fileapi/local_file_stream_writer.h", |
| 126 "fileapi/local_file_util.cc", |
| 127 "fileapi/local_file_util.h", |
| 128 "fileapi/mount_points.cc", |
| 129 "fileapi/mount_points.h", |
| 130 "fileapi/native_file_util.cc", |
| 131 "fileapi/native_file_util.h", |
| 132 "fileapi/obfuscated_file_util.cc", |
| 133 "fileapi/obfuscated_file_util.h", |
| 134 "fileapi/open_file_system_mode.h", |
| 135 "fileapi/plugin_private_file_system_backend.cc", |
| 136 "fileapi/plugin_private_file_system_backend.h", |
| 137 "fileapi/quota/open_file_handle.cc", |
| 138 "fileapi/quota/open_file_handle.h", |
| 139 "fileapi/quota/open_file_handle_context.cc", |
| 140 "fileapi/quota/open_file_handle_context.h", |
| 141 "fileapi/quota/quota_backend_impl.cc", |
| 142 "fileapi/quota/quota_backend_impl.h", |
| 143 "fileapi/quota/quota_reservation.cc", |
| 144 "fileapi/quota/quota_reservation.h", |
| 145 "fileapi/quota/quota_reservation_buffer.cc", |
| 146 "fileapi/quota/quota_reservation_buffer.h", |
| 147 "fileapi/quota/quota_reservation_manager.cc", |
| 148 "fileapi/quota/quota_reservation_manager.h", |
| 149 "fileapi/recursive_operation_delegate.cc", |
| 150 "fileapi/recursive_operation_delegate.h", |
| 151 "fileapi/remove_operation_delegate.cc", |
| 152 "fileapi/remove_operation_delegate.h", |
| 153 "fileapi/sandbox_directory_database.cc", |
| 154 "fileapi/sandbox_directory_database.h", |
| 155 "fileapi/sandbox_file_stream_writer.cc", |
| 156 "fileapi/sandbox_file_stream_writer.h", |
| 157 "fileapi/sandbox_file_system_backend.cc", |
| 158 "fileapi/sandbox_file_system_backend.h", |
| 159 "fileapi/sandbox_file_system_backend_delegate.cc", |
| 160 "fileapi/sandbox_file_system_backend_delegate.h", |
| 161 "fileapi/sandbox_isolated_origin_database.cc", |
| 162 "fileapi/sandbox_isolated_origin_database.h", |
| 163 "fileapi/sandbox_origin_database.cc", |
| 164 "fileapi/sandbox_origin_database.h", |
| 165 "fileapi/sandbox_origin_database_interface.cc", |
| 166 "fileapi/sandbox_origin_database_interface.h", |
| 167 "fileapi/sandbox_prioritized_origin_database.cc", |
| 168 "fileapi/sandbox_prioritized_origin_database.h", |
| 169 "fileapi/sandbox_quota_observer.cc", |
| 170 "fileapi/sandbox_quota_observer.h", |
| 171 "fileapi/task_runner_bound_observer_list.h", |
| 172 "fileapi/timed_task_helper.cc", |
| 173 "fileapi/timed_task_helper.h", |
| 174 "fileapi/transient_file_util.cc", |
| 175 "fileapi/transient_file_util.h", |
| 176 "quota/quota_callbacks.h", |
| 177 "quota/quota_client.h", |
| 178 "quota/quota_database.cc", |
| 179 "quota/quota_database.h", |
| 180 "quota/quota_manager.cc", |
| 181 "quota/quota_manager.h", |
| 182 "quota/quota_manager_proxy.cc", |
| 183 "quota/quota_manager_proxy.h", |
| 184 "quota/quota_task.cc", |
| 185 "quota/quota_task.h", |
| 186 "quota/quota_temporary_storage_evictor.cc", |
| 187 "quota/quota_temporary_storage_evictor.h", |
| 188 "quota/special_storage_policy.cc", |
| 189 "quota/special_storage_policy.h", |
| 190 "quota/storage_monitor.cc", |
| 191 "quota/storage_monitor.h", |
| 192 "quota/storage_observer.cc", |
| 193 "quota/storage_observer.h", |
| 194 "quota/usage_tracker.cc", |
| 195 "quota/usage_tracker.h", |
| 196 ] |
| 197 |
| 198 defines = [ "WEBKIT_STORAGE_BROWSER_IMPLEMENTATION" ] |
| 199 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 200 direct_dependent_configs = [ ":storage_config" ] |
| 201 if (is_win) { |
| 202 cflags = [ "/wd4267" ] # TODO(jschuh): fix size_t to int truncations. |
| 203 } |
| 204 |
| 205 deps = [ |
| 206 "//base", |
| 207 "//base:i18n", |
| 208 "//base/third_party/dynamic_annotations", |
| 209 "//net", |
| 210 "//sql", |
| 211 "//third_party/leveldatabase", |
| 212 "//third_party/sqlite", |
| 213 "//url", |
| 214 "//webkit/common", |
| 215 "//webkit/common:storage", |
| 216 ] |
| 217 |
| 218 # TODO(GYP) support chrome_multiple_dll |
| 219 #['chrome_multiple_dll!=1', { |
| 220 # 'dependencies': [ |
| 221 # '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink', |
| 222 # ], |
| 223 #}], |
| 224 } |
| 225 |
| 226 executable("dump_file_system") { |
| 227 sources = [ |
| 228 "fileapi/dump_file_system.cc", |
| 229 ] |
| 230 |
| 231 deps = [ |
| 232 ":storage", |
| 233 "//base", |
| 234 "//webkit/common:storage", |
| 235 ] |
| 236 } |
OLD | NEW |