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