[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 | { |
blundell | 2102f7c | 2015-07-09 10:00:53 | [diff] [blame] | 8 | # GN version: //components/omnibox/browser |
| 9 | 'target_name': 'omnibox_browser', |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 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 | 7dbd379 | 2015-08-05 15:14:19 | [diff] [blame] | 15 | '../skia/skia.gyp:skia', |
blundell | aaf3fdbb | 2015-06-18 11:02:54 | [diff] [blame] | 16 | '../sql/sql.gyp:sql', |
blundell | b0d11e2e | 2015-06-18 14:41:26 | [diff] [blame] | 17 | '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
[email protected] | 02f5e32d | 2014-08-22 07:44:46 | [diff] [blame] | 18 | '../ui/base/ui_base.gyp:ui_base', |
blundell | 7dbd379 | 2015-08-05 15:14:19 | [diff] [blame] | 19 | '../ui/gfx/gfx.gyp:gfx', |
estade | 07775d2d | 2015-10-20 21:17:23 | [diff] [blame] | 20 | '../ui/gfx/gfx.gyp:gfx_vector_icons', |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 21 | '../url/url.gyp:url_lib', |
blundell | 0235a50 | 2015-06-16 10:47:08 | [diff] [blame] | 22 | 'bookmarks_browser', |
blundell | dee275e | 2015-08-17 12:17:46 | [diff] [blame] | 23 | 'metrics', |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 24 | 'component_metrics_proto', |
| 25 | 'components_resources.gyp:components_resources', |
[email protected] | 02f5e32d | 2014-08-22 07:44:46 | [diff] [blame] | 26 | 'components_strings.gyp:components_strings', |
amohammadkhan | f76ae11 | 2015-09-14 17:34:43 | [diff] [blame] | 27 | 'data_use_measurement_core', |
brettw | 81d760e | 2014-11-25 20:30:10 | [diff] [blame] | 28 | 'history_core_browser', |
blundell | b0d11e2e | 2015-06-18 14:41:26 | [diff] [blame] | 29 | 'keyed_service_core', |
blundell | 26a618e | 2015-07-31 11:16:45 | [diff] [blame] | 30 | 'omnibox_common', |
blundell | b0d11e2e | 2015-06-18 14:41:26 | [diff] [blame] | 31 | 'omnibox_in_memory_url_index_cache_proto', |
sdefresne | 70948d6 | 2015-08-11 10:46:35 | [diff] [blame] | 32 | 'open_from_clipboard', |
blundell | a08236e | 2015-06-29 09:44:23 | [diff] [blame] | 33 | 'pref_registry', |
blundell | fd14732 | 2015-06-16 12:54:10 | [diff] [blame] | 34 | 'query_parser', |
hashimoto | 0308090 | 2014-08-28 04:19:59 | [diff] [blame] | 35 | 'search', |
| 36 | 'search_engines', |
blundell | 7dbd379 | 2015-08-05 15:14:19 | [diff] [blame] | 37 | 'toolbar', |
rsleevi | 24f64dc2 | 2015-08-07 21:39:21 | [diff] [blame] | 38 | 'url_formatter/url_formatter.gyp:url_formatter', |
asvitkine | 9a27983 | 2015-12-18 02:35:50 | [diff] [blame] | 39 | 'variations_net', |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 40 | ], |
hashimoto | f2e30b5 | 2014-10-28 12:08:03 | [diff] [blame] | 41 | 'export_dependent_settings': [ |
| 42 | 'component_metrics_proto', |
blundell | d130d59 | 2015-06-21 19:29:13 | [diff] [blame] | 43 | 'history_core_browser', |
hashimoto | f2e30b5 | 2014-10-28 12:08:03 | [diff] [blame] | 44 | ], |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 45 | 'include_dirs': [ |
| 46 | '..', |
| 47 | ], |
| 48 | 'sources': [ |
| 49 | # Note: sources list duplicated in GN build. |
blundell | 2102f7c | 2015-07-09 10:00:53 | [diff] [blame] | 50 | 'omnibox/browser/answers_cache.cc', |
| 51 | 'omnibox/browser/answers_cache.h', |
| 52 | 'omnibox/browser/autocomplete_classifier.cc', |
| 53 | 'omnibox/browser/autocomplete_classifier.h', |
| 54 | 'omnibox/browser/autocomplete_controller.cc', |
| 55 | 'omnibox/browser/autocomplete_controller.h', |
| 56 | 'omnibox/browser/autocomplete_controller_delegate.h', |
| 57 | 'omnibox/browser/autocomplete_input.cc', |
| 58 | 'omnibox/browser/autocomplete_input.h', |
| 59 | 'omnibox/browser/autocomplete_match.cc', |
| 60 | 'omnibox/browser/autocomplete_match.h', |
| 61 | 'omnibox/browser/autocomplete_match_type.cc', |
| 62 | 'omnibox/browser/autocomplete_match_type.h', |
| 63 | 'omnibox/browser/autocomplete_provider.cc', |
| 64 | 'omnibox/browser/autocomplete_provider.h', |
| 65 | 'omnibox/browser/autocomplete_provider_client.h', |
| 66 | 'omnibox/browser/autocomplete_provider_listener.h', |
| 67 | 'omnibox/browser/autocomplete_result.cc', |
| 68 | 'omnibox/browser/autocomplete_result.h', |
| 69 | 'omnibox/browser/autocomplete_scheme_classifier.h', |
| 70 | 'omnibox/browser/base_search_provider.cc', |
| 71 | 'omnibox/browser/base_search_provider.h', |
| 72 | 'omnibox/browser/bookmark_provider.cc', |
| 73 | 'omnibox/browser/bookmark_provider.h', |
| 74 | 'omnibox/browser/builtin_provider.cc', |
| 75 | 'omnibox/browser/builtin_provider.h', |
sdefresne | 70948d6 | 2015-08-11 10:46:35 | [diff] [blame] | 76 | 'omnibox/browser/clipboard_url_provider.cc', |
| 77 | 'omnibox/browser/clipboard_url_provider.h', |
blundell | 2102f7c | 2015-07-09 10:00:53 | [diff] [blame] | 78 | 'omnibox/browser/history_provider.cc', |
| 79 | 'omnibox/browser/history_provider.h', |
| 80 | 'omnibox/browser/history_quick_provider.cc', |
| 81 | 'omnibox/browser/history_quick_provider.h', |
| 82 | 'omnibox/browser/history_url_provider.cc', |
| 83 | 'omnibox/browser/history_url_provider.h', |
| 84 | 'omnibox/browser/in_memory_url_index.cc', |
| 85 | 'omnibox/browser/in_memory_url_index.h', |
| 86 | 'omnibox/browser/in_memory_url_index_types.cc', |
| 87 | 'omnibox/browser/in_memory_url_index_types.h', |
| 88 | 'omnibox/browser/keyword_extensions_delegate.cc', |
| 89 | 'omnibox/browser/keyword_extensions_delegate.h', |
| 90 | 'omnibox/browser/keyword_provider.cc', |
| 91 | 'omnibox/browser/keyword_provider.h', |
blundell | 26a618e | 2015-07-31 11:16:45 | [diff] [blame] | 92 | 'omnibox/browser/omnibox_client.h', |
blundell | 7dbd379 | 2015-08-05 15:14:19 | [diff] [blame] | 93 | 'omnibox/browser/omnibox_controller.cc', |
| 94 | 'omnibox/browser/omnibox_controller.h', |
blundell | 3f0c8bb4 | 2015-08-03 18:55:05 | [diff] [blame] | 95 | 'omnibox/browser/omnibox_edit_controller.cc', |
| 96 | 'omnibox/browser/omnibox_edit_controller.h', |
blundell | 7dbd379 | 2015-08-05 15:14:19 | [diff] [blame] | 97 | 'omnibox/browser/omnibox_edit_model.cc', |
| 98 | 'omnibox/browser/omnibox_edit_model.h', |
blundell | 8ee1f8e | 2015-08-07 08:26:31 | [diff] [blame] | 99 | 'omnibox/browser/omnibox_event_global_tracker.cc', |
| 100 | 'omnibox/browser/omnibox_event_global_tracker.h', |
sdefresne | 70948d6 | 2015-08-11 10:46:35 | [diff] [blame] | 101 | 'omnibox/browser/omnibox_field_trial.cc', |
| 102 | 'omnibox/browser/omnibox_field_trial.h', |
blundell | 2102f7c | 2015-07-09 10:00:53 | [diff] [blame] | 103 | 'omnibox/browser/omnibox_log.cc', |
| 104 | 'omnibox/browser/omnibox_log.h', |
blundell | dee275e | 2015-08-17 12:17:46 | [diff] [blame] | 105 | 'omnibox/browser/omnibox_metrics_provider.cc', |
| 106 | 'omnibox/browser/omnibox_metrics_provider.h', |
blundell | 6120833 | 2015-08-04 07:07:24 | [diff] [blame] | 107 | 'omnibox/browser/omnibox_navigation_observer.h', |
blundell | 7dbd379 | 2015-08-05 15:14:19 | [diff] [blame] | 108 | 'omnibox/browser/omnibox_popup_model.cc', |
| 109 | 'omnibox/browser/omnibox_popup_model.h', |
blundell | 2102f7c | 2015-07-09 10:00:53 | [diff] [blame] | 110 | 'omnibox/browser/omnibox_popup_model_observer.h', |
| 111 | 'omnibox/browser/omnibox_popup_view.h', |
| 112 | 'omnibox/browser/omnibox_pref_names.cc', |
| 113 | 'omnibox/browser/omnibox_pref_names.h', |
| 114 | 'omnibox/browser/omnibox_switches.cc', |
| 115 | 'omnibox/browser/omnibox_switches.h', |
blundell | 7dbd379 | 2015-08-05 15:14:19 | [diff] [blame] | 116 | 'omnibox/browser/omnibox_view.cc', |
| 117 | 'omnibox/browser/omnibox_view.h', |
blundell | 2102f7c | 2015-07-09 10:00:53 | [diff] [blame] | 118 | 'omnibox/browser/scored_history_match.cc', |
| 119 | 'omnibox/browser/scored_history_match.h', |
| 120 | 'omnibox/browser/search_provider.cc', |
| 121 | 'omnibox/browser/search_provider.h', |
| 122 | 'omnibox/browser/search_suggestion_parser.cc', |
| 123 | 'omnibox/browser/search_suggestion_parser.h', |
| 124 | 'omnibox/browser/shortcuts_backend.cc', |
| 125 | 'omnibox/browser/shortcuts_backend.h', |
sdefresne | 766b3546 | 2015-08-06 09:08:47 | [diff] [blame] | 126 | 'omnibox/browser/shortcuts_constants.cc', |
| 127 | 'omnibox/browser/shortcuts_constants.h', |
blundell | 2102f7c | 2015-07-09 10:00:53 | [diff] [blame] | 128 | 'omnibox/browser/shortcuts_database.cc', |
| 129 | 'omnibox/browser/shortcuts_database.h', |
| 130 | 'omnibox/browser/shortcuts_provider.cc', |
| 131 | 'omnibox/browser/shortcuts_provider.h', |
| 132 | 'omnibox/browser/suggestion_answer.cc', |
| 133 | 'omnibox/browser/suggestion_answer.h', |
| 134 | 'omnibox/browser/url_index_private_data.cc', |
| 135 | 'omnibox/browser/url_index_private_data.h', |
| 136 | 'omnibox/browser/url_prefix.cc', |
| 137 | 'omnibox/browser/url_prefix.h', |
sdefresne | 70948d6 | 2015-08-11 10:46:35 | [diff] [blame] | 138 | 'omnibox/browser/verbatim_match.cc', |
| 139 | 'omnibox/browser/verbatim_match.h', |
blundell | 2102f7c | 2015-07-09 10:00:53 | [diff] [blame] | 140 | 'omnibox/browser/zero_suggest_provider.cc', |
| 141 | 'omnibox/browser/zero_suggest_provider.h', |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 142 | ], |
| 143 | }, |
| 144 | { |
blundell | 10cffea | 2015-07-09 12:38:25 | [diff] [blame] | 145 | # GN version: //components/omnibox/common |
| 146 | 'target_name': 'omnibox_common', |
| 147 | 'type': 'none', |
| 148 | 'include_dirs': [ |
| 149 | '..', |
| 150 | ], |
| 151 | 'sources': [ |
| 152 | # Note: sources list duplicated in GN build. |
brucedawson | b902fbc | 2015-07-14 20:52:50 | [diff] [blame] | 153 | 'omnibox/common/omnibox_focus_state.h', |
blundell | 10cffea | 2015-07-09 12:38:25 | [diff] [blame] | 154 | ], |
| 155 | }, |
| 156 | { |
blundell | b0d11e2e | 2015-06-18 14:41:26 | [diff] [blame] | 157 | # Protobuf compiler / generator for the InMemoryURLIndex caching |
| 158 | # protocol buffer. |
| 159 | # GN version: //components/omnibox:in_memory_url_index_cache_proto |
| 160 | 'target_name': 'omnibox_in_memory_url_index_cache_proto', |
| 161 | 'type': 'static_library', |
blundell | 2102f7c | 2015-07-09 10:00:53 | [diff] [blame] | 162 | 'sources': [ 'omnibox/browser/in_memory_url_index_cache.proto', ], |
blundell | b0d11e2e | 2015-06-18 14:41:26 | [diff] [blame] | 163 | 'variables': { |
blundell | 2102f7c | 2015-07-09 10:00:53 | [diff] [blame] | 164 | 'proto_in_dir': 'omnibox/browser', |
| 165 | 'proto_out_dir': 'components/omnibox/browser', |
blundell | b0d11e2e | 2015-06-18 14:41:26 | [diff] [blame] | 166 | }, |
| 167 | 'includes': [ '../build/protoc.gypi', ], |
| 168 | }, |
| 169 | { |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 170 | # GN version: //components/omnibox:test_support |
| 171 | 'target_name': 'omnibox_test_support', |
| 172 | 'type': 'static_library', |
| 173 | 'dependencies': [ |
| 174 | '../base/base.gyp:base', |
blundell | b11c2787e | 2015-06-22 10:05:10 | [diff] [blame] | 175 | '../testing/gmock.gyp:gmock', |
blundell | 2102f7c | 2015-07-09 10:00:53 | [diff] [blame] | 176 | 'omnibox_browser', |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 177 | 'component_metrics_proto', |
| 178 | ], |
| 179 | 'include_dirs': [ |
| 180 | '..', |
| 181 | ], |
| 182 | 'sources': [ |
| 183 | # Note: sources list duplicated in GN build. |
rohitrao | 21f9a9b | 2016-01-26 23:09:44 | [diff] [blame] | 184 | 'omnibox/browser/history_index_restore_observer.cc', |
| 185 | 'omnibox/browser/history_index_restore_observer.h', |
rohitrao | 4a13d7b | 2016-02-01 17:11:06 | [diff] [blame] | 186 | 'omnibox/browser/in_memory_url_index_test_util.cc', |
| 187 | 'omnibox/browser/in_memory_url_index_test_util.h', |
blundell | 2102f7c | 2015-07-09 10:00:53 | [diff] [blame] | 188 | 'omnibox/browser/mock_autocomplete_provider_client.cc', |
| 189 | 'omnibox/browser/mock_autocomplete_provider_client.h', |
rohitrao | b617549 | 2016-02-03 16:37:55 | [diff] [blame] | 190 | 'omnibox/browser/shortcuts_provider_test_util.cc', |
| 191 | 'omnibox/browser/shortcuts_provider_test_util.h', |
blundell | 2102f7c | 2015-07-09 10:00:53 | [diff] [blame] | 192 | 'omnibox/browser/test_scheme_classifier.cc', |
| 193 | 'omnibox/browser/test_scheme_classifier.h', |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 194 | ], |
| 195 | }, |
| 196 | ], |
mariakhomenko | 73808f97 | 2015-11-03 02:34:11 | [diff] [blame] | 197 | 'conditions': [ |
| 198 | ['OS == "android"', { |
| 199 | 'targets': [ |
| 200 | { |
tedchoc | 2d34190c3 | 2016-02-03 20:39:33 | [diff] [blame] | 201 | # GN: //components/omnibox:autocomplete_match_javagen |
| 202 | 'target_name': 'autocomplete_match_java', |
| 203 | 'type': 'none', |
| 204 | 'variables': { |
| 205 | 'source_file': 'omnibox/browser/autocomplete_match.h', |
| 206 | }, |
| 207 | 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
| 208 | }, |
| 209 | { |
mariakhomenko | 73808f97 | 2015-11-03 02:34:11 | [diff] [blame] | 210 | # GN: //components/omnibox:autocomplete_match_type_javagen |
| 211 | 'target_name': 'autocomplete_match_type_java', |
| 212 | 'type': 'none', |
| 213 | 'variables': { |
| 214 | 'source_file': 'omnibox/browser/autocomplete_match_type.h', |
| 215 | }, |
| 216 | 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
| 217 | }, |
| 218 | ], |
| 219 | }], |
| 220 | ], |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 221 | } |