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_policy.h',
46 'browser/appcache/appcache_quota_client.cc',
47 'browser/appcache/appcache_quota_client.h',
48 'browser/appcache/appcache_request_handler.cc',
49 'browser/appcache/appcache_request_handler.h',
50 'browser/appcache/appcache_response.cc',
51 'browser/appcache/appcache_response.h',
52 'browser/appcache/appcache_service.cc',
53 'browser/appcache/appcache_service.h',
54 'browser/appcache/appcache_storage.cc',
55 'browser/appcache/appcache_storage.h',
56 'browser/appcache/appcache_storage_impl.cc',
57 'browser/appcache/appcache_storage_impl.h',
58 'browser/appcache/appcache_working_set.cc',
59 'browser/appcache/appcache_working_set.h',
60 'browser/appcache/appcache_update_job.cc',
61 'browser/appcache/appcache_update_job.h',
62 'browser/appcache/appcache_url_request_job.cc',
63 'browser/appcache/appcache_url_request_job.h',
64 'browser/appcache/manifest_parser.cc',
65 'browser/appcache/manifest_parser.h',
66 'browser/blob/blob_data_handle.cc',
67 'browser/blob/blob_data_handle.h',
68 'browser/blob/blob_storage_context.cc',
69 'browser/blob/blob_storage_context.h',
70 'browser/blob/blob_url_request_job.cc',
71 'browser/blob/blob_url_request_job.h',
72 'browser/blob/blob_url_request_job_factory.cc',
73 'browser/blob/blob_url_request_job_factory.h',
74 'browser/blob/file_stream_reader.cc',
75 'browser/blob/file_stream_reader.h',
76 'browser/blob/local_file_stream_reader.cc',
77 'browser/blob/local_file_stream_reader.h',
78 'browser/blob/view_blob_internals_job.cc',
79 'browser/blob/view_blob_internals_job.h',
80 'browser/database/database_quota_client.cc',
81 'browser/database/database_quota_client.h',
82 'browser/database/database_tracker.cc',
83 'browser/database/database_tracker.h',
84 'browser/database/database_util.cc',
85 'browser/database/database_util.h',
86 'browser/database/databases_table.cc',
87 'browser/database/databases_table.h',
88 'browser/database/vfs_backend.cc',
89 'browser/database/vfs_backend.h',
90 'browser/fileapi/async_file_util.h',
91 'browser/fileapi/async_file_util_adapter.cc',
92 'browser/fileapi/async_file_util_adapter.h',
93 'browser/fileapi/copy_or_move_file_validator.h',
94 'browser/fileapi/copy_or_move_operation_delegate.cc',
95 'browser/fileapi/copy_or_move_operation_delegate.h',
96 'browser/fileapi/dragged_file_util.cc',
97 'browser/fileapi/dragged_file_util.h',
98 'browser/fileapi/external_mount_points.cc',
99 'browser/fileapi/external_mount_points.h',
100 'browser/fileapi/file_observers.h',
101 'browser/fileapi/file_permission_policy.h',
102 'browser/fileapi/file_stream_writer.h',
103 'browser/fileapi/file_system_backend.h',
104 'browser/fileapi/file_system_context.cc',
105 'browser/fileapi/file_system_context.h',
106 'browser/fileapi/file_system_dir_url_request_job.cc',
107 'browser/fileapi/file_system_dir_url_request_job.h',
108 'browser/fileapi/file_system_file_stream_reader.cc',
109 'browser/fileapi/file_system_file_stream_reader.h',
110 'browser/fileapi/file_system_file_util.cc',
111 'browser/fileapi/file_system_file_util.h',
112 'browser/fileapi/file_system_operation.h',
113 'browser/fileapi/file_system_operation_context.cc',
114 'browser/fileapi/file_system_operation_context.h',
115 'browser/fileapi/file_system_operation_impl.cc',
116 'browser/fileapi/file_system_operation_impl.h',
117 'browser/fileapi/file_system_operation_runner.cc',
118 'browser/fileapi/file_system_operation_runner.h',
119 'browser/fileapi/file_system_options.cc',
120 'browser/fileapi/file_system_options.h',
121 'browser/fileapi/file_system_quota_client.cc',
122 'browser/fileapi/file_system_quota_client.h',
123 'browser/fileapi/file_system_quota_util.h',
124 'browser/fileapi/file_system_url.cc',
125 'browser/fileapi/file_system_url.h',
126 'browser/fileapi/file_system_url_request_job.cc',
127 'browser/fileapi/file_system_url_request_job.h',
128 'browser/fileapi/file_system_url_request_job_factory.cc',
129 'browser/fileapi/file_system_url_request_job_factory.h',
130 'browser/fileapi/file_system_usage_cache.cc',
131 'browser/fileapi/file_system_usage_cache.h',
132 'browser/fileapi/file_writer_delegate.cc',
133 'browser/fileapi/file_writer_delegate.h',
134 'browser/fileapi/isolated_context.cc',
135 'browser/fileapi/isolated_context.h',
136 'browser/fileapi/isolated_file_system_backend.cc',
137 'browser/fileapi/isolated_file_system_backend.h',
138 'browser/fileapi/local_file_stream_writer.cc',
139 'browser/fileapi/local_file_stream_writer.h',
140 'browser/fileapi/local_file_util.cc',
141 'browser/fileapi/local_file_util.h',
142 'browser/fileapi/mount_points.cc',
143 'browser/fileapi/mount_points.h',
144 'browser/fileapi/native_file_util.cc',
145 'browser/fileapi/native_file_util.h',
146 'browser/fileapi/obfuscated_file_util.cc',
147 'browser/fileapi/obfuscated_file_util.h',
148 'browser/fileapi/open_file_system_mode.h',
149 'browser/fileapi/plugin_private_file_system_backend.cc',
150 'browser/fileapi/plugin_private_file_system_backend.h',
151 'browser/fileapi/quota/open_file_handle.cc',
152 'browser/fileapi/quota/open_file_handle.h',
153 'browser/fileapi/quota/open_file_handle_context.cc',
154 'browser/fileapi/quota/open_file_handle_context.h',
155 'browser/fileapi/quota/quota_backend_impl.cc',
156 'browser/fileapi/quota/quota_backend_impl.h',
157 'browser/fileapi/quota/quota_reservation.cc',
158 'browser/fileapi/quota/quota_reservation.h',
159 'browser/fileapi/quota/quota_reservation_buffer.cc',
160 'browser/fileapi/quota/quota_reservation_buffer.h',
161 'browser/fileapi/quota/quota_reservation_manager.cc',
162 'browser/fileapi/quota/quota_reservation_manager.h',
163 'browser/fileapi/recursive_operation_delegate.cc',
164 'browser/fileapi/recursive_operation_delegate.h',
165 'browser/fileapi/remove_operation_delegate.cc',
166 'browser/fileapi/remove_operation_delegate.h',
167 'browser/fileapi/sandbox_directory_database.cc',
168 'browser/fileapi/sandbox_directory_database.h',
169 'browser/fileapi/sandbox_file_stream_writer.cc',
170 'browser/fileapi/sandbox_file_stream_writer.h',
171 'browser/fileapi/sandbox_file_system_backend.cc',
172 'browser/fileapi/sandbox_file_system_backend.h',
173 'browser/fileapi/sandbox_file_system_backend_delegate.cc',
174 'browser/fileapi/sandbox_file_system_backend_delegate.h',
175 'browser/fileapi/sandbox_isolated_origin_database.cc',
176 'browser/fileapi/sandbox_isolated_origin_database.h',
177 'browser/fileapi/sandbox_origin_database.cc',
178 'browser/fileapi/sandbox_origin_database.h',
179 'browser/fileapi/sandbox_origin_database_interface.cc',
180 'browser/fileapi/sandbox_origin_database_interface.h',
181 'browser/fileapi/sandbox_prioritized_origin_database.cc',
182 'browser/fileapi/sandbox_prioritized_origin_database.h',
183 'browser/fileapi/sandbox_quota_observer.cc',
184 'browser/fileapi/sandbox_quota_observer.h',
185 'browser/fileapi/task_runner_bound_observer_list.h',
186 'browser/fileapi/timed_task_helper.cc',
187 'browser/fileapi/timed_task_helper.h',
188 'browser/fileapi/transient_file_util.cc',
189 'browser/fileapi/transient_file_util.h',
190 'browser/quota/quota_callbacks.h',
191 'browser/quota/quota_client.h',
192 'browser/quota/quota_database.cc',
193 'browser/quota/quota_database.h',
194 'browser/quota/quota_manager.cc',
195 'browser/quota/quota_manager.h',
196 'browser/quota/quota_manager_proxy.cc',
197 'browser/quota/quota_manager_proxy.h',
198 'browser/quota/quota_task.cc',
199 'browser/quota/quota_task.h',
200 'browser/quota/quota_temporary_storage_evictor.cc',
201 'browser/quota/quota_temporary_storage_evictor.h',
202 'browser/quota/special_storage_policy.cc',
203 'browser/quota/special_storage_policy.h',
204 'browser/quota/storage_monitor.cc',
205 'browser/quota/storage_monitor.h',
206 'browser/quota/storage_observer.cc',
207 'browser/quota/storage_observer.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',