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

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

Issue 2585263002: [NTP::SectionOrder] First version of click based category ranker. (Closed)
Patch Set: tschumann@ & bauerb@ comments. Created 3 years, 12 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
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("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/config.gni") 8 import("//build/config/android/config.gni")
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
11 11
12 static_library("ntp_snippets") { 12 static_library("ntp_snippets") {
13 sources = [ 13 sources = [
14 "bookmarks/bookmark_last_visit_utils.cc", 14 "bookmarks/bookmark_last_visit_utils.cc",
15 "bookmarks/bookmark_last_visit_utils.h", 15 "bookmarks/bookmark_last_visit_utils.h",
16 "bookmarks/bookmark_suggestions_provider.cc", 16 "bookmarks/bookmark_suggestions_provider.cc",
17 "bookmarks/bookmark_suggestions_provider.h", 17 "bookmarks/bookmark_suggestions_provider.h",
18 "callbacks.h", 18 "callbacks.h",
19 "category.cc", 19 "category.cc",
20 "category.h", 20 "category.h",
21 "category_info.cc", 21 "category_info.cc",
22 "category_info.h", 22 "category_info.h",
23 "category_rankers/category_ranker.h", 23 "category_rankers/category_ranker.h",
24 "category_rankers/click_based_category_ranker.cc",
25 "category_rankers/click_based_category_ranker.h",
24 "category_rankers/constant_category_ranker.cc", 26 "category_rankers/constant_category_ranker.cc",
25 "category_rankers/constant_category_ranker.h", 27 "category_rankers/constant_category_ranker.h",
26 "category_status.cc", 28 "category_status.cc",
27 "category_status.h", 29 "category_status.h",
28 "content_suggestion.cc", 30 "content_suggestion.cc",
29 "content_suggestion.h", 31 "content_suggestion.h",
30 "content_suggestions_metrics.cc", 32 "content_suggestions_metrics.cc",
31 "content_suggestions_metrics.h", 33 "content_suggestions_metrics.h",
32 "content_suggestions_provider.cc", 34 "content_suggestions_provider.cc",
33 "content_suggestions_provider.h", 35 "content_suggestions_provider.h",
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 "category_info.h", 121 "category_info.h",
120 "category_status.h", 122 "category_status.h",
121 ] 123 ]
122 } 124 }
123 } 125 }
124 126
125 source_set("unit_tests") { 127 source_set("unit_tests") {
126 testonly = true 128 testonly = true
127 sources = [ 129 sources = [
128 "bookmarks/bookmark_last_visit_utils_unittest.cc", 130 "bookmarks/bookmark_last_visit_utils_unittest.cc",
131 "category_rankers/click_based_category_ranker_unittest.cc",
129 "category_rankers/constant_category_ranker_unittest.cc", 132 "category_rankers/constant_category_ranker_unittest.cc",
130 "category_unittest.cc", 133 "category_unittest.cc",
131 "content_suggestions_service_unittest.cc", 134 "content_suggestions_service_unittest.cc",
132 "offline_pages/recent_tab_suggestions_provider_unittest.cc", 135 "offline_pages/recent_tab_suggestions_provider_unittest.cc",
133 "physical_web_pages/physical_web_page_suggestions_provider_unittest.cc", 136 "physical_web_pages/physical_web_page_suggestions_provider_unittest.cc",
134 "remote/ntp_snippet_unittest.cc", 137 "remote/ntp_snippet_unittest.cc",
135 "remote/ntp_snippets_fetcher_unittest.cc", 138 "remote/ntp_snippets_fetcher_unittest.cc",
136 "remote/ntp_snippets_json_request_unittest.cc", 139 "remote/ntp_snippets_json_request_unittest.cc",
137 "remote/remote_suggestions_database_unittest.cc", 140 "remote/remote_suggestions_database_unittest.cc",
138 "remote/remote_suggestions_provider_impl_unittest.cc", 141 "remote/remote_suggestions_provider_impl_unittest.cc",
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 ] 190 ]
188 191
189 deps = [ 192 deps = [
190 ":ntp_snippets", 193 ":ntp_snippets",
191 "//base", 194 "//base",
192 "//components/offline_pages/core", 195 "//components/offline_pages/core",
193 "//components/offline_pages/core:test_support", 196 "//components/offline_pages/core:test_support",
194 "//testing/gmock", 197 "//testing/gmock",
195 ] 198 ]
196 } 199 }
OLDNEW
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | components/ntp_snippets/category_rankers/click_based_category_ranker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698