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
9 'target_name': 'omnibox',
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/answers_cache.cc',
43 'omnibox/answers_cache.h',
44 'omnibox/autocomplete_classifier.cc',
45 'omnibox/autocomplete_classifier.h',
46 'omnibox/autocomplete_controller.cc',
47 'omnibox/autocomplete_controller.h',
48 'omnibox/autocomplete_controller_delegate.h',
49 'omnibox/autocomplete_input.cc',
50 'omnibox/autocomplete_input.h',
51 'omnibox/autocomplete_match.cc',
52 'omnibox/autocomplete_match.h',
53 'omnibox/autocomplete_match_type.cc',
54 'omnibox/autocomplete_match_type.h',
55 'omnibox/autocomplete_provider.cc',
56 'omnibox/autocomplete_provider.h',
57 'omnibox/autocomplete_provider_client.h',
58 'omnibox/autocomplete_provider_listener.h',
59 'omnibox/autocomplete_result.cc',
60 'omnibox/autocomplete_result.h',
61 'omnibox/autocomplete_scheme_classifier.h',
62 'omnibox/base_search_provider.cc',
63 'omnibox/base_search_provider.h',
64 'omnibox/bookmark_provider.cc',
65 'omnibox/bookmark_provider.h',
66 'omnibox/builtin_provider.cc',
67 'omnibox/builtin_provider.h',
68 'omnibox/history_provider.cc',
69 'omnibox/history_provider.h',
70 'omnibox/history_quick_provider.cc',
71 'omnibox/history_quick_provider.h',
72 'omnibox/history_url_provider.cc',
73 'omnibox/history_url_provider.h',
74 'omnibox/in_memory_url_index.cc',
75 'omnibox/in_memory_url_index.h',
76 'omnibox/in_memory_url_index_types.cc',
77 'omnibox/in_memory_url_index_types.h',
78 'omnibox/keyword_extensions_delegate.cc',
79 'omnibox/keyword_extensions_delegate.h',
80 'omnibox/keyword_provider.cc',
81 'omnibox/keyword_provider.h',
82 'omnibox/omnibox_field_trial.cc',
83 'omnibox/omnibox_field_trial.h',
84 'omnibox/omnibox_log.cc',
85 'omnibox/omnibox_log.h',
86 'omnibox/omnibox_pref_names.cc',
87 'omnibox/omnibox_pref_names.h',
88 'omnibox/omnibox_switches.cc',
89 'omnibox/omnibox_switches.h',
90 'omnibox/scored_history_match.cc',
91 'omnibox/scored_history_match.h',
92 'omnibox/search_provider.cc',
93 'omnibox/search_provider.h',
94 'omnibox/search_suggestion_parser.cc',
95 'omnibox/search_suggestion_parser.h',
96 'omnibox/shortcuts_backend.cc',
97 'omnibox/shortcuts_backend.h',
98 'omnibox/shortcuts_database.cc',
99 'omnibox/shortcuts_database.h',
100 'omnibox/shortcuts_provider.cc',
101 'omnibox/shortcuts_provider.h',
102 'omnibox/suggestion_answer.cc',
103 'omnibox/suggestion_answer.h',
104 'omnibox/url_index_private_data.cc',
105 'omnibox/url_index_private_data.h',
106 'omnibox/url_prefix.cc',
107 'omnibox/url_prefix.h',
108 'omnibox/zero_suggest_provider.cc',
109 'omnibox/zero_suggest_provider.h',
113 # Protobuf compiler / generator for the InMemoryURLIndex caching
115 # GN version: //components/omnibox:in_memory_url_index_cache_proto
116 'target_name': 'omnibox_in_memory_url_index_cache_proto',
117 'type': 'static_library',
118 'sources': [ 'omnibox/in_memory_url_index_cache.proto', ],
120 'proto_in_dir': 'omnibox',
121 'proto_out_dir': 'components/omnibox',
123 'includes': [ '../build/protoc.gypi', ],
126 # GN version: //components/omnibox:test_support
127 'target_name': 'omnibox_test_support',
128 'type': 'static_library',
130 '../base/base.gyp:base',
131 '../testing/gmock.gyp:gmock',
133 'component_metrics_proto',
139 # Note: sources list duplicated in GN build.
140 'omnibox/mock_autocomplete_provider_client.cc',
141 'omnibox/mock_autocomplete_provider_client.h',
142 'omnibox/test_scheme_classifier.cc',
143 'omnibox/test_scheme_classifier.h',