[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 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. |
| 4 | |
| 5 | { |
| 6 | 'targets': [ |
| 7 | { |
| 8 | # GN version: //components/omnibox |
| 9 | 'target_name': 'omnibox', |
| 10 | 'type': 'static_library', |
| 11 | 'dependencies': [ |
| 12 | '../base/base.gyp:base', |
brettw | 81d760e | 2014-11-25 20:30:10 | [diff] [blame] | 13 | '../base/base.gyp:base_i18n', |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 14 | '../net/net.gyp:net', |
blundell | aaf3fdbb | 2015-06-18 11:02:54 | [diff] [blame] | 15 | '../sql/sql.gyp:sql', |
blundell | b0d11e2e | 2015-06-18 14:41:26 | [diff] [blame] | 16 | '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
[email protected] | 02f5e32d | 2014-08-22 07:44:46 | [diff] [blame] | 17 | '../ui/base/ui_base.gyp:ui_base', |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 18 | '../url/url.gyp:url_lib', |
blundell | 0235a50 | 2015-06-16 10:47:08 | [diff] [blame] | 19 | 'bookmarks_browser', |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 20 | 'component_metrics_proto', |
| 21 | 'components_resources.gyp:components_resources', |
[email protected] | 02f5e32d | 2014-08-22 07:44:46 | [diff] [blame] | 22 | 'components_strings.gyp:components_strings', |
brettw | 81d760e | 2014-11-25 20:30:10 | [diff] [blame] | 23 | 'history_core_browser', |
blundell | b0d11e2e | 2015-06-18 14:41:26 | [diff] [blame] | 24 | 'keyed_service_core', |
| 25 | 'omnibox_in_memory_url_index_cache_proto', |
blundell | a08236e | 2015-06-29 09:44:23 | [diff] [blame^] | 26 | 'pref_registry', |
blundell | fd14732 | 2015-06-16 12:54:10 | [diff] [blame] | 27 | 'query_parser', |
hashimoto | 0308090 | 2014-08-28 04:19:59 | [diff] [blame] | 28 | 'search', |
| 29 | 'search_engines', |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 30 | 'url_fixer', |
hashimoto | 0308090 | 2014-08-28 04:19:59 | [diff] [blame] | 31 | 'variations_http_provider', |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 32 | ], |
hashimoto | f2e30b5 | 2014-10-28 12:08:03 | [diff] [blame] | 33 | 'export_dependent_settings': [ |
| 34 | 'component_metrics_proto', |
blundell | d130d59 | 2015-06-21 19:29:13 | [diff] [blame] | 35 | 'history_core_browser', |
hashimoto | f2e30b5 | 2014-10-28 12:08:03 | [diff] [blame] | 36 | ], |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 37 | 'include_dirs': [ |
| 38 | '..', |
| 39 | ], |
| 40 | 'sources': [ |
| 41 | # Note: sources list duplicated in GN build. |
hashimoto | 5f7db4b | 2014-08-27 02:46:20 | [diff] [blame] | 42 | 'omnibox/answers_cache.cc', |
satorux | ba9fc86 | 2015-02-17 01:16:42 | [diff] [blame] | 43 | 'omnibox/answers_cache.h', |
blundell | a08236e | 2015-06-29 09:44:23 | [diff] [blame^] | 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', |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 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', |
Ryo Hashimoto | 884ad19 | 2014-08-28 05:54:30 | [diff] [blame] | 57 | 'omnibox/autocomplete_provider_client.h', |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 58 | 'omnibox/autocomplete_provider_listener.h', |
[email protected] | 4b56c60 | 2014-08-14 17:02:31 | [diff] [blame] | 59 | 'omnibox/autocomplete_result.cc', |
| 60 | 'omnibox/autocomplete_result.h', |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 61 | 'omnibox/autocomplete_scheme_classifier.h', |
hashimoto | 5f7db4b | 2014-08-27 02:46:20 | [diff] [blame] | 62 | 'omnibox/base_search_provider.cc', |
| 63 | 'omnibox/base_search_provider.h', |
blundell | fd14732 | 2015-06-16 12:54:10 | [diff] [blame] | 64 | 'omnibox/bookmark_provider.cc', |
| 65 | 'omnibox/bookmark_provider.h', |
blundell | a08236e | 2015-06-29 09:44:23 | [diff] [blame^] | 66 | 'omnibox/builtin_provider.cc', |
| 67 | 'omnibox/builtin_provider.h', |
blundell | 0235a50 | 2015-06-16 10:47:08 | [diff] [blame] | 68 | 'omnibox/history_provider.cc', |
| 69 | 'omnibox/history_provider.h', |
blundell | b0d11e2e | 2015-06-18 14:41:26 | [diff] [blame] | 70 | 'omnibox/history_quick_provider.cc', |
| 71 | 'omnibox/history_quick_provider.h', |
blundell | 5894d2b | 2015-06-18 11:39:36 | [diff] [blame] | 72 | 'omnibox/history_url_provider.cc', |
| 73 | 'omnibox/history_url_provider.h', |
blundell | b0d11e2e | 2015-06-18 14:41:26 | [diff] [blame] | 74 | 'omnibox/in_memory_url_index.cc', |
| 75 | 'omnibox/in_memory_url_index.h', |
blundell | 2a4e231 | 2015-06-12 07:21:17 | [diff] [blame] | 76 | 'omnibox/in_memory_url_index_types.cc', |
| 77 | 'omnibox/in_memory_url_index_types.h', |
[email protected] | 02f5e32d | 2014-08-22 07:44:46 | [diff] [blame] | 78 | 'omnibox/keyword_extensions_delegate.cc', |
| 79 | 'omnibox/keyword_extensions_delegate.h', |
| 80 | 'omnibox/keyword_provider.cc', |
| 81 | 'omnibox/keyword_provider.h', |
[email protected] | 4c583b6 | 2014-08-08 10:37:23 | [diff] [blame] | 82 | 'omnibox/omnibox_field_trial.cc', |
| 83 | 'omnibox/omnibox_field_trial.h', |
blundell | 9273d5b | 2015-06-12 10:18:27 | [diff] [blame] | 84 | 'omnibox/omnibox_log.cc', |
| 85 | 'omnibox/omnibox_log.h', |
blundell | d130d59 | 2015-06-21 19:29:13 | [diff] [blame] | 86 | 'omnibox/omnibox_pref_names.cc', |
| 87 | 'omnibox/omnibox_pref_names.h', |
[email protected] | 4c583b6 | 2014-08-08 10:37:23 | [diff] [blame] | 88 | 'omnibox/omnibox_switches.cc', |
| 89 | 'omnibox/omnibox_switches.h', |
blundell | 5894d2b | 2015-06-18 11:39:36 | [diff] [blame] | 90 | 'omnibox/scored_history_match.cc', |
| 91 | 'omnibox/scored_history_match.h', |
hashimoto | 5f7db4b | 2014-08-27 02:46:20 | [diff] [blame] | 92 | 'omnibox/search_provider.cc', |
| 93 | 'omnibox/search_provider.h', |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 94 | 'omnibox/search_suggestion_parser.cc', |
| 95 | 'omnibox/search_suggestion_parser.h', |
blundell | 3bf9496e | 2015-06-19 13:06:44 | [diff] [blame] | 96 | 'omnibox/shortcuts_backend.cc', |
| 97 | 'omnibox/shortcuts_backend.h', |
blundell | aaf3fdbb | 2015-06-18 11:02:54 | [diff] [blame] | 98 | 'omnibox/shortcuts_database.cc', |
| 99 | 'omnibox/shortcuts_database.h', |
blundell | fb1215ee | 2015-06-19 20:18:12 | [diff] [blame] | 100 | 'omnibox/shortcuts_provider.cc', |
| 101 | 'omnibox/shortcuts_provider.h', |
jdonnelly | 7393cee | 2014-10-31 01:52:56 | [diff] [blame] | 102 | 'omnibox/suggestion_answer.cc', |
| 103 | 'omnibox/suggestion_answer.h', |
blundell | b0d11e2e | 2015-06-18 14:41:26 | [diff] [blame] | 104 | 'omnibox/url_index_private_data.cc', |
| 105 | 'omnibox/url_index_private_data.h', |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 106 | 'omnibox/url_prefix.cc', |
| 107 | 'omnibox/url_prefix.h', |
blundell | a08236e | 2015-06-29 09:44:23 | [diff] [blame^] | 108 | 'omnibox/zero_suggest_provider.cc', |
| 109 | 'omnibox/zero_suggest_provider.h', |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 110 | ], |
| 111 | }, |
| 112 | { |
blundell | b0d11e2e | 2015-06-18 14:41:26 | [diff] [blame] | 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 | { |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 126 | # GN version: //components/omnibox:test_support |
| 127 | 'target_name': 'omnibox_test_support', |
| 128 | 'type': 'static_library', |
| 129 | 'dependencies': [ |
| 130 | '../base/base.gyp:base', |
blundell | b11c2787e | 2015-06-22 10:05:10 | [diff] [blame] | 131 | '../testing/gmock.gyp:gmock', |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 132 | 'omnibox', |
| 133 | 'component_metrics_proto', |
| 134 | ], |
| 135 | 'include_dirs': [ |
| 136 | '..', |
| 137 | ], |
| 138 | 'sources': [ |
| 139 | # Note: sources list duplicated in GN build. |
blundell | b11c2787e | 2015-06-22 10:05:10 | [diff] [blame] | 140 | 'omnibox/mock_autocomplete_provider_client.cc', |
| 141 | 'omnibox/mock_autocomplete_provider_client.h', |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 142 | 'omnibox/test_scheme_classifier.cc', |
| 143 | 'omnibox/test_scheme_classifier.h', |
| 144 | ], |
| 145 | }, |
| 146 | ], |
| 147 | } |