Remove support for GICE in CRD host and client
[chromium-blink-merge.git] / components / search_engines.gypi
blob1e4500362f8cabc48a3e98e238dbf2b95a408de1
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/search_engines
9       'target_name': 'search_engines',
10       'type': 'static_library',
11       'dependencies': [
12         '../base/base.gyp:base',
13         '../google_apis/google_apis.gyp:google_apis',
14         '../net/net.gyp:net',
15         '../sql/sql.gyp:sql',
16         '../sync/sync.gyp:sync',
17         '../third_party/libxml/libxml.gyp:libxml',
18         '../ui/gfx/gfx.gyp:gfx',
19         '../url/url.gyp:url_lib',
20         'component_metrics_proto',
21         'components_strings.gyp:components_strings',
22         'google_core_browser',
23         'history_core_browser',
24         'keyed_service_core',
25         'policy',
26         'pref_registry',
27         'rappor',
28         'search_engines/prepopulated_engines.gyp:prepopulated_engines',
29         'url_fixer',
30         'webdata_common',
31       ],
32       'export_dependent_settings': [
33         'component_metrics_proto',
34       ],
35       'include_dirs': [
36         '..',
37       ],
38       'sources': [
39         # Note: sources list duplicated in GN build.
40         'search_engines/default_search_manager.cc',
41         'search_engines/default_search_manager.h',
42         'search_engines/default_search_policy_handler.cc',
43         'search_engines/default_search_policy_handler.h',
44         'search_engines/default_search_pref_migration.cc',
45         'search_engines/default_search_pref_migration.h',
46         'search_engines/keyword_table.cc',
47         'search_engines/keyword_table.h',
48         'search_engines/keyword_web_data_service.cc',
49         'search_engines/keyword_web_data_service.h',
50         'search_engines/search_engine_type.h',
51         'search_engines/search_engines_pref_names.cc',
52         'search_engines/search_engines_pref_names.h',
53         'search_engines/search_engines_switches.cc',
54         'search_engines/search_engines_switches.h',
55         'search_engines/search_host_to_urls_map.cc',
56         'search_engines/search_host_to_urls_map.h',
57         'search_engines/search_terms_data.cc',
58         'search_engines/search_terms_data.h',
59         'search_engines/template_url.cc',
60         'search_engines/template_url.h',
61         'search_engines/template_url_data.cc',
62         'search_engines/template_url_data.h',
63         'search_engines/template_url_fetcher.cc',
64         'search_engines/template_url_fetcher.h',
65         'search_engines/template_url_id.h',
66         'search_engines/template_url_parser.cc',
67         'search_engines/template_url_parser.h',
68         'search_engines/template_url_prepopulate_data.cc',
69         'search_engines/template_url_prepopulate_data.h',
70         'search_engines/template_url_service.cc',
71         'search_engines/template_url_service.h',
72         'search_engines/template_url_service_client.h',
73         'search_engines/template_url_service_observer.h',
74         'search_engines/util.cc',
75         'search_engines/util.h',
76       ],
77       'conditions': [
78         ['configuration_policy==0', {
79           'dependencies!': [
80             'policy'
81            ],
82            'sources!': [
83              'search_engines/default_search_policy_handler.cc',
84              'search_engines/default_search_policy_handler.h',
85            ],
86         }],
87       ],
88     },
89     {
90       # GN version: //components/search_engines:test_support
91       'target_name': 'search_engines_test_support',
92       'type': 'static_library',
93       'dependencies': [
94         '../testing/gtest.gyp:gtest',
95         'search_engines',
96       ],
97       'include_dirs': [
98         '..',
99       ],
100       'sources': [
101         'search_engines/default_search_pref_test_util.cc',
102         'search_engines/default_search_pref_test_util.h',
103         'search_engines/testing_search_terms_data.cc',
104         'search_engines/testing_search_terms_data.h',
105       ],
106     },
107   ],