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