OLD | NEW |
| (Empty) |
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. | |
4 | |
5 { | |
6 'variables': { | |
7 'chromium_code': 1, | |
8 }, | |
9 'targets': [ | |
10 { | |
11 # GN version: //storage/browser | |
12 'target_name': 'storage', | |
13 'type': '<(component)', | |
14 'variables': { 'enable_wexit_time_destructors': 1, }, | |
15 'dependencies': [ | |
16 '<(DEPTH)/base/base.gyp:base', | |
17 '<(DEPTH)/base/base.gyp:base_i18n', | |
18 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_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', | |
25 ], | |
26 'defines': ['STORAGE_BROWSER_IMPLEMENTATION'], | |
27 'sources': [ | |
28 'browser/blob/blob_async_builder_host.cc', | |
29 'browser/blob/blob_async_builder_host.h', | |
30 'browser/blob/blob_async_transport_request_builder.cc', | |
31 'browser/blob/blob_async_transport_request_builder.h', | |
32 'browser/blob/blob_data_builder.cc', | |
33 'browser/blob/blob_data_builder.h', | |
34 'browser/blob/blob_data_handle.cc', | |
35 'browser/blob/blob_data_handle.h', | |
36 'browser/blob/blob_data_item.cc', | |
37 'browser/blob/blob_data_item.h', | |
38 'browser/blob/blob_data_snapshot.cc', | |
39 'browser/blob/blob_data_snapshot.h', | |
40 'browser/blob/blob_reader.cc', | |
41 'browser/blob/blob_reader.h', | |
42 'browser/blob/blob_storage_context.cc', | |
43 'browser/blob/blob_storage_context.h', | |
44 'browser/blob/blob_storage_registry.cc', | |
45 'browser/blob/blob_storage_registry.h', | |
46 'browser/blob/blob_url_request_job.cc', | |
47 'browser/blob/blob_url_request_job.h', | |
48 'browser/blob/blob_url_request_job_factory.cc', | |
49 'browser/blob/blob_url_request_job_factory.h', | |
50 'browser/blob/internal_blob_data.cc', | |
51 'browser/blob/internal_blob_data.h', | |
52 'browser/blob/scoped_file.cc', | |
53 'browser/blob/scoped_file.h', | |
54 'browser/blob/shareable_blob_data_item.cc', | |
55 'browser/blob/shareable_blob_data_item.h', | |
56 'browser/blob/shareable_file_reference.cc', | |
57 'browser/blob/shareable_file_reference.h', | |
58 'browser/blob/upload_blob_element_reader.h', | |
59 'browser/blob/upload_blob_element_reader.cc', | |
60 'browser/blob/view_blob_internals_job.h', | |
61 'browser/blob/view_blob_internals_job.cc', | |
62 'browser/blob/view_blob_internals_job.h', | |
63 'browser/database/database_quota_client.cc', | |
64 'browser/database/database_quota_client.h', | |
65 'browser/database/database_tracker.cc', | |
66 'browser/database/database_tracker.h', | |
67 'browser/database/database_util.cc', | |
68 'browser/database/database_util.h', | |
69 'browser/database/databases_table.cc', | |
70 'browser/database/databases_table.h', | |
71 'browser/database/vfs_backend.cc', | |
72 'browser/database/vfs_backend.h', | |
73 'browser/fileapi/async_file_util.h', | |
74 'browser/fileapi/async_file_util_adapter.cc', | |
75 'browser/fileapi/async_file_util_adapter.h', | |
76 'browser/fileapi/copy_or_move_file_validator.h', | |
77 'browser/fileapi/copy_or_move_operation_delegate.cc', | |
78 'browser/fileapi/copy_or_move_operation_delegate.h', | |
79 'browser/fileapi/dragged_file_util.cc', | |
80 'browser/fileapi/dragged_file_util.h', | |
81 'browser/fileapi/external_mount_points.cc', | |
82 'browser/fileapi/external_mount_points.h', | |
83 'browser/fileapi/file_observers.h', | |
84 'browser/fileapi/file_permission_policy.h', | |
85 'browser/fileapi/file_stream_reader.cc', | |
86 'browser/fileapi/file_stream_reader.h', | |
87 'browser/fileapi/file_stream_writer.h', | |
88 'browser/fileapi/file_system_backend.h', | |
89 'browser/fileapi/file_system_context.cc', | |
90 'browser/fileapi/file_system_context.h', | |
91 'browser/fileapi/file_system_dir_url_request_job.cc', | |
92 'browser/fileapi/file_system_dir_url_request_job.h', | |
93 'browser/fileapi/file_system_file_stream_reader.cc', | |
94 'browser/fileapi/file_system_file_stream_reader.h', | |
95 'browser/fileapi/file_system_file_util.cc', | |
96 'browser/fileapi/file_system_file_util.h', | |
97 'browser/fileapi/file_system_operation.h', | |
98 'browser/fileapi/file_system_operation_context.cc', | |
99 'browser/fileapi/file_system_operation_context.h', | |
100 'browser/fileapi/file_system_operation_impl.cc', | |
101 'browser/fileapi/file_system_operation_impl.h', | |
102 'browser/fileapi/file_system_operation_runner.cc', | |
103 'browser/fileapi/file_system_operation_runner.h', | |
104 'browser/fileapi/file_system_options.cc', | |
105 'browser/fileapi/file_system_options.h', | |
106 'browser/fileapi/file_system_quota_client.cc', | |
107 'browser/fileapi/file_system_quota_client.h', | |
108 'browser/fileapi/file_system_quota_util.h', | |
109 'browser/fileapi/file_system_url.cc', | |
110 'browser/fileapi/file_system_url.h', | |
111 'browser/fileapi/file_system_url_request_job.cc', | |
112 'browser/fileapi/file_system_url_request_job.h', | |
113 'browser/fileapi/file_system_url_request_job_factory.cc', | |
114 'browser/fileapi/file_system_url_request_job_factory.h', | |
115 'browser/fileapi/file_system_usage_cache.cc', | |
116 'browser/fileapi/file_system_usage_cache.h', | |
117 'browser/fileapi/file_writer_delegate.cc', | |
118 'browser/fileapi/file_writer_delegate.h', | |
119 'browser/fileapi/isolated_context.cc', | |
120 'browser/fileapi/isolated_context.h', | |
121 'browser/fileapi/isolated_file_system_backend.cc', | |
122 'browser/fileapi/isolated_file_system_backend.h', | |
123 'browser/fileapi/local_file_stream_reader.cc', | |
124 'browser/fileapi/local_file_stream_reader.h', | |
125 'browser/fileapi/local_file_stream_writer.cc', | |
126 'browser/fileapi/local_file_stream_writer.h', | |
127 'browser/fileapi/local_file_util.cc', | |
128 'browser/fileapi/local_file_util.h', | |
129 'browser/fileapi/mount_points.cc', | |
130 'browser/fileapi/mount_points.h', | |
131 'browser/fileapi/native_file_util.cc', | |
132 'browser/fileapi/native_file_util.h', | |
133 'browser/fileapi/obfuscated_file_util.cc', | |
134 'browser/fileapi/obfuscated_file_util.h', | |
135 'browser/fileapi/open_file_system_mode.h', | |
136 'browser/fileapi/plugin_private_file_system_backend.cc', | |
137 'browser/fileapi/plugin_private_file_system_backend.h', | |
138 'browser/fileapi/quota/open_file_handle.cc', | |
139 'browser/fileapi/quota/open_file_handle.h', | |
140 'browser/fileapi/quota/open_file_handle_context.cc', | |
141 'browser/fileapi/quota/open_file_handle_context.h', | |
142 'browser/fileapi/quota/quota_backend_impl.cc', | |
143 'browser/fileapi/quota/quota_backend_impl.h', | |
144 'browser/fileapi/quota/quota_reservation.cc', | |
145 'browser/fileapi/quota/quota_reservation.h', | |
146 'browser/fileapi/quota/quota_reservation_buffer.cc', | |
147 'browser/fileapi/quota/quota_reservation_buffer.h', | |
148 'browser/fileapi/quota/quota_reservation_manager.cc', | |
149 'browser/fileapi/quota/quota_reservation_manager.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_prioritized_origin_database.cc', | |
169 'browser/fileapi/sandbox_prioritized_origin_database.h', | |
170 'browser/fileapi/sandbox_quota_observer.cc', | |
171 'browser/fileapi/sandbox_quota_observer.h', | |
172 'browser/fileapi/task_runner_bound_observer_list.h', | |
173 'browser/fileapi/timed_task_helper.cc', | |
174 'browser/fileapi/timed_task_helper.h', | |
175 'browser/fileapi/transient_file_util.cc', | |
176 'browser/fileapi/transient_file_util.h', | |
177 'browser/quota/client_usage_tracker.cc', | |
178 'browser/quota/client_usage_tracker.h', | |
179 'browser/quota/quota_callbacks.h', | |
180 'browser/quota/quota_client.h', | |
181 'browser/quota/quota_database.cc', | |
182 'browser/quota/quota_database.h', | |
183 'browser/quota/quota_manager.cc', | |
184 'browser/quota/quota_manager.h', | |
185 'browser/quota/quota_manager_proxy.cc', | |
186 'browser/quota/quota_manager_proxy.h', | |
187 'browser/quota/quota_task.cc', | |
188 'browser/quota/quota_task.h', | |
189 'browser/quota/quota_temporary_storage_evictor.cc', | |
190 'browser/quota/quota_temporary_storage_evictor.h', | |
191 'browser/quota/special_storage_policy.cc', | |
192 'browser/quota/special_storage_policy.h', | |
193 'browser/quota/storage_monitor.cc', | |
194 'browser/quota/storage_monitor.h', | |
195 'browser/quota/storage_observer.cc', | |
196 'browser/quota/storage_observer.h', | |
197 'browser/quota/usage_tracker.cc', | |
198 'browser/quota/usage_tracker.h', | |
199 'browser/storage_browser_export.h', | |
200 ], | |
201 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
202 'msvs_disabled_warnings': [ 4267, ], | |
203 | |
204 'conditions': [ | |
205 ['chrome_multiple_dll!=1', { | |
206 'dependencies': [ | |
207 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink', | |
208 ], | |
209 }], | |
210 ], | |
211 }, | |
212 { | |
213 # GN version: //storage/browser:dump_file_system | |
214 'target_name': 'dump_file_system', | |
215 'type': 'executable', | |
216 'sources': [ | |
217 'browser/fileapi/dump_file_system.cc', | |
218 ], | |
219 'dependencies': [ | |
220 '<(DEPTH)/base/base.gyp:base', | |
221 '<(DEPTH)/storage/storage_common.gyp:storage_common', | |
222 'storage', | |
223 ], | |
224 }, | |
225 ], | |
226 } | |
OLD | NEW |