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.
8 # GN version: //components/omnibox/browser
9 'target_name': 'omnibox_browser',
10 'type': 'static_library',
12 '../base/base.gyp:base',
13 '../base/base.gyp:base_i18n',
15 '../skia/skia.gyp:skia',
17 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
18 '../ui/base/ui_base.gyp:ui_base',
19 '../ui/gfx/gfx.gyp:gfx',
20 '../url/url.gyp:url_lib',
22 'crash_keys', # TODO(mpearson): remove once 464926 is fixed.
24 'component_metrics_proto',
25 'components_resources.gyp:components_resources',
26 'components_strings.gyp:components_strings',
27 'data_use_measurement_core',
28 'history_core_browser',
31 'omnibox_in_memory_url_index_cache_proto',
32 'open_from_clipboard',
38 'url_formatter/url_formatter.gyp:url_formatter',
39 'variations_http_provider',
41 'export_dependent_settings': [
42 'component_metrics_proto',
43 'history_core_browser',
49 # Note: sources list duplicated in GN build.
50 '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',
76 'omnibox/browser/clipboard_url_provider.cc',
77 'omnibox/browser/clipboard_url_provider.h',
78 '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',
92 'omnibox/browser/omnibox_client.h',
93 'omnibox/browser/omnibox_controller.cc',
94 'omnibox/browser/omnibox_controller.h',
95 'omnibox/browser/omnibox_edit_controller.cc',
96 'omnibox/browser/omnibox_edit_controller.h',
97 'omnibox/browser/omnibox_edit_model.cc',
98 'omnibox/browser/omnibox_edit_model.h',
99 'omnibox/browser/omnibox_event_global_tracker.cc',
100 'omnibox/browser/omnibox_event_global_tracker.h',
101 'omnibox/browser/omnibox_field_trial.cc',
102 'omnibox/browser/omnibox_field_trial.h',
103 'omnibox/browser/omnibox_log.cc',
104 'omnibox/browser/omnibox_log.h',
105 'omnibox/browser/omnibox_metrics_provider.cc',
106 'omnibox/browser/omnibox_metrics_provider.h',
107 'omnibox/browser/omnibox_navigation_observer.h',
108 'omnibox/browser/omnibox_popup_model.cc',
109 'omnibox/browser/omnibox_popup_model.h',
110 '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',
116 'omnibox/browser/omnibox_view.cc',
117 'omnibox/browser/omnibox_view.h',
118 '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',
126 'omnibox/browser/shortcuts_constants.cc',
127 'omnibox/browser/shortcuts_constants.h',
128 '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',
138 'omnibox/browser/verbatim_match.cc',
139 'omnibox/browser/verbatim_match.h',
140 'omnibox/browser/zero_suggest_provider.cc',
141 'omnibox/browser/zero_suggest_provider.h',
145 # GN version: //components/omnibox/common
146 'target_name': 'omnibox_common',
152 # Note: sources list duplicated in GN build.
153 'omnibox/common/omnibox_focus_state.h',
157 # Protobuf compiler / generator for the InMemoryURLIndex caching
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',
162 'sources': [ 'omnibox/browser/in_memory_url_index_cache.proto', ],
164 'proto_in_dir': 'omnibox/browser',
165 'proto_out_dir': 'components/omnibox/browser',
167 'includes': [ '../build/protoc.gypi', ],
170 # GN version: //components/omnibox:test_support
171 'target_name': 'omnibox_test_support',
172 'type': 'static_library',
174 '../base/base.gyp:base',
175 '../testing/gmock.gyp:gmock',
177 'component_metrics_proto',
183 # Note: sources list duplicated in GN build.
184 'omnibox/browser/mock_autocomplete_provider_client.cc',
185 'omnibox/browser/mock_autocomplete_provider_client.h',
186 'omnibox/browser/test_scheme_classifier.cc',
187 'omnibox/browser/test_scheme_classifier.h',