closure: fix compile error by adding missing externs
[chromium-blink-merge.git] / components / omnibox.gypi
blob2680cf0ea5604374205e63bc5af9311336cf07cc
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         '../ui/base/ui_base.gyp:ui_base',
16         '../url/url.gyp:url_lib',
17         'component_metrics_proto',
18         'components_resources.gyp:components_resources',
19         'components_strings.gyp:components_strings',
20         'history_core_browser',
21         'search',
22         'search_engines',
23         'url_fixer',
24         'variations_http_provider',
25       ],
26       'export_dependent_settings': [
27         'component_metrics_proto',
28       ],
29       'include_dirs': [
30         '..',
31       ],
32       'sources': [
33         # Note: sources list duplicated in GN build.
34         'omnibox/answers_cache.cc',
35         'omnibox/answers_cache.h',
36         'omnibox/autocomplete_input.cc',
37         'omnibox/autocomplete_input.h',
38         'omnibox/autocomplete_match.cc',
39         'omnibox/autocomplete_match.h',
40         'omnibox/autocomplete_match_type.cc',
41         'omnibox/autocomplete_match_type.h',
42         'omnibox/autocomplete_provider.cc',
43         'omnibox/autocomplete_provider.h',
44         'omnibox/autocomplete_provider_client.h',
45         'omnibox/autocomplete_provider_listener.h',
46         'omnibox/autocomplete_result.cc',
47         'omnibox/autocomplete_result.h',
48         'omnibox/autocomplete_scheme_classifier.h',
49         'omnibox/base_search_provider.cc',
50         'omnibox/base_search_provider.h',
51         'omnibox/keyword_extensions_delegate.cc',
52         'omnibox/keyword_extensions_delegate.h',
53         'omnibox/keyword_provider.cc',
54         'omnibox/keyword_provider.h',
55         'omnibox/omnibox_field_trial.cc',
56         'omnibox/omnibox_field_trial.h',
57         'omnibox/omnibox_switches.cc',
58         'omnibox/omnibox_switches.h',
59         'omnibox/search_provider.cc',
60         'omnibox/search_provider.h',
61         'omnibox/search_suggestion_parser.cc',
62         'omnibox/search_suggestion_parser.h',
63         'omnibox/suggestion_answer.cc',
64         'omnibox/suggestion_answer.h',
65         'omnibox/url_prefix.cc',
66         'omnibox/url_prefix.h',
67       ],
68     },
69     {
70       # GN version: //components/omnibox:test_support
71       'target_name': 'omnibox_test_support',
72       'type': 'static_library',
73       'dependencies': [
74         '../base/base.gyp:base',
75         'omnibox',
76         'component_metrics_proto',
77       ],
78       'include_dirs': [
79         '..',
80       ],
81       'sources': [
82         # Note: sources list duplicated in GN build.
83         'omnibox/test_scheme_classifier.cc',
84         'omnibox/test_scheme_classifier.h',
85       ],
86     },
87   ],