blob: b83819f9f8da9c543e15020b238bced21a889f94 [file] [log] [blame]
[email protected]b1c5ab682014-08-07 11:53:171# 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/omnibox
9 'target_name': 'omnibox',
10 'type': 'static_library',
11 'dependencies': [
12 '../base/base.gyp:base',
brettw81d760e2014-11-25 20:30:1013 '../base/base.gyp:base_i18n',
[email protected]b1c5ab682014-08-07 11:53:1714 '../net/net.gyp:net',
blundellaaf3fdbb2015-06-18 11:02:5415 '../sql/sql.gyp:sql',
blundellb0d11e2e2015-06-18 14:41:2616 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
[email protected]02f5e32d2014-08-22 07:44:4617 '../ui/base/ui_base.gyp:ui_base',
[email protected]b1c5ab682014-08-07 11:53:1718 '../url/url.gyp:url_lib',
blundell0235a502015-06-16 10:47:0819 'bookmarks_browser',
[email protected]b1c5ab682014-08-07 11:53:1720 'component_metrics_proto',
21 'components_resources.gyp:components_resources',
[email protected]02f5e32d2014-08-22 07:44:4622 'components_strings.gyp:components_strings',
brettw81d760e2014-11-25 20:30:1023 'history_core_browser',
blundellb0d11e2e2015-06-18 14:41:2624 'keyed_service_core',
25 'omnibox_in_memory_url_index_cache_proto',
blundella08236e2015-06-29 09:44:2326 'pref_registry',
blundellfd147322015-06-16 12:54:1027 'query_parser',
hashimoto03080902014-08-28 04:19:5928 'search',
29 'search_engines',
[email protected]b1c5ab682014-08-07 11:53:1730 'url_fixer',
hashimoto03080902014-08-28 04:19:5931 'variations_http_provider',
[email protected]b1c5ab682014-08-07 11:53:1732 ],
hashimotof2e30b52014-10-28 12:08:0333 'export_dependent_settings': [
34 'component_metrics_proto',
blundelld130d592015-06-21 19:29:1335 'history_core_browser',
hashimotof2e30b52014-10-28 12:08:0336 ],
[email protected]b1c5ab682014-08-07 11:53:1737 'include_dirs': [
38 '..',
39 ],
40 'sources': [
41 # Note: sources list duplicated in GN build.
hashimoto5f7db4b2014-08-27 02:46:2042 'omnibox/answers_cache.cc',
satoruxba9fc862015-02-17 01:16:4243 'omnibox/answers_cache.h',
blundella08236e2015-06-29 09:44:2344 'omnibox/autocomplete_classifier.cc',
45 'omnibox/autocomplete_classifier.h',
46 'omnibox/autocomplete_controller.cc',
47 'omnibox/autocomplete_controller.h',
48 'omnibox/autocomplete_controller_delegate.h',
[email protected]b1c5ab682014-08-07 11:53:1749 'omnibox/autocomplete_input.cc',
50 'omnibox/autocomplete_input.h',
51 'omnibox/autocomplete_match.cc',
52 'omnibox/autocomplete_match.h',
53 'omnibox/autocomplete_match_type.cc',
54 'omnibox/autocomplete_match_type.h',
55 'omnibox/autocomplete_provider.cc',
56 'omnibox/autocomplete_provider.h',
Ryo Hashimoto884ad192014-08-28 05:54:3057 'omnibox/autocomplete_provider_client.h',
[email protected]b1c5ab682014-08-07 11:53:1758 'omnibox/autocomplete_provider_listener.h',
[email protected]4b56c602014-08-14 17:02:3159 'omnibox/autocomplete_result.cc',
60 'omnibox/autocomplete_result.h',
[email protected]b1c5ab682014-08-07 11:53:1761 'omnibox/autocomplete_scheme_classifier.h',
hashimoto5f7db4b2014-08-27 02:46:2062 'omnibox/base_search_provider.cc',
63 'omnibox/base_search_provider.h',
blundellfd147322015-06-16 12:54:1064 'omnibox/bookmark_provider.cc',
65 'omnibox/bookmark_provider.h',
blundella08236e2015-06-29 09:44:2366 'omnibox/builtin_provider.cc',
67 'omnibox/builtin_provider.h',
blundell0235a502015-06-16 10:47:0868 'omnibox/history_provider.cc',
69 'omnibox/history_provider.h',
blundellb0d11e2e2015-06-18 14:41:2670 'omnibox/history_quick_provider.cc',
71 'omnibox/history_quick_provider.h',
blundell5894d2b2015-06-18 11:39:3672 'omnibox/history_url_provider.cc',
73 'omnibox/history_url_provider.h',
blundellb0d11e2e2015-06-18 14:41:2674 'omnibox/in_memory_url_index.cc',
75 'omnibox/in_memory_url_index.h',
blundell2a4e2312015-06-12 07:21:1776 'omnibox/in_memory_url_index_types.cc',
77 'omnibox/in_memory_url_index_types.h',
[email protected]02f5e32d2014-08-22 07:44:4678 'omnibox/keyword_extensions_delegate.cc',
79 'omnibox/keyword_extensions_delegate.h',
80 'omnibox/keyword_provider.cc',
81 'omnibox/keyword_provider.h',
[email protected]4c583b62014-08-08 10:37:2382 'omnibox/omnibox_field_trial.cc',
83 'omnibox/omnibox_field_trial.h',
blundell9273d5b2015-06-12 10:18:2784 'omnibox/omnibox_log.cc',
85 'omnibox/omnibox_log.h',
blundelld130d592015-06-21 19:29:1386 'omnibox/omnibox_pref_names.cc',
87 'omnibox/omnibox_pref_names.h',
[email protected]4c583b62014-08-08 10:37:2388 'omnibox/omnibox_switches.cc',
89 'omnibox/omnibox_switches.h',
blundell5894d2b2015-06-18 11:39:3690 'omnibox/scored_history_match.cc',
91 'omnibox/scored_history_match.h',
hashimoto5f7db4b2014-08-27 02:46:2092 'omnibox/search_provider.cc',
93 'omnibox/search_provider.h',
[email protected]b1c5ab682014-08-07 11:53:1794 'omnibox/search_suggestion_parser.cc',
95 'omnibox/search_suggestion_parser.h',
blundell3bf9496e2015-06-19 13:06:4496 'omnibox/shortcuts_backend.cc',
97 'omnibox/shortcuts_backend.h',
blundellaaf3fdbb2015-06-18 11:02:5498 'omnibox/shortcuts_database.cc',
99 'omnibox/shortcuts_database.h',
blundellfb1215ee2015-06-19 20:18:12100 'omnibox/shortcuts_provider.cc',
101 'omnibox/shortcuts_provider.h',
jdonnelly7393cee2014-10-31 01:52:56102 'omnibox/suggestion_answer.cc',
103 'omnibox/suggestion_answer.h',
blundellb0d11e2e2015-06-18 14:41:26104 'omnibox/url_index_private_data.cc',
105 'omnibox/url_index_private_data.h',
[email protected]b1c5ab682014-08-07 11:53:17106 'omnibox/url_prefix.cc',
107 'omnibox/url_prefix.h',
blundella08236e2015-06-29 09:44:23108 'omnibox/zero_suggest_provider.cc',
109 'omnibox/zero_suggest_provider.h',
[email protected]b1c5ab682014-08-07 11:53:17110 ],
111 },
112 {
blundellb0d11e2e2015-06-18 14:41:26113 # Protobuf compiler / generator for the InMemoryURLIndex caching
114 # protocol buffer.
115 # GN version: //components/omnibox:in_memory_url_index_cache_proto
116 'target_name': 'omnibox_in_memory_url_index_cache_proto',
117 'type': 'static_library',
118 'sources': [ 'omnibox/in_memory_url_index_cache.proto', ],
119 'variables': {
120 'proto_in_dir': 'omnibox',
121 'proto_out_dir': 'components/omnibox',
122 },
123 'includes': [ '../build/protoc.gypi', ],
124 },
125 {
[email protected]b1c5ab682014-08-07 11:53:17126 # GN version: //components/omnibox:test_support
127 'target_name': 'omnibox_test_support',
128 'type': 'static_library',
129 'dependencies': [
130 '../base/base.gyp:base',
blundellb11c2787e2015-06-22 10:05:10131 '../testing/gmock.gyp:gmock',
[email protected]b1c5ab682014-08-07 11:53:17132 'omnibox',
133 'component_metrics_proto',
134 ],
135 'include_dirs': [
136 '..',
137 ],
138 'sources': [
139 # Note: sources list duplicated in GN build.
blundellb11c2787e2015-06-22 10:05:10140 'omnibox/mock_autocomplete_provider_client.cc',
141 'omnibox/mock_autocomplete_provider_client.h',
[email protected]b1c5ab682014-08-07 11:53:17142 'omnibox/test_scheme_classifier.cc',
143 'omnibox/test_scheme_classifier.h',
144 ],
145 },
146 ],
147}