OLD | NEW |
| (Empty) |
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. | |
4 | |
5 { | |
6 'targets': [ | |
7 { | |
8 # GN version: //components/history/core/browser | |
9 'target_name': 'history_core_browser', | |
10 'type': 'static_library', | |
11 'include_dirs': [ | |
12 '..', | |
13 ], | |
14 'dependencies': [ | |
15 '../base/base.gyp:base', | |
16 '../base/base.gyp:base_i18n', | |
17 '../google_apis/google_apis.gyp:google_apis', | |
18 '../net/net.gyp:net', | |
19 '../skia/skia.gyp:skia', | |
20 '../sql/sql.gyp:sql', | |
21 '../components/sync.gyp:sync', | |
22 '../third_party/sqlite/sqlite.gyp:sqlite', | |
23 '../ui/base/ui_base.gyp:ui_base', | |
24 '../ui/gfx/gfx.gyp:gfx', | |
25 '../url/url.gyp:url_lib', | |
26 'favicon_base', | |
27 'history_core_common', | |
28 'keyed_service_core', | |
29 'prefs/prefs.gyp:prefs', | |
30 'query_parser', | |
31 'signin_core_browser', | |
32 'url_formatter/url_formatter.gyp:url_formatter', | |
33 'version_info', | |
34 ], | |
35 'export_dependent_settings': [ | |
36 '../skia/skia.gyp:skia', | |
37 ], | |
38 'sources': [ | |
39 # Note: sources list duplicated in GN build. | |
40 'history/core/browser/delete_directive_handler.cc', | |
41 'history/core/browser/delete_directive_handler.h', | |
42 'history/core/browser/download_constants.h', | |
43 'history/core/browser/download_database.cc', | |
44 'history/core/browser/download_database.h', | |
45 'history/core/browser/download_row.cc', | |
46 'history/core/browser/download_row.h', | |
47 'history/core/browser/download_types.cc', | |
48 'history/core/browser/download_types.h', | |
49 'history/core/browser/expire_history_backend.cc', | |
50 'history/core/browser/expire_history_backend.h', | |
51 'history/core/browser/history_backend.cc', | |
52 'history/core/browser/history_backend.h', | |
53 'history/core/browser/history_backend_client.h', | |
54 'history/core/browser/history_backend_notifier.h', | |
55 'history/core/browser/history_backend_observer.h', | |
56 'history/core/browser/history_client.h', | |
57 'history/core/browser/history_constants.cc', | |
58 'history/core/browser/history_constants.h', | |
59 'history/core/browser/history_context.h', | |
60 'history/core/browser/history_database.cc', | |
61 'history/core/browser/history_database.h', | |
62 'history/core/browser/history_database_params.cc', | |
63 'history/core/browser/history_database_params.h', | |
64 'history/core/browser/history_db_task.h', | |
65 'history/core/browser/history_delete_directives_data_type_controller.cc'
, | |
66 'history/core/browser/history_delete_directives_data_type_controller.h', | |
67 'history/core/browser/history_match.cc', | |
68 'history/core/browser/history_match.h', | |
69 'history/core/browser/history_model_worker.cc', | |
70 'history/core/browser/history_model_worker.h', | |
71 'history/core/browser/history_service.cc', | |
72 'history/core/browser/history_service.h', | |
73 'history/core/browser/history_service_observer.h', | |
74 'history/core/browser/history_types.cc', | |
75 'history/core/browser/history_types.h', | |
76 'history/core/browser/in_memory_database.cc', | |
77 'history/core/browser/in_memory_database.h', | |
78 'history/core/browser/in_memory_history_backend.cc', | |
79 'history/core/browser/in_memory_history_backend.h', | |
80 'history/core/browser/keyword_id.h', | |
81 'history/core/browser/keyword_search_term.cc', | |
82 'history/core/browser/keyword_search_term.h', | |
83 'history/core/browser/page_usage_data.cc', | |
84 'history/core/browser/page_usage_data.h', | |
85 'history/core/browser/thumbnail_database.cc', | |
86 'history/core/browser/thumbnail_database.h', | |
87 'history/core/browser/top_sites.cc', | |
88 'history/core/browser/top_sites.h', | |
89 'history/core/browser/top_sites_backend.cc', | |
90 'history/core/browser/top_sites_backend.h', | |
91 'history/core/browser/top_sites_cache.cc', | |
92 'history/core/browser/top_sites_cache.h', | |
93 'history/core/browser/top_sites_database.cc', | |
94 'history/core/browser/top_sites_database.h', | |
95 'history/core/browser/top_sites_impl.cc', | |
96 'history/core/browser/top_sites_impl.h', | |
97 'history/core/browser/top_sites_observer.h', | |
98 'history/core/browser/typed_url_data_type_controller.cc', | |
99 'history/core/browser/typed_url_data_type_controller.h', | |
100 'history/core/browser/typed_url_syncable_service.cc', | |
101 'history/core/browser/typed_url_syncable_service.h', | |
102 'history/core/browser/url_database.cc', | |
103 'history/core/browser/url_database.h', | |
104 'history/core/browser/url_row.cc', | |
105 'history/core/browser/url_row.h', | |
106 'history/core/browser/url_utils.cc', | |
107 'history/core/browser/url_utils.h', | |
108 'history/core/browser/visit_database.cc', | |
109 'history/core/browser/visit_database.h', | |
110 'history/core/browser/visit_delegate.cc', | |
111 'history/core/browser/visit_delegate.h', | |
112 'history/core/browser/visit_tracker.cc', | |
113 'history/core/browser/visit_tracker.h', | |
114 'history/core/browser/visitsegment_database.cc', | |
115 'history/core/browser/visitsegment_database.h', | |
116 'history/core/browser/web_history_service.cc', | |
117 'history/core/browser/web_history_service.h', | |
118 ], | |
119 'conditions': [ | |
120 ['OS=="android"', { | |
121 'sources': [ | |
122 'history/core/browser/android/android_cache_database.cc', | |
123 'history/core/browser/android/android_cache_database.h', | |
124 'history/core/browser/android/android_history_types.cc', | |
125 'history/core/browser/android/android_history_types.h', | |
126 'history/core/browser/android/android_time.h', | |
127 'history/core/browser/android/android_urls_database.cc', | |
128 'history/core/browser/android/android_urls_database.h', | |
129 'history/core/browser/android/android_urls_sql_handler.cc', | |
130 'history/core/browser/android/android_urls_sql_handler.h', | |
131 'history/core/browser/android/favicon_sql_handler.cc', | |
132 'history/core/browser/android/favicon_sql_handler.h', | |
133 'history/core/browser/android/sql_handler.cc', | |
134 'history/core/browser/android/sql_handler.h', | |
135 'history/core/browser/android/urls_sql_handler.cc', | |
136 'history/core/browser/android/urls_sql_handler.h', | |
137 'history/core/browser/android/visit_sql_handler.cc', | |
138 'history/core/browser/android/visit_sql_handler.h', | |
139 ], | |
140 }], | |
141 ], | |
142 }, | |
143 { | |
144 # GN version: //components/history/core/common | |
145 'target_name': 'history_core_common', | |
146 'type': 'static_library', | |
147 'include_dirs': [ | |
148 '..', | |
149 ], | |
150 'dependencies': [ | |
151 '../base/base.gyp:base', | |
152 ], | |
153 'sources': [ | |
154 # Note: sources list duplicated in GN build. | |
155 'history/core/common/thumbnail_score.cc', | |
156 'history/core/common/thumbnail_score.h', | |
157 ], | |
158 }, | |
159 { | |
160 # GN version: //components/history/core/test | |
161 'target_name': 'history_core_test_support', | |
162 'type': 'static_library', | |
163 'include_dirs': [ | |
164 '..', | |
165 ], | |
166 'dependencies': [ | |
167 '../base/base.gyp:base', | |
168 '../net/net.gyp:net', | |
169 '../skia/skia.gyp:skia', | |
170 '../sql/sql.gyp:sql', | |
171 '../sql/sql.gyp:test_support_sql', | |
172 '../components/sync.gyp:sync', | |
173 '../testing/gtest.gyp:gtest', | |
174 '../ui/gfx/gfx.gyp:gfx', | |
175 '../url/url.gyp:url_lib', | |
176 'history_core_browser', | |
177 ], | |
178 'sources': [ | |
179 # Note: sources list duplicated in GN build. | |
180 'history/core/test/database_test_utils.cc', | |
181 'history/core/test/database_test_utils.h', | |
182 'history/core/test/fake_web_history_service.cc', | |
183 'history/core/test/fake_web_history_service.h', | |
184 'history/core/test/history_backend_db_base_test.cc', | |
185 'history/core/test/history_backend_db_base_test.h', | |
186 'history/core/test/history_client_fake_bookmarks.cc', | |
187 'history/core/test/history_client_fake_bookmarks.h', | |
188 'history/core/test/history_unittest_base.cc', | |
189 'history/core/test/history_service_test_util.cc', | |
190 'history/core/test/history_service_test_util.h', | |
191 'history/core/test/history_unittest_base.h', | |
192 'history/core/test/test_history_database.cc', | |
193 'history/core/test/test_history_database.h', | |
194 'history/core/test/thumbnail-inl.h', | |
195 'history/core/test/thumbnail.cc', | |
196 'history/core/test/thumbnail.h', | |
197 'history/core/test/thumbnail_ios.mm', | |
198 'history/core/test/wait_top_sites_loaded_observer.cc', | |
199 'history/core/test/wait_top_sites_loaded_observer.h', | |
200 ], | |
201 'conditions': [ | |
202 ['OS=="ios"', { | |
203 'sources!': [ | |
204 'history/core/test/thumbnail.cc', | |
205 ], | |
206 }], | |
207 ], | |
208 }, | |
209 ], | |
210 'conditions': [ | |
211 ['OS!="ios"', { | |
212 'targets': [ | |
213 { | |
214 # GN version: //components/history/content/browser | |
215 'target_name': 'history_content_browser', | |
216 'type': 'static_library', | |
217 'include_dirs': [ | |
218 '..', | |
219 ], | |
220 'dependencies': [ | |
221 '../base/base.gyp:base', | |
222 '../content/content.gyp:content_browser', | |
223 '../url/url.gyp:url_lib', | |
224 'history_core_browser', | |
225 'visitedlink_browser', | |
226 ], | |
227 'sources': [ | |
228 'history/content/browser/content_visit_delegate.cc', | |
229 'history/content/browser/content_visit_delegate.h', | |
230 'history/content/browser/download_constants_utils.cc', | |
231 'history/content/browser/download_constants_utils.h', | |
232 'history/content/browser/history_context_helper.cc', | |
233 'history/content/browser/history_context_helper.h', | |
234 'history/content/browser/history_database_helper.cc', | |
235 'history/content/browser/history_database_helper.h', | |
236 'history/content/browser/web_contents_top_sites_observer.cc', | |
237 'history/content/browser/web_contents_top_sites_observer.h', | |
238 ], | |
239 } | |
240 ], | |
241 }], | |
242 ['OS=="ios"', { | |
243 'targets': [ | |
244 { | |
245 # GN version: //components/history/ios/browser | |
246 'target_name': 'history_ios_browser', | |
247 'type': 'static_library', | |
248 'include_dirs': [ | |
249 '..', | |
250 ], | |
251 'dependencies': [ | |
252 '../base/base.gyp:base', | |
253 '../ios/web/ios_web.gyp:ios_web', | |
254 '../url/url.gyp:url_lib', | |
255 'history_core_browser', | |
256 ], | |
257 'sources': [ | |
258 'history/ios/browser/history_database_helper.cc', | |
259 'history/ios/browser/history_database_helper.h', | |
260 'history/ios/browser/web_state_top_sites_observer.h', | |
261 'history/ios/browser/web_state_top_sites_observer.mm', | |
262 ], | |
263 }, | |
264 ], | |
265 }], | |
266 ], | |
267 } | |
OLD | NEW |