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