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