blob: 4dea90237fab7be0bec00db6424ab16ec2344097 [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 {
blundell2102f7c2015-07-09 10:00:538 # GN version: //components/omnibox/browser
9 'target_name': 'omnibox_browser',
[email protected]b1c5ab682014-08-07 11:53:1710 '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',
blundell7dbd3792015-08-05 15:14:1915 '../skia/skia.gyp:skia',
blundellaaf3fdbb2015-06-18 11:02:5416 '../sql/sql.gyp:sql',
blundellb0d11e2e2015-06-18 14:41:2617 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
[email protected]02f5e32d2014-08-22 07:44:4618 '../ui/base/ui_base.gyp:ui_base',
blundell7dbd3792015-08-05 15:14:1919 '../ui/gfx/gfx.gyp:gfx',
estade07775d2d2015-10-20 21:17:2320 '../ui/gfx/gfx.gyp:gfx_vector_icons',
[email protected]b1c5ab682014-08-07 11:53:1721 '../url/url.gyp:url_lib',
blundell0235a502015-06-16 10:47:0822 'bookmarks_browser',
blundelldee275e2015-08-17 12:17:4623 'metrics',
[email protected]b1c5ab682014-08-07 11:53:1724 'component_metrics_proto',
25 'components_resources.gyp:components_resources',
[email protected]02f5e32d2014-08-22 07:44:4626 'components_strings.gyp:components_strings',
amohammadkhanf76ae112015-09-14 17:34:4327 'data_use_measurement_core',
brettw81d760e2014-11-25 20:30:1028 'history_core_browser',
blundellb0d11e2e2015-06-18 14:41:2629 'keyed_service_core',
blundell26a618e2015-07-31 11:16:4530 'omnibox_common',
blundellb0d11e2e2015-06-18 14:41:2631 'omnibox_in_memory_url_index_cache_proto',
sdefresne70948d62015-08-11 10:46:3532 'open_from_clipboard',
blundella08236e2015-06-29 09:44:2333 'pref_registry',
blundellfd147322015-06-16 12:54:1034 'query_parser',
hashimoto03080902014-08-28 04:19:5935 'search',
36 'search_engines',
blundell7dbd3792015-08-05 15:14:1937 'toolbar',
rsleevi24f64dc22015-08-07 21:39:2138 'url_formatter/url_formatter.gyp:url_formatter',
asvitkine9a279832015-12-18 02:35:5039 'variations_net',
[email protected]b1c5ab682014-08-07 11:53:1740 ],
hashimotof2e30b52014-10-28 12:08:0341 'export_dependent_settings': [
42 'component_metrics_proto',
blundelld130d592015-06-21 19:29:1343 'history_core_browser',
hashimotof2e30b52014-10-28 12:08:0344 ],
[email protected]b1c5ab682014-08-07 11:53:1745 'include_dirs': [
46 '..',
47 ],
48 'sources': [
49 # Note: sources list duplicated in GN build.
blundell2102f7c2015-07-09 10:00:5350 'omnibox/browser/answers_cache.cc',
51 'omnibox/browser/answers_cache.h',
52 'omnibox/browser/autocomplete_classifier.cc',
53 'omnibox/browser/autocomplete_classifier.h',
54 'omnibox/browser/autocomplete_controller.cc',
55 'omnibox/browser/autocomplete_controller.h',
56 'omnibox/browser/autocomplete_controller_delegate.h',
57 'omnibox/browser/autocomplete_input.cc',
58 'omnibox/browser/autocomplete_input.h',
59 'omnibox/browser/autocomplete_match.cc',
60 'omnibox/browser/autocomplete_match.h',
61 'omnibox/browser/autocomplete_match_type.cc',
62 'omnibox/browser/autocomplete_match_type.h',
63 'omnibox/browser/autocomplete_provider.cc',
64 'omnibox/browser/autocomplete_provider.h',
65 'omnibox/browser/autocomplete_provider_client.h',
66 'omnibox/browser/autocomplete_provider_listener.h',
67 'omnibox/browser/autocomplete_result.cc',
68 'omnibox/browser/autocomplete_result.h',
69 'omnibox/browser/autocomplete_scheme_classifier.h',
70 'omnibox/browser/base_search_provider.cc',
71 'omnibox/browser/base_search_provider.h',
72 'omnibox/browser/bookmark_provider.cc',
73 'omnibox/browser/bookmark_provider.h',
74 'omnibox/browser/builtin_provider.cc',
75 'omnibox/browser/builtin_provider.h',
sdefresne70948d62015-08-11 10:46:3576 'omnibox/browser/clipboard_url_provider.cc',
77 'omnibox/browser/clipboard_url_provider.h',
blundell2102f7c2015-07-09 10:00:5378 'omnibox/browser/history_provider.cc',
79 'omnibox/browser/history_provider.h',
80 'omnibox/browser/history_quick_provider.cc',
81 'omnibox/browser/history_quick_provider.h',
82 'omnibox/browser/history_url_provider.cc',
83 'omnibox/browser/history_url_provider.h',
84 'omnibox/browser/in_memory_url_index.cc',
85 'omnibox/browser/in_memory_url_index.h',
86 'omnibox/browser/in_memory_url_index_types.cc',
87 'omnibox/browser/in_memory_url_index_types.h',
88 'omnibox/browser/keyword_extensions_delegate.cc',
89 'omnibox/browser/keyword_extensions_delegate.h',
90 'omnibox/browser/keyword_provider.cc',
91 'omnibox/browser/keyword_provider.h',
blundell26a618e2015-07-31 11:16:4592 'omnibox/browser/omnibox_client.h',
blundell7dbd3792015-08-05 15:14:1993 'omnibox/browser/omnibox_controller.cc',
94 'omnibox/browser/omnibox_controller.h',
blundell3f0c8bb42015-08-03 18:55:0595 'omnibox/browser/omnibox_edit_controller.cc',
96 'omnibox/browser/omnibox_edit_controller.h',
blundell7dbd3792015-08-05 15:14:1997 'omnibox/browser/omnibox_edit_model.cc',
98 'omnibox/browser/omnibox_edit_model.h',
blundell8ee1f8e2015-08-07 08:26:3199 'omnibox/browser/omnibox_event_global_tracker.cc',
100 'omnibox/browser/omnibox_event_global_tracker.h',
sdefresne70948d62015-08-11 10:46:35101 'omnibox/browser/omnibox_field_trial.cc',
102 'omnibox/browser/omnibox_field_trial.h',
blundell2102f7c2015-07-09 10:00:53103 'omnibox/browser/omnibox_log.cc',
104 'omnibox/browser/omnibox_log.h',
blundelldee275e2015-08-17 12:17:46105 'omnibox/browser/omnibox_metrics_provider.cc',
106 'omnibox/browser/omnibox_metrics_provider.h',
blundell61208332015-08-04 07:07:24107 'omnibox/browser/omnibox_navigation_observer.h',
blundell7dbd3792015-08-05 15:14:19108 'omnibox/browser/omnibox_popup_model.cc',
109 'omnibox/browser/omnibox_popup_model.h',
blundell2102f7c2015-07-09 10:00:53110 'omnibox/browser/omnibox_popup_model_observer.h',
111 'omnibox/browser/omnibox_popup_view.h',
112 'omnibox/browser/omnibox_pref_names.cc',
113 'omnibox/browser/omnibox_pref_names.h',
114 'omnibox/browser/omnibox_switches.cc',
115 'omnibox/browser/omnibox_switches.h',
blundell7dbd3792015-08-05 15:14:19116 'omnibox/browser/omnibox_view.cc',
117 'omnibox/browser/omnibox_view.h',
blundell2102f7c2015-07-09 10:00:53118 'omnibox/browser/scored_history_match.cc',
119 'omnibox/browser/scored_history_match.h',
120 'omnibox/browser/search_provider.cc',
121 'omnibox/browser/search_provider.h',
122 'omnibox/browser/search_suggestion_parser.cc',
123 'omnibox/browser/search_suggestion_parser.h',
124 'omnibox/browser/shortcuts_backend.cc',
125 'omnibox/browser/shortcuts_backend.h',
sdefresne766b35462015-08-06 09:08:47126 'omnibox/browser/shortcuts_constants.cc',
127 'omnibox/browser/shortcuts_constants.h',
blundell2102f7c2015-07-09 10:00:53128 'omnibox/browser/shortcuts_database.cc',
129 'omnibox/browser/shortcuts_database.h',
130 'omnibox/browser/shortcuts_provider.cc',
131 'omnibox/browser/shortcuts_provider.h',
132 'omnibox/browser/suggestion_answer.cc',
133 'omnibox/browser/suggestion_answer.h',
134 'omnibox/browser/url_index_private_data.cc',
135 'omnibox/browser/url_index_private_data.h',
136 'omnibox/browser/url_prefix.cc',
137 'omnibox/browser/url_prefix.h',
sdefresne70948d62015-08-11 10:46:35138 'omnibox/browser/verbatim_match.cc',
139 'omnibox/browser/verbatim_match.h',
blundell2102f7c2015-07-09 10:00:53140 'omnibox/browser/zero_suggest_provider.cc',
141 'omnibox/browser/zero_suggest_provider.h',
[email protected]b1c5ab682014-08-07 11:53:17142 ],
143 },
144 {
blundell10cffea2015-07-09 12:38:25145 # GN version: //components/omnibox/common
146 'target_name': 'omnibox_common',
147 'type': 'none',
148 'include_dirs': [
149 '..',
150 ],
151 'sources': [
152 # Note: sources list duplicated in GN build.
brucedawsonb902fbc2015-07-14 20:52:50153 'omnibox/common/omnibox_focus_state.h',
blundell10cffea2015-07-09 12:38:25154 ],
155 },
156 {
blundellb0d11e2e2015-06-18 14:41:26157 # Protobuf compiler / generator for the InMemoryURLIndex caching
158 # protocol buffer.
159 # GN version: //components/omnibox:in_memory_url_index_cache_proto
160 'target_name': 'omnibox_in_memory_url_index_cache_proto',
161 'type': 'static_library',
blundell2102f7c2015-07-09 10:00:53162 'sources': [ 'omnibox/browser/in_memory_url_index_cache.proto', ],
blundellb0d11e2e2015-06-18 14:41:26163 'variables': {
blundell2102f7c2015-07-09 10:00:53164 'proto_in_dir': 'omnibox/browser',
165 'proto_out_dir': 'components/omnibox/browser',
blundellb0d11e2e2015-06-18 14:41:26166 },
167 'includes': [ '../build/protoc.gypi', ],
168 },
169 {
[email protected]b1c5ab682014-08-07 11:53:17170 # GN version: //components/omnibox:test_support
171 'target_name': 'omnibox_test_support',
172 'type': 'static_library',
173 'dependencies': [
174 '../base/base.gyp:base',
blundellb11c2787e2015-06-22 10:05:10175 '../testing/gmock.gyp:gmock',
blundell2102f7c2015-07-09 10:00:53176 'omnibox_browser',
[email protected]b1c5ab682014-08-07 11:53:17177 'component_metrics_proto',
178 ],
179 'include_dirs': [
180 '..',
181 ],
182 'sources': [
183 # Note: sources list duplicated in GN build.
rohitrao21f9a9b2016-01-26 23:09:44184 'omnibox/browser/history_index_restore_observer.cc',
185 'omnibox/browser/history_index_restore_observer.h',
rohitrao4a13d7b2016-02-01 17:11:06186 'omnibox/browser/in_memory_url_index_test_util.cc',
187 'omnibox/browser/in_memory_url_index_test_util.h',
blundell2102f7c2015-07-09 10:00:53188 'omnibox/browser/mock_autocomplete_provider_client.cc',
189 'omnibox/browser/mock_autocomplete_provider_client.h',
rohitraob6175492016-02-03 16:37:55190 'omnibox/browser/shortcuts_provider_test_util.cc',
191 'omnibox/browser/shortcuts_provider_test_util.h',
blundell2102f7c2015-07-09 10:00:53192 'omnibox/browser/test_scheme_classifier.cc',
193 'omnibox/browser/test_scheme_classifier.h',
[email protected]b1c5ab682014-08-07 11:53:17194 ],
195 },
196 ],
mariakhomenko73808f972015-11-03 02:34:11197 'conditions': [
198 ['OS == "android"', {
199 'targets': [
200 {
tedchoc2d34190c32016-02-03 20:39:33201 # GN: //components/omnibox:autocomplete_match_javagen
202 'target_name': 'autocomplete_match_java',
203 'type': 'none',
204 'variables': {
205 'source_file': 'omnibox/browser/autocomplete_match.h',
206 },
207 'includes': [ '../build/android/java_cpp_enum.gypi' ],
208 },
209 {
mariakhomenko73808f972015-11-03 02:34:11210 # GN: //components/omnibox:autocomplete_match_type_javagen
211 'target_name': 'autocomplete_match_type_java',
212 'type': 'none',
213 'variables': {
214 'source_file': 'omnibox/browser/autocomplete_match_type.h',
215 },
216 'includes': [ '../build/android/java_cpp_enum.gypi' ],
217 },
218 ],
219 }],
220 ],
[email protected]b1c5ab682014-08-07 11:53:17221}