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',
16 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
17 '../ui/base/ui_base.gyp:ui_base',
18 '../url/url.gyp:url_lib',
20 'component_metrics_proto',
21 'components_resources.gyp:components_resources',
22 'components_strings.gyp:components_strings',
23 'history_core_browser',
25 'omnibox_in_memory_url_index_cache_proto',
31 'variations_http_provider',
33 'export_dependent_settings': [
34 'component_metrics_proto',
35 'history_core_browser',
41 # Note: sources list duplicated in GN build.
42 'omnibox/browser/answers_cache.cc',
43 'omnibox/browser/answers_cache.h',
44 'omnibox/browser/autocomplete_classifier.cc',
45 'omnibox/browser/autocomplete_classifier.h',
46 'omnibox/browser/autocomplete_controller.cc',
47 'omnibox/browser/autocomplete_controller.h',
48 'omnibox/browser/autocomplete_controller_delegate.h',
49 'omnibox/browser/autocomplete_input.cc',
50 'omnibox/browser/autocomplete_input.h',
51 'omnibox/browser/autocomplete_match.cc',
52 'omnibox/browser/autocomplete_match.h',
53 'omnibox/browser/autocomplete_match_type.cc',
54 'omnibox/browser/autocomplete_match_type.h',
55 'omnibox/browser/autocomplete_provider.cc',
56 'omnibox/browser/autocomplete_provider.h',
57 'omnibox/browser/autocomplete_provider_client.h',
58 'omnibox/browser/autocomplete_provider_listener.h',
59 'omnibox/browser/autocomplete_result.cc',
60 'omnibox/browser/autocomplete_result.h',
61 'omnibox/browser/autocomplete_scheme_classifier.h',
62 'omnibox/browser/base_search_provider.cc',
63 'omnibox/browser/base_search_provider.h',
64 'omnibox/browser/bookmark_provider.cc',
65 'omnibox/browser/bookmark_provider.h',
66 'omnibox/browser/builtin_provider.cc',
67 'omnibox/browser/builtin_provider.h',
68 'omnibox/browser/history_provider.cc',
69 'omnibox/browser/history_provider.h',
70 'omnibox/browser/history_quick_provider.cc',
71 'omnibox/browser/history_quick_provider.h',
72 'omnibox/browser/history_url_provider.cc',
73 'omnibox/browser/history_url_provider.h',
74 'omnibox/browser/in_memory_url_index.cc',
75 'omnibox/browser/in_memory_url_index.h',
76 'omnibox/browser/in_memory_url_index_types.cc',
77 'omnibox/browser/in_memory_url_index_types.h',
78 'omnibox/browser/keyword_extensions_delegate.cc',
79 'omnibox/browser/keyword_extensions_delegate.h',
80 'omnibox/browser/keyword_provider.cc',
81 'omnibox/browser/keyword_provider.h',
82 'omnibox/browser/omnibox_field_trial.cc',
83 'omnibox/browser/omnibox_field_trial.h',
84 'omnibox/browser/omnibox_log.cc',
85 'omnibox/browser/omnibox_log.h',
86 'omnibox/browser/omnibox_popup_model_observer.h',
87 'omnibox/browser/omnibox_popup_view.h',
88 'omnibox/browser/omnibox_pref_names.cc',
89 'omnibox/browser/omnibox_pref_names.h',
90 'omnibox/browser/omnibox_switches.cc',
91 'omnibox/browser/omnibox_switches.h',
92 'omnibox/browser/scored_history_match.cc',
93 'omnibox/browser/scored_history_match.h',
94 'omnibox/browser/search_provider.cc',
95 'omnibox/browser/search_provider.h',
96 'omnibox/browser/search_suggestion_parser.cc',
97 'omnibox/browser/search_suggestion_parser.h',
98 'omnibox/browser/shortcuts_backend.cc',
99 'omnibox/browser/shortcuts_backend.h',
100 'omnibox/browser/shortcuts_database.cc',
101 'omnibox/browser/shortcuts_database.h',
102 'omnibox/browser/shortcuts_provider.cc',
103 'omnibox/browser/shortcuts_provider.h',
104 'omnibox/browser/suggestion_answer.cc',
105 'omnibox/browser/suggestion_answer.h',
106 'omnibox/browser/url_index_private_data.cc',
107 'omnibox/browser/url_index_private_data.h',
108 'omnibox/browser/url_prefix.cc',
109 'omnibox/browser/url_prefix.h',
110 'omnibox/browser/zero_suggest_provider.cc',
111 'omnibox/browser/zero_suggest_provider.h',
115 # GN version: //components/omnibox/common
116 'target_name': 'omnibox_common',
122 # Note: sources list duplicated in GN build.
123 'omnibox/common/omnibox_focus_state.h',
127 # Protobuf compiler / generator for the InMemoryURLIndex caching
129 # GN version: //components/omnibox:in_memory_url_index_cache_proto
130 'target_name': 'omnibox_in_memory_url_index_cache_proto',
131 'type': 'static_library',
132 'sources': [ 'omnibox/browser/in_memory_url_index_cache.proto', ],
134 'proto_in_dir': 'omnibox/browser',
135 'proto_out_dir': 'components/omnibox/browser',
137 'includes': [ '../build/protoc.gypi', ],
140 # GN version: //components/omnibox:test_support
141 'target_name': 'omnibox_test_support',
142 'type': 'static_library',
144 '../base/base.gyp:base',
145 '../testing/gmock.gyp:gmock',
147 'component_metrics_proto',
153 # Note: sources list duplicated in GN build.
154 'omnibox/browser/mock_autocomplete_provider_client.cc',
155 'omnibox/browser/mock_autocomplete_provider_client.h',
156 'omnibox/browser/test_scheme_classifier.cc',
157 'omnibox/browser/test_scheme_classifier.h',