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