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