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

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

Issue 2918513002: [NTP::Push] Add the classes for sending a breaking news subscription request (Closed)
Patch Set: bauerb@ fhorschig@ comments. 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/subscription_json_request.cc",
19 "breaking_news/subscription_json_request.h",
18 "callbacks.h", 20 "callbacks.h",
19 "category.cc", 21 "category.cc",
20 "category.h", 22 "category.h",
21 "category_info.cc", 23 "category_info.cc",
22 "category_info.h", 24 "category_info.h",
23 "category_rankers/category_ranker.h", 25 "category_rankers/category_ranker.h",
24 "category_rankers/click_based_category_ranker.cc", 26 "category_rankers/click_based_category_ranker.cc",
25 "category_rankers/click_based_category_ranker.h", 27 "category_rankers/click_based_category_ranker.h",
26 "category_rankers/constant_category_ranker.cc", 28 "category_rankers/constant_category_ranker.cc",
27 "category_rankers/constant_category_ranker.h", 29 "category_rankers/constant_category_ranker.h",
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 "content_suggestions_service.cc", 136 "content_suggestions_service.cc",
135 ] 137 ]
136 } 138 }
137 } 139 }
138 140
139 source_set("unit_tests") { 141 source_set("unit_tests") {
140 testonly = true 142 testonly = true
141 sources = [ 143 sources = [
142 "bookmarks/bookmark_last_visit_utils_unittest.cc", 144 "bookmarks/bookmark_last_visit_utils_unittest.cc",
143 "bookmarks/bookmark_suggestions_provider_unittest.cc", 145 "bookmarks/bookmark_suggestions_provider_unittest.cc",
146 "breaking_news/subscription_json_request_unittest.cc",
144 "category_rankers/click_based_category_ranker_unittest.cc", 147 "category_rankers/click_based_category_ranker_unittest.cc",
145 "category_rankers/constant_category_ranker_unittest.cc", 148 "category_rankers/constant_category_ranker_unittest.cc",
146 "category_unittest.cc", 149 "category_unittest.cc",
147 "content_suggestions_metrics_unittest.cc", 150 "content_suggestions_metrics_unittest.cc",
148 "content_suggestions_service_unittest.cc", 151 "content_suggestions_service_unittest.cc",
149 "offline_pages/recent_tab_suggestions_provider_unittest.cc", 152 "offline_pages/recent_tab_suggestions_provider_unittest.cc",
150 "physical_web_pages/physical_web_page_suggestions_provider_unittest.cc", 153 "physical_web_pages/physical_web_page_suggestions_provider_unittest.cc",
151 "reading_list/reading_list_suggestions_provider_unittest.cc", 154 "reading_list/reading_list_suggestions_provider_unittest.cc",
152 "remote/json_request_unittest.cc", 155 "remote/json_request_unittest.cc",
153 "remote/remote_suggestion_unittest.cc", 156 "remote/remote_suggestion_unittest.cc",
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 219
217 deps = [ 220 deps = [
218 ":ntp_snippets", 221 ":ntp_snippets",
219 "//base", 222 "//base",
220 "//components/offline_pages/core", 223 "//components/offline_pages/core",
221 "//components/offline_pages/core:test_support", 224 "//components/offline_pages/core:test_support",
222 "//testing/gmock", 225 "//testing/gmock",
223 "//testing/gtest", 226 "//testing/gtest",
224 ] 227 ]
225 } 228 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698