blob: 8b2841dc43f4a1148d32656610ebefd200e815f2 [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',
sdefresne9f694f72015-09-22 09:41:2623 'crash_core_common', # TODO(mpearson): remove once 464926 is fixed.
blundelldee275e2015-08-17 12:17:4624 'metrics',
[email protected]b1c5ab682014-08-07 11:53:1725 'component_metrics_proto',
26 'components_resources.gyp:components_resources',
[email protected]02f5e32d2014-08-22 07:44:4627 'components_strings.gyp:components_strings',
amohammadkhanf76ae112015-09-14 17:34:4328 'data_use_measurement_core',
brettw81d760e2014-11-25 20:30:1029 'history_core_browser',
blundellb0d11e2e2015-06-18 14:41:2630 'keyed_service_core',
blundell26a618e2015-07-31 11:16:4531 'omnibox_common',
blundellb0d11e2e2015-06-18 14:41:2632 'omnibox_in_memory_url_index_cache_proto',
sdefresne70948d62015-08-11 10:46:3533 'open_from_clipboard',
blundella08236e2015-06-29 09:44:2334 'pref_registry',
blundellfd147322015-06-16 12:54:1035 'query_parser',
hashimoto03080902014-08-28 04:19:5936 'search',
37 'search_engines',
blundell7dbd3792015-08-05 15:14:1938 'toolbar',
rsleevi24f64dc22015-08-07 21:39:2139 'url_formatter/url_formatter.gyp:url_formatter',
hashimoto03080902014-08-28 04:19:5940 'variations_http_provider',
[email protected]b1c5ab682014-08-07 11:53:1741 ],
hashimotof2e30b52014-10-28 12:08:0342 'export_dependent_settings': [
43 'component_metrics_proto',
blundelld130d592015-06-21 19:29:1344 'history_core_browser',
hashimotof2e30b52014-10-28 12:08:0345 ],
[email protected]b1c5ab682014-08-07 11:53:1746 'include_dirs': [
47 '..',
48 ],
49 'sources': [
50 # Note: sources list duplicated in GN build.
blundell2102f7c2015-07-09 10:00:5351 'omnibox/browser/answers_cache.cc',
52 'omnibox/browser/answers_cache.h',
53 'omnibox/browser/autocomplete_classifier.cc',
54 'omnibox/browser/autocomplete_classifier.h',
55 'omnibox/browser/autocomplete_controller.cc',
56 'omnibox/browser/autocomplete_controller.h',
57 'omnibox/browser/autocomplete_controller_delegate.h',
58 'omnibox/browser/autocomplete_input.cc',
59 'omnibox/browser/autocomplete_input.h',
60 'omnibox/browser/autocomplete_match.cc',
61 'omnibox/browser/autocomplete_match.h',
62 'omnibox/browser/autocomplete_match_type.cc',
63 'omnibox/browser/autocomplete_match_type.h',
64 'omnibox/browser/autocomplete_provider.cc',
65 'omnibox/browser/autocomplete_provider.h',
66 'omnibox/browser/autocomplete_provider_client.h',
67 'omnibox/browser/autocomplete_provider_listener.h',
68 'omnibox/browser/autocomplete_result.cc',
69 'omnibox/browser/autocomplete_result.h',
70 'omnibox/browser/autocomplete_scheme_classifier.h',
71 'omnibox/browser/base_search_provider.cc',
72 'omnibox/browser/base_search_provider.h',
73 'omnibox/browser/bookmark_provider.cc',
74 'omnibox/browser/bookmark_provider.h',
75 'omnibox/browser/builtin_provider.cc',
76 'omnibox/browser/builtin_provider.h',
sdefresne70948d62015-08-11 10:46:3577 'omnibox/browser/clipboard_url_provider.cc',
78 'omnibox/browser/clipboard_url_provider.h',
blundell2102f7c2015-07-09 10:00:5379 'omnibox/browser/history_provider.cc',
80 'omnibox/browser/history_provider.h',
81 'omnibox/browser/history_quick_provider.cc',
82 'omnibox/browser/history_quick_provider.h',
83 'omnibox/browser/history_url_provider.cc',
84 'omnibox/browser/history_url_provider.h',
85 'omnibox/browser/in_memory_url_index.cc',
86 'omnibox/browser/in_memory_url_index.h',
87 'omnibox/browser/in_memory_url_index_types.cc',
88 'omnibox/browser/in_memory_url_index_types.h',
89 'omnibox/browser/keyword_extensions_delegate.cc',
90 'omnibox/browser/keyword_extensions_delegate.h',
91 'omnibox/browser/keyword_provider.cc',
92 'omnibox/browser/keyword_provider.h',
blundell26a618e2015-07-31 11:16:4593 'omnibox/browser/omnibox_client.h',
blundell7dbd3792015-08-05 15:14:1994 'omnibox/browser/omnibox_controller.cc',
95 'omnibox/browser/omnibox_controller.h',
blundell3f0c8bb42015-08-03 18:55:0596 'omnibox/browser/omnibox_edit_controller.cc',
97 'omnibox/browser/omnibox_edit_controller.h',
blundell7dbd3792015-08-05 15:14:1998 'omnibox/browser/omnibox_edit_model.cc',
99 'omnibox/browser/omnibox_edit_model.h',
blundell8ee1f8e2015-08-07 08:26:31100 'omnibox/browser/omnibox_event_global_tracker.cc',
101 'omnibox/browser/omnibox_event_global_tracker.h',
sdefresne70948d62015-08-11 10:46:35102 'omnibox/browser/omnibox_field_trial.cc',
103 'omnibox/browser/omnibox_field_trial.h',
blundell2102f7c2015-07-09 10:00:53104 'omnibox/browser/omnibox_log.cc',
105 'omnibox/browser/omnibox_log.h',
blundelldee275e2015-08-17 12:17:46106 'omnibox/browser/omnibox_metrics_provider.cc',
107 'omnibox/browser/omnibox_metrics_provider.h',
blundell61208332015-08-04 07:07:24108 'omnibox/browser/omnibox_navigation_observer.h',
blundell7dbd3792015-08-05 15:14:19109 'omnibox/browser/omnibox_popup_model.cc',
110 'omnibox/browser/omnibox_popup_model.h',
blundell2102f7c2015-07-09 10:00:53111 'omnibox/browser/omnibox_popup_model_observer.h',
112 'omnibox/browser/omnibox_popup_view.h',
113 'omnibox/browser/omnibox_pref_names.cc',
114 'omnibox/browser/omnibox_pref_names.h',
115 'omnibox/browser/omnibox_switches.cc',
116 'omnibox/browser/omnibox_switches.h',
blundell7dbd3792015-08-05 15:14:19117 'omnibox/browser/omnibox_view.cc',
118 'omnibox/browser/omnibox_view.h',
blundell2102f7c2015-07-09 10:00:53119 'omnibox/browser/scored_history_match.cc',
120 'omnibox/browser/scored_history_match.h',
121 'omnibox/browser/search_provider.cc',
122 'omnibox/browser/search_provider.h',
123 'omnibox/browser/search_suggestion_parser.cc',
124 'omnibox/browser/search_suggestion_parser.h',
125 'omnibox/browser/shortcuts_backend.cc',
126 'omnibox/browser/shortcuts_backend.h',
sdefresne766b35462015-08-06 09:08:47127 'omnibox/browser/shortcuts_constants.cc',
128 'omnibox/browser/shortcuts_constants.h',
blundell2102f7c2015-07-09 10:00:53129 'omnibox/browser/shortcuts_database.cc',
130 'omnibox/browser/shortcuts_database.h',
131 'omnibox/browser/shortcuts_provider.cc',
132 'omnibox/browser/shortcuts_provider.h',
133 'omnibox/browser/suggestion_answer.cc',
134 'omnibox/browser/suggestion_answer.h',
135 'omnibox/browser/url_index_private_data.cc',
136 'omnibox/browser/url_index_private_data.h',
137 'omnibox/browser/url_prefix.cc',
138 'omnibox/browser/url_prefix.h',
sdefresne70948d62015-08-11 10:46:35139 'omnibox/browser/verbatim_match.cc',
140 'omnibox/browser/verbatim_match.h',
blundell2102f7c2015-07-09 10:00:53141 'omnibox/browser/zero_suggest_provider.cc',
142 'omnibox/browser/zero_suggest_provider.h',
[email protected]b1c5ab682014-08-07 11:53:17143 ],
144 },
145 {
blundell10cffea2015-07-09 12:38:25146 # GN version: //components/omnibox/common
147 'target_name': 'omnibox_common',
148 'type': 'none',
149 'include_dirs': [
150 '..',
151 ],
152 'sources': [
153 # Note: sources list duplicated in GN build.
brucedawsonb902fbc2015-07-14 20:52:50154 'omnibox/common/omnibox_focus_state.h',
blundell10cffea2015-07-09 12:38:25155 ],
156 },
157 {
blundellb0d11e2e2015-06-18 14:41:26158 # Protobuf compiler / generator for the InMemoryURLIndex caching
159 # protocol buffer.
160 # GN version: //components/omnibox:in_memory_url_index_cache_proto
161 'target_name': 'omnibox_in_memory_url_index_cache_proto',
162 'type': 'static_library',
blundell2102f7c2015-07-09 10:00:53163 'sources': [ 'omnibox/browser/in_memory_url_index_cache.proto', ],
blundellb0d11e2e2015-06-18 14:41:26164 'variables': {
blundell2102f7c2015-07-09 10:00:53165 'proto_in_dir': 'omnibox/browser',
166 'proto_out_dir': 'components/omnibox/browser',
blundellb0d11e2e2015-06-18 14:41:26167 },
168 'includes': [ '../build/protoc.gypi', ],
169 },
170 {
[email protected]b1c5ab682014-08-07 11:53:17171 # GN version: //components/omnibox:test_support
172 'target_name': 'omnibox_test_support',
173 'type': 'static_library',
174 'dependencies': [
175 '../base/base.gyp:base',
blundellb11c2787e2015-06-22 10:05:10176 '../testing/gmock.gyp:gmock',
blundell2102f7c2015-07-09 10:00:53177 'omnibox_browser',
[email protected]b1c5ab682014-08-07 11:53:17178 'component_metrics_proto',
179 ],
180 'include_dirs': [
181 '..',
182 ],
183 'sources': [
184 # Note: sources list duplicated in GN build.
blundell2102f7c2015-07-09 10:00:53185 'omnibox/browser/mock_autocomplete_provider_client.cc',
186 'omnibox/browser/mock_autocomplete_provider_client.h',
187 'omnibox/browser/test_scheme_classifier.cc',
188 'omnibox/browser/test_scheme_classifier.h',
[email protected]b1c5ab682014-08-07 11:53:17189 ],
190 },
191 ],
mariakhomenko73808f972015-11-03 02:34:11192 'conditions': [
193 ['OS == "android"', {
194 'targets': [
195 {
196 # GN: //components/omnibox:autocomplete_match_type_javagen
197 'target_name': 'autocomplete_match_type_java',
198 'type': 'none',
199 'variables': {
200 'source_file': 'omnibox/browser/autocomplete_match_type.h',
201 },
202 'includes': [ '../build/android/java_cpp_enum.gypi' ],
203 },
204 ],
205 }],
206 ],
[email protected]b1c5ab682014-08-07 11:53:17207}