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

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

Issue 2922543002: [NTP::Push] Add Content Suggestions GCM App Handler (Closed)
Patch Set: Updates to the prefs. Created 3 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
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 "breaking_news/content_suggestions_gcm_app_handler.cc",
19 "breaking_news/content_suggestions_gcm_app_handler.h",
18 "breaking_news/subscription_json_request.cc", 20 "breaking_news/subscription_json_request.cc",
19 "breaking_news/subscription_json_request.h", 21 "breaking_news/subscription_json_request.h",
20 "breaking_news/subscription_manager.cc", 22 "breaking_news/subscription_manager.cc",
21 "breaking_news/subscription_manager.h", 23 "breaking_news/subscription_manager.h",
22 "callbacks.h", 24 "callbacks.h",
23 "category.cc", 25 "category.cc",
24 "category.h", 26 "category.h",
25 "category_info.cc", 27 "category_info.cc",
26 "category_info.h", 28 "category_info.h",
27 "category_rankers/category_ranker.h", 29 "category_rankers/category_ranker.h",
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 "content_suggestions_service.cc", 140 "content_suggestions_service.cc",
139 ] 141 ]
140 } 142 }
141 } 143 }
142 144
143 source_set("unit_tests") { 145 source_set("unit_tests") {
144 testonly = true 146 testonly = true
145 sources = [ 147 sources = [
146 "bookmarks/bookmark_last_visit_utils_unittest.cc", 148 "bookmarks/bookmark_last_visit_utils_unittest.cc",
147 "bookmarks/bookmark_suggestions_provider_unittest.cc", 149 "bookmarks/bookmark_suggestions_provider_unittest.cc",
150 "breaking_news/content_suggestions_gcm_app_handler_unittest.cc",
sfiera 2017/06/07 11:34:38 Not in the CL yet?
mamir 2017/06/07 14:29:17 Yes, not sure how to test. Removing for now.
148 "breaking_news/subscription_json_request_unittest.cc", 151 "breaking_news/subscription_json_request_unittest.cc",
149 "breaking_news/subscription_manager_unittest.cc", 152 "breaking_news/subscription_manager_unittest.cc",
150 "category_rankers/click_based_category_ranker_unittest.cc", 153 "category_rankers/click_based_category_ranker_unittest.cc",
151 "category_rankers/constant_category_ranker_unittest.cc", 154 "category_rankers/constant_category_ranker_unittest.cc",
152 "category_unittest.cc", 155 "category_unittest.cc",
153 "content_suggestions_metrics_unittest.cc", 156 "content_suggestions_metrics_unittest.cc",
154 "content_suggestions_service_unittest.cc", 157 "content_suggestions_service_unittest.cc",
155 "offline_pages/recent_tab_suggestions_provider_unittest.cc", 158 "offline_pages/recent_tab_suggestions_provider_unittest.cc",
156 "physical_web_pages/physical_web_page_suggestions_provider_unittest.cc", 159 "physical_web_pages/physical_web_page_suggestions_provider_unittest.cc",
157 "reading_list/reading_list_suggestions_provider_unittest.cc", 160 "reading_list/reading_list_suggestions_provider_unittest.cc",
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 225
223 deps = [ 226 deps = [
224 ":ntp_snippets", 227 ":ntp_snippets",
225 "//base", 228 "//base",
226 "//components/offline_pages/core", 229 "//components/offline_pages/core",
227 "//components/offline_pages/core:test_support", 230 "//components/offline_pages/core:test_support",
228 "//testing/gmock", 231 "//testing/gmock",
229 "//testing/gtest", 232 "//testing/gtest",
230 ] 233 ]
231 } 234 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698