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