Don't preload rarely seen large images
[chromium-blink-merge.git] / components / omnibox.gypi
blobb83819f9f8da9c543e15020b238bced21a889f94
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.
6   'targets': [
7     {
8       # GN version: //components/omnibox
9       'target_name': 'omnibox',
10       'type': 'static_library',
11       'dependencies': [
12         '../base/base.gyp:base',
13         '../base/base.gyp:base_i18n',
14         '../net/net.gyp:net',
15         '../sql/sql.gyp:sql',
16         '../third_party/protobuf/protobuf.gyp:protobuf_lite',
17         '../ui/base/ui_base.gyp:ui_base',
18         '../url/url.gyp:url_lib',
19         'bookmarks_browser',
20         'component_metrics_proto',
21         'components_resources.gyp:components_resources',
22         'components_strings.gyp:components_strings',
23         'history_core_browser',
24         'keyed_service_core',
25         'omnibox_in_memory_url_index_cache_proto',
26         'pref_registry',
27         'query_parser',
28         'search',
29         'search_engines',
30         'url_fixer',
31         'variations_http_provider',
32       ],
33       'export_dependent_settings': [
34         'component_metrics_proto',
35         'history_core_browser',
36       ],
37       'include_dirs': [
38         '..',
39       ],
40       'sources': [
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',
110       ],
111     },
112     {
113       # Protobuf compiler / generator for the InMemoryURLIndex caching
114       # protocol buffer.
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', ],
119       'variables': {
120         'proto_in_dir': 'omnibox',
121         'proto_out_dir': 'components/omnibox',
122       },
123       'includes': [ '../build/protoc.gypi', ],
124     },
125     {
126       # GN version: //components/omnibox:test_support
127       'target_name': 'omnibox_test_support',
128       'type': 'static_library',
129       'dependencies': [
130         '../base/base.gyp:base',
131         '../testing/gmock.gyp:gmock',
132         'omnibox',
133         'component_metrics_proto',
134       ],
135       'include_dirs': [
136         '..',
137       ],
138       'sources': [
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',
144       ],
145     },
146   ],