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