OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 config("storage_config") { | |
6 if (is_android) { | |
7 defines = [ "APPCACHE_USE_SIMPLE_CACHE" ] | |
8 } | |
9 } | |
10 | |
11 component("storage") { | 5 component("storage") { |
12 output_name = "webkit_storage_browser" | 6 output_name = "webkit_storage_browser" |
13 sources = [ | 7 sources = [ |
14 "webkit_storage_browser_export.h", | 8 "webkit_storage_browser_export.h", |
15 "appcache/appcache.cc", | |
16 "appcache/appcache.h", | |
17 "appcache/appcache_backend_impl.cc", | |
18 "appcache/appcache_backend_impl.h", | |
19 "appcache/appcache_database.cc", | |
20 "appcache/appcache_database.h", | |
21 "appcache/appcache_disk_cache.cc", | |
22 "appcache/appcache_disk_cache.h", | |
23 "appcache/appcache_entry.h", | |
24 "appcache/appcache_executable_handler.h", | |
25 "appcache/appcache_group.cc", | |
26 "appcache/appcache_group.h", | |
27 "appcache/appcache_histograms.cc", | |
28 "appcache/appcache_histograms.h", | |
29 "appcache/appcache_host.cc", | |
30 "appcache/appcache_host.h", | |
31 "appcache/appcache_policy.h", | |
32 "appcache/appcache_quota_client.cc", | |
33 "appcache/appcache_quota_client.h", | |
34 "appcache/appcache_request_handler.cc", | |
35 "appcache/appcache_request_handler.h", | |
36 "appcache/appcache_response.cc", | |
37 "appcache/appcache_response.h", | |
38 "appcache/appcache_service_impl.cc", | |
39 "appcache/appcache_service_impl.h", | |
40 "appcache/appcache_service.h", | |
41 "appcache/appcache_storage.cc", | |
42 "appcache/appcache_storage.h", | |
43 "appcache/appcache_storage_impl.cc", | |
44 "appcache/appcache_storage_impl.h", | |
45 "appcache/appcache_working_set.cc", | |
46 "appcache/appcache_working_set.h", | |
47 "appcache/appcache_update_job.cc", | |
48 "appcache/appcache_update_job.h", | |
49 "appcache/appcache_url_request_job.cc", | |
50 "appcache/appcache_url_request_job.h", | |
51 "appcache/manifest_parser.cc", | |
52 "appcache/manifest_parser.h", | |
53 "blob/blob_data_handle.cc", | 9 "blob/blob_data_handle.cc", |
54 "blob/blob_data_handle.h", | 10 "blob/blob_data_handle.h", |
55 "blob/blob_storage_context.cc", | 11 "blob/blob_storage_context.cc", |
56 "blob/blob_storage_context.h", | 12 "blob/blob_storage_context.h", |
57 "blob/blob_url_request_job.cc", | 13 "blob/blob_url_request_job.cc", |
58 "blob/blob_url_request_job.h", | 14 "blob/blob_url_request_job.h", |
59 "blob/blob_url_request_job_factory.cc", | 15 "blob/blob_url_request_job_factory.cc", |
60 "blob/blob_url_request_job_factory.h", | 16 "blob/blob_url_request_job_factory.h", |
61 "blob/file_stream_reader.cc", | 17 "blob/file_stream_reader.cc", |
62 "blob/file_stream_reader.h", | 18 "blob/file_stream_reader.h", |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 "quota/storage_monitor.cc", | 147 "quota/storage_monitor.cc", |
192 "quota/storage_monitor.h", | 148 "quota/storage_monitor.h", |
193 "quota/storage_observer.cc", | 149 "quota/storage_observer.cc", |
194 "quota/storage_observer.h", | 150 "quota/storage_observer.h", |
195 "quota/usage_tracker.cc", | 151 "quota/usage_tracker.cc", |
196 "quota/usage_tracker.h", | 152 "quota/usage_tracker.h", |
197 ] | 153 ] |
198 | 154 |
199 defines = [ "WEBKIT_STORAGE_BROWSER_IMPLEMENTATION" ] | 155 defines = [ "WEBKIT_STORAGE_BROWSER_IMPLEMENTATION" ] |
200 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 156 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
201 direct_dependent_configs = [ ":storage_config" ] | |
202 if (is_win) { | 157 if (is_win) { |
203 cflags = [ "/wd4267" ] # TODO(jschuh): fix size_t to int truncations. | 158 cflags = [ "/wd4267" ] # TODO(jschuh): fix size_t to int truncations. |
204 } | 159 } |
205 | 160 |
206 deps = [ | 161 deps = [ |
207 "//base", | 162 "//base", |
208 "//base:i18n", | 163 "//base:i18n", |
209 "//base/third_party/dynamic_annotations", | 164 "//base/third_party/dynamic_annotations", |
210 "//net", | 165 "//net", |
211 "//sql", | 166 "//sql", |
(...skipping 16 matching lines...) Expand all Loading... |
228 sources = [ | 183 sources = [ |
229 "fileapi/dump_file_system.cc", | 184 "fileapi/dump_file_system.cc", |
230 ] | 185 ] |
231 | 186 |
232 deps = [ | 187 deps = [ |
233 ":storage", | 188 ":storage", |
234 "//base", | 189 "//base", |
235 "//webkit/common:storage", | 190 "//webkit/common:storage", |
236 ] | 191 ] |
237 } | 192 } |
OLD | NEW |