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 'component_metrics_proto',
23 'components_resources.gyp:components_resources',
24 'components_strings.gyp:components_strings',
25 'history_core_browser',
28 'omnibox_in_memory_url_index_cache_proto',
29 'open_from_clipboard',
35 'url_formatter/url_formatter.gyp:url_formatter',
36 'variations_http_provider',
38 'export_dependent_settings': [
39 'component_metrics_proto',
40 'history_core_browser',
46 # Note: sources list duplicated in GN build.
47 'omnibox/browser/answers_cache.cc',
48 'omnibox/browser/answers_cache.h',
49 'omnibox/browser/autocomplete_classifier.cc',
50 'omnibox/browser/autocomplete_classifier.h',
51 'omnibox/browser/autocomplete_controller.cc',
52 'omnibox/browser/autocomplete_controller.h',
53 'omnibox/browser/autocomplete_controller_delegate.h',
54 'omnibox/browser/autocomplete_input.cc',
55 'omnibox/browser/autocomplete_input.h',
56 'omnibox/browser/autocomplete_match.cc',
57 'omnibox/browser/autocomplete_match.h',
58 'omnibox/browser/autocomplete_match_type.cc',
59 'omnibox/browser/autocomplete_match_type.h',
60 'omnibox/browser/autocomplete_provider.cc',
61 'omnibox/browser/autocomplete_provider.h',
62 'omnibox/browser/autocomplete_provider_client.h',
63 'omnibox/browser/autocomplete_provider_listener.h',
64 'omnibox/browser/autocomplete_result.cc',
65 'omnibox/browser/autocomplete_result.h',
66 'omnibox/browser/autocomplete_scheme_classifier.h',
67 'omnibox/browser/base_search_provider.cc',
68 'omnibox/browser/base_search_provider.h',
69 'omnibox/browser/bookmark_provider.cc',
70 'omnibox/browser/bookmark_provider.h',
71 'omnibox/browser/builtin_provider.cc',
72 'omnibox/browser/builtin_provider.h',
73 'omnibox/browser/clipboard_url_provider.cc',
74 'omnibox/browser/clipboard_url_provider.h',
75 'omnibox/browser/history_provider.cc',
76 'omnibox/browser/history_provider.h',
77 'omnibox/browser/history_quick_provider.cc',
78 'omnibox/browser/history_quick_provider.h',
79 'omnibox/browser/history_url_provider.cc',
80 'omnibox/browser/history_url_provider.h',
81 'omnibox/browser/in_memory_url_index.cc',
82 'omnibox/browser/in_memory_url_index.h',
83 'omnibox/browser/in_memory_url_index_types.cc',
84 'omnibox/browser/in_memory_url_index_types.h',
85 'omnibox/browser/keyword_extensions_delegate.cc',
86 'omnibox/browser/keyword_extensions_delegate.h',
87 'omnibox/browser/keyword_provider.cc',
88 'omnibox/browser/keyword_provider.h',
89 'omnibox/browser/omnibox_client.h',
90 'omnibox/browser/omnibox_controller.cc',
91 'omnibox/browser/omnibox_controller.h',
92 'omnibox/browser/omnibox_edit_controller.cc',
93 'omnibox/browser/omnibox_edit_controller.h',
94 'omnibox/browser/omnibox_edit_model.cc',
95 'omnibox/browser/omnibox_edit_model.h',
96 'omnibox/browser/omnibox_event_global_tracker.cc',
97 'omnibox/browser/omnibox_event_global_tracker.h',
98 'omnibox/browser/omnibox_field_trial.cc',
99 'omnibox/browser/omnibox_field_trial.h',
100 'omnibox/browser/omnibox_log.cc',
101 'omnibox/browser/omnibox_log.h',
102 'omnibox/browser/omnibox_navigation_observer.h',
103 'omnibox/browser/omnibox_popup_model.cc',
104 'omnibox/browser/omnibox_popup_model.h',
105 'omnibox/browser/omnibox_popup_model_observer.h',
106 'omnibox/browser/omnibox_popup_view.h',
107 'omnibox/browser/omnibox_pref_names.cc',
108 'omnibox/browser/omnibox_pref_names.h',
109 'omnibox/browser/omnibox_switches.cc',
110 'omnibox/browser/omnibox_switches.h',
111 'omnibox/browser/omnibox_view.cc',
112 'omnibox/browser/omnibox_view.h',
113 'omnibox/browser/scored_history_match.cc',
114 'omnibox/browser/scored_history_match.h',
115 'omnibox/browser/search_provider.cc',
116 'omnibox/browser/search_provider.h',
117 'omnibox/browser/search_suggestion_parser.cc',
118 'omnibox/browser/search_suggestion_parser.h',
119 'omnibox/browser/shortcuts_backend.cc',
120 'omnibox/browser/shortcuts_backend.h',
121 'omnibox/browser/shortcuts_constants.cc',
122 'omnibox/browser/shortcuts_constants.h',
123 'omnibox/browser/shortcuts_database.cc',
124 'omnibox/browser/shortcuts_database.h',
125 'omnibox/browser/shortcuts_provider.cc',
126 'omnibox/browser/shortcuts_provider.h',
127 'omnibox/browser/suggestion_answer.cc',
128 'omnibox/browser/suggestion_answer.h',
129 'omnibox/browser/url_index_private_data.cc',
130 'omnibox/browser/url_index_private_data.h',
131 'omnibox/browser/url_prefix.cc',
132 'omnibox/browser/url_prefix.h',
133 'omnibox/browser/verbatim_match.cc',
134 'omnibox/browser/verbatim_match.h',
135 'omnibox/browser/zero_suggest_provider.cc',
136 'omnibox/browser/zero_suggest_provider.h',
140 # GN version: //components/omnibox/common
141 'target_name': 'omnibox_common',
147 # Note: sources list duplicated in GN build.
148 'omnibox/common/omnibox_focus_state.h',
152 # Protobuf compiler / generator for the InMemoryURLIndex caching
154 # GN version: //components/omnibox:in_memory_url_index_cache_proto
155 'target_name': 'omnibox_in_memory_url_index_cache_proto',
156 'type': 'static_library',
157 'sources': [ 'omnibox/browser/in_memory_url_index_cache.proto', ],
159 'proto_in_dir': 'omnibox/browser',
160 'proto_out_dir': 'components/omnibox/browser',
162 'includes': [ '../build/protoc.gypi', ],
165 # GN version: //components/omnibox:test_support
166 'target_name': 'omnibox_test_support',
167 'type': 'static_library',
169 '../base/base.gyp:base',
170 '../testing/gmock.gyp:gmock',
172 'component_metrics_proto',
178 # Note: sources list duplicated in GN build.
179 'omnibox/browser/mock_autocomplete_provider_client.cc',
180 'omnibox/browser/mock_autocomplete_provider_client.h',
181 'omnibox/browser/test_scheme_classifier.cc',
182 'omnibox/browser/test_scheme_classifier.h',