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 # GN version: //storage/browser
12 'target_name': 'storage',
13 'type': '<(component)',
14 'variables': { 'enable_wexit_time_destructors': 1, },
16 '<(DEPTH)/base/base.gyp:base',
17 '<(DEPTH)/base/base.gyp:base_i18n',
18 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
19 '<(DEPTH)/net/net.gyp:net',
20 '<(DEPTH)/sql/sql.gyp:sql',
21 '<(DEPTH)/storage/storage_common.gyp:storage_common',
22 '<(DEPTH)/third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
23 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite',
24 '<(DEPTH)/url/url.gyp:url_lib',
26 'defines': ['STORAGE_BROWSER_IMPLEMENTATION'],
28 'browser/blob/blob_data_builder.cc',
29 'browser/blob/blob_data_builder.h',
30 'browser/blob/blob_data_handle.cc',
31 'browser/blob/blob_data_handle.h',
32 'browser/blob/blob_data_item.cc',
33 'browser/blob/blob_data_item.h',
34 'browser/blob/blob_data_snapshot.cc',
35 'browser/blob/blob_data_snapshot.h',
36 'browser/blob/blob_storage_context.cc',
37 'browser/blob/blob_storage_context.h',
38 'browser/blob/blob_url_request_job.cc',
39 'browser/blob/blob_url_request_job.h',
40 'browser/blob/blob_url_request_job_factory.cc',
41 'browser/blob/blob_url_request_job_factory.h',
42 'browser/blob/file_stream_reader.cc',
43 'browser/blob/file_stream_reader.h',
44 'browser/blob/internal_blob_data.cc',
45 'browser/blob/internal_blob_data.h',
46 'browser/blob/local_file_stream_reader.cc',
47 'browser/blob/local_file_stream_reader.h',
48 'browser/blob/scoped_file.cc',
49 'browser/blob/scoped_file.h',
50 'browser/blob/shareable_blob_data_item.cc',
51 'browser/blob/shareable_blob_data_item.h',
52 'browser/blob/shareable_file_reference.cc',
53 'browser/blob/shareable_file_reference.h',
54 'browser/blob/view_blob_internals_job.cc',
55 'browser/blob/view_blob_internals_job.h',
56 'browser/database/database_quota_client.cc',
57 'browser/database/database_quota_client.h',
58 'browser/database/database_tracker.cc',
59 'browser/database/database_tracker.h',
60 'browser/database/database_util.cc',
61 'browser/database/database_util.h',
62 'browser/database/databases_table.cc',
63 'browser/database/databases_table.h',
64 'browser/database/vfs_backend.cc',
65 'browser/database/vfs_backend.h',
66 'browser/fileapi/async_file_util.h',
67 'browser/fileapi/async_file_util_adapter.cc',
68 'browser/fileapi/async_file_util_adapter.h',
69 'browser/fileapi/copy_or_move_file_validator.h',
70 'browser/fileapi/copy_or_move_operation_delegate.cc',
71 'browser/fileapi/copy_or_move_operation_delegate.h',
72 'browser/fileapi/dragged_file_util.cc',
73 'browser/fileapi/dragged_file_util.h',
74 'browser/fileapi/external_mount_points.cc',
75 'browser/fileapi/external_mount_points.h',
76 'browser/fileapi/file_observers.h',
77 'browser/fileapi/file_permission_policy.h',
78 'browser/fileapi/file_stream_writer.h',
79 'browser/fileapi/file_system_backend.h',
80 'browser/fileapi/file_system_context.cc',
81 'browser/fileapi/file_system_context.h',
82 'browser/fileapi/file_system_dir_url_request_job.cc',
83 'browser/fileapi/file_system_dir_url_request_job.h',
84 'browser/fileapi/file_system_file_stream_reader.cc',
85 'browser/fileapi/file_system_file_stream_reader.h',
86 'browser/fileapi/file_system_file_util.cc',
87 'browser/fileapi/file_system_file_util.h',
88 'browser/fileapi/file_system_operation.h',
89 'browser/fileapi/file_system_operation_context.cc',
90 'browser/fileapi/file_system_operation_context.h',
91 'browser/fileapi/file_system_operation_impl.cc',
92 'browser/fileapi/file_system_operation_impl.h',
93 'browser/fileapi/file_system_operation_runner.cc',
94 'browser/fileapi/file_system_operation_runner.h',
95 'browser/fileapi/file_system_options.cc',
96 'browser/fileapi/file_system_options.h',
97 'browser/fileapi/file_system_quota_client.cc',
98 'browser/fileapi/file_system_quota_client.h',
99 'browser/fileapi/file_system_quota_util.h',
100 'browser/fileapi/file_system_url.cc',
101 'browser/fileapi/file_system_url.h',
102 'browser/fileapi/file_system_url_request_job.cc',
103 'browser/fileapi/file_system_url_request_job.h',
104 'browser/fileapi/file_system_url_request_job_factory.cc',
105 'browser/fileapi/file_system_url_request_job_factory.h',
106 'browser/fileapi/file_system_usage_cache.cc',
107 'browser/fileapi/file_system_usage_cache.h',
108 'browser/fileapi/file_writer_delegate.cc',
109 'browser/fileapi/file_writer_delegate.h',
110 'browser/fileapi/isolated_context.cc',
111 'browser/fileapi/isolated_context.h',
112 'browser/fileapi/isolated_file_system_backend.cc',
113 'browser/fileapi/isolated_file_system_backend.h',
114 'browser/fileapi/local_file_stream_writer.cc',
115 'browser/fileapi/local_file_stream_writer.h',
116 'browser/fileapi/local_file_util.cc',
117 'browser/fileapi/local_file_util.h',
118 'browser/fileapi/mount_points.cc',
119 'browser/fileapi/mount_points.h',
120 'browser/fileapi/native_file_util.cc',
121 'browser/fileapi/native_file_util.h',
122 'browser/fileapi/obfuscated_file_util.cc',
123 'browser/fileapi/obfuscated_file_util.h',
124 'browser/fileapi/open_file_system_mode.h',
125 'browser/fileapi/plugin_private_file_system_backend.cc',
126 'browser/fileapi/plugin_private_file_system_backend.h',
127 'browser/fileapi/quota/open_file_handle.cc',
128 'browser/fileapi/quota/open_file_handle.h',
129 'browser/fileapi/quota/open_file_handle_context.cc',
130 'browser/fileapi/quota/open_file_handle_context.h',
131 'browser/fileapi/quota/quota_backend_impl.cc',
132 'browser/fileapi/quota/quota_backend_impl.h',
133 'browser/fileapi/quota/quota_reservation.cc',
134 'browser/fileapi/quota/quota_reservation.h',
135 'browser/fileapi/quota/quota_reservation_buffer.cc',
136 'browser/fileapi/quota/quota_reservation_buffer.h',
137 'browser/fileapi/quota/quota_reservation_manager.cc',
138 'browser/fileapi/quota/quota_reservation_manager.h',
139 'browser/fileapi/recursive_operation_delegate.cc',
140 'browser/fileapi/recursive_operation_delegate.h',
141 'browser/fileapi/remove_operation_delegate.cc',
142 'browser/fileapi/remove_operation_delegate.h',
143 'browser/fileapi/sandbox_directory_database.cc',
144 'browser/fileapi/sandbox_directory_database.h',
145 'browser/fileapi/sandbox_file_stream_writer.cc',
146 'browser/fileapi/sandbox_file_stream_writer.h',
147 'browser/fileapi/sandbox_file_system_backend.cc',
148 'browser/fileapi/sandbox_file_system_backend.h',
149 'browser/fileapi/sandbox_file_system_backend_delegate.cc',
150 'browser/fileapi/sandbox_file_system_backend_delegate.h',
151 'browser/fileapi/sandbox_isolated_origin_database.cc',
152 'browser/fileapi/sandbox_isolated_origin_database.h',
153 'browser/fileapi/sandbox_origin_database.cc',
154 'browser/fileapi/sandbox_origin_database.h',
155 'browser/fileapi/sandbox_origin_database_interface.cc',
156 'browser/fileapi/sandbox_origin_database_interface.h',
157 'browser/fileapi/sandbox_prioritized_origin_database.cc',
158 'browser/fileapi/sandbox_prioritized_origin_database.h',
159 'browser/fileapi/sandbox_quota_observer.cc',
160 'browser/fileapi/sandbox_quota_observer.h',
161 'browser/fileapi/task_runner_bound_observer_list.h',
162 'browser/fileapi/timed_task_helper.cc',
163 'browser/fileapi/timed_task_helper.h',
164 'browser/fileapi/transient_file_util.cc',
165 'browser/fileapi/transient_file_util.h',
166 'browser/quota/client_usage_tracker.cc',
167 'browser/quota/client_usage_tracker.h',
168 'browser/quota/quota_callbacks.h',
169 'browser/quota/quota_client.h',
170 'browser/quota/quota_database.cc',
171 'browser/quota/quota_database.h',
172 'browser/quota/quota_manager.cc',
173 'browser/quota/quota_manager.h',
174 'browser/quota/quota_manager_proxy.cc',
175 'browser/quota/quota_manager_proxy.h',
176 'browser/quota/quota_task.cc',
177 'browser/quota/quota_task.h',
178 'browser/quota/quota_temporary_storage_evictor.cc',
179 'browser/quota/quota_temporary_storage_evictor.h',
180 'browser/quota/special_storage_policy.cc',
181 'browser/quota/special_storage_policy.h',
182 'browser/quota/storage_monitor.cc',
183 'browser/quota/storage_monitor.h',
184 'browser/quota/storage_observer.cc',
185 'browser/quota/storage_observer.h',
186 'browser/quota/usage_tracker.cc',
187 'browser/quota/usage_tracker.h',
188 'browser/storage_browser_export.h',
190 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
191 'msvs_disabled_warnings': [ 4267, ],
194 ['chrome_multiple_dll!=1', {
196 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
202 # GN version: //storage/browser:dump_file_system
203 'target_name': 'dump_file_system',
204 'type': 'executable',
206 'browser/fileapi/dump_file_system.cc',
209 '<(DEPTH)/base/base.gyp:base',
210 '<(DEPTH)/storage/storage_common.gyp:storage_common',