Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Side by Side Diff: components/omnibox/BUILD.gn

Issue 1182113009: Componentize HistoryQuickProvider and its supporting cast (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/omnibox.gypi ('k') | components/omnibox/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//third_party/protobuf/proto_library.gni")
6
5 static_library("omnibox") { 7 static_library("omnibox") {
6 sources = [ 8 sources = [
7 "answers_cache.cc", 9 "answers_cache.cc",
8 "answers_cache.h", 10 "answers_cache.h",
9 "autocomplete_input.cc", 11 "autocomplete_input.cc",
10 "autocomplete_input.h", 12 "autocomplete_input.h",
11 "autocomplete_match.cc", 13 "autocomplete_match.cc",
12 "autocomplete_match.h", 14 "autocomplete_match.h",
13 "autocomplete_match_type.cc", 15 "autocomplete_match_type.cc",
14 "autocomplete_match_type.h", 16 "autocomplete_match_type.h",
15 "autocomplete_provider.cc", 17 "autocomplete_provider.cc",
16 "autocomplete_provider.h", 18 "autocomplete_provider.h",
17 "autocomplete_result.cc", 19 "autocomplete_result.cc",
18 "autocomplete_result.h", 20 "autocomplete_result.h",
19 "autocomplete_scheme_classifier.h", 21 "autocomplete_scheme_classifier.h",
20 "base_search_provider.cc", 22 "base_search_provider.cc",
21 "base_search_provider.h", 23 "base_search_provider.h",
22 "bookmark_provider.cc", 24 "bookmark_provider.cc",
23 "bookmark_provider.h", 25 "bookmark_provider.h",
24 "history_provider.cc", 26 "history_provider.cc",
25 "history_provider.h", 27 "history_provider.h",
28 "history_quick_provider.cc",
29 "history_quick_provider.h",
26 "history_url_provider.cc", 30 "history_url_provider.cc",
27 "history_url_provider.h", 31 "history_url_provider.h",
32 "in_memory_url_index.cc",
33 "in_memory_url_index.h",
28 "in_memory_url_index_types.cc", 34 "in_memory_url_index_types.cc",
29 "in_memory_url_index_types.h", 35 "in_memory_url_index_types.h",
30 "keyword_extensions_delegate.cc", 36 "keyword_extensions_delegate.cc",
31 "keyword_extensions_delegate.h", 37 "keyword_extensions_delegate.h",
32 "keyword_provider.cc", 38 "keyword_provider.cc",
33 "keyword_provider.h", 39 "keyword_provider.h",
34 "omnibox_field_trial.cc", 40 "omnibox_field_trial.cc",
35 "omnibox_field_trial.h", 41 "omnibox_field_trial.h",
36 "omnibox_log.cc", 42 "omnibox_log.cc",
37 "omnibox_log.h", 43 "omnibox_log.h",
38 "omnibox_switches.cc", 44 "omnibox_switches.cc",
39 "omnibox_switches.h", 45 "omnibox_switches.h",
40 "scored_history_match.cc", 46 "scored_history_match.cc",
41 "scored_history_match.h", 47 "scored_history_match.h",
42 "search_provider.cc", 48 "search_provider.cc",
43 "search_provider.h", 49 "search_provider.h",
44 "search_suggestion_parser.cc", 50 "search_suggestion_parser.cc",
45 "search_suggestion_parser.h", 51 "search_suggestion_parser.h",
46 "shortcuts_database.cc", 52 "shortcuts_database.cc",
47 "shortcuts_database.h", 53 "shortcuts_database.h",
48 "suggestion_answer.cc", 54 "suggestion_answer.cc",
49 "suggestion_answer.h", 55 "suggestion_answer.h",
56 "url_index_private_data.cc",
57 "url_index_private_data.h",
50 "url_prefix.cc", 58 "url_prefix.cc",
51 "url_prefix.h", 59 "url_prefix.h",
52 ] 60 ]
53 61
54 public_deps = [ 62 public_deps = [
55 "//components/metrics/proto", 63 "//components/metrics/proto",
56 ] 64 ]
57 deps = [ 65 deps = [
66 ":in_memory_url_index_cache_proto",
58 "//base", 67 "//base",
59 "//base:i18n", 68 "//base:i18n",
60 "//components/bookmarks/browser", 69 "//components/bookmarks/browser",
61 "//components/history/core/browser", 70 "//components/history/core/browser",
71 "//components/keyed_service/core",
62 "//components/query_parser", 72 "//components/query_parser",
63 "//components/resources", 73 "//components/resources",
64 "//components/search", 74 "//components/search",
65 "//components/search_engines", 75 "//components/search_engines",
66 "//components/strings", 76 "//components/strings",
67 "//components/url_fixer", 77 "//components/url_fixer",
68 "//components/variations", 78 "//components/variations",
69 "//components/variations/net", 79 "//components/variations/net",
70 "//net", 80 "//net",
71 "//sql", 81 "//sql",
82 "//third_party/protobuf:protobuf_lite",
72 "//ui/base", 83 "//ui/base",
73 "//url", 84 "//url",
74 ] 85 ]
75 } 86 }
76 87
88 proto_library("in_memory_url_index_cache_proto") {
89 sources = [
90 "in_memory_url_index_cache.proto",
91 ]
92 }
93
77 static_library("test_support") { 94 static_library("test_support") {
78 sources = [ 95 sources = [
79 "test_scheme_classifier.cc", 96 "test_scheme_classifier.cc",
80 "test_scheme_classifier.h", 97 "test_scheme_classifier.h",
81 ] 98 ]
82 99
83 deps = [ 100 deps = [
84 ":omnibox", 101 ":omnibox",
85 "//base", 102 "//base",
86 "//components/metrics/proto", 103 "//components/metrics/proto",
(...skipping 14 matching lines...) Expand all
101 "suggestion_answer_unittest.cc", 118 "suggestion_answer_unittest.cc",
102 ] 119 ]
103 120
104 deps = [ 121 deps = [
105 ":omnibox", 122 ":omnibox",
106 ":test_support", 123 ":test_support",
107 "//testing/gmock", 124 "//testing/gmock",
108 "//testing/gtest", 125 "//testing/gtest",
109 ] 126 ]
110 } 127 }
OLDNEW
« no previous file with comments | « components/omnibox.gypi ('k') | components/omnibox/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698