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

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

Issue 2360263002: [NTPSnippets] Show all downloads on the NTP (3/3): Downloads provider. (Closed)
Patch Set: the freshest rebase. Created 4 years, 1 month 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 }
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 ] 109 ]
110 } 110 }
111 } 111 }
112 112
113 source_set("unit_tests") { 113 source_set("unit_tests") {
114 testonly = true 114 testonly = true
115 sources = [ 115 sources = [
116 "bookmarks/bookmark_last_visit_utils_unittest.cc", 116 "bookmarks/bookmark_last_visit_utils_unittest.cc",
117 "category_factory_unittest.cc", 117 "category_factory_unittest.cc",
118 "content_suggestions_service_unittest.cc", 118 "content_suggestions_service_unittest.cc",
119 "mock_content_suggestions_provider_observer.cc",
120 "mock_content_suggestions_provider_observer.h",
121 "offline_pages/recent_tab_suggestions_provider_unittest.cc", 119 "offline_pages/recent_tab_suggestions_provider_unittest.cc",
122 "physical_web_pages/physical_web_page_suggestions_provider_unittest.cc", 120 "physical_web_pages/physical_web_page_suggestions_provider_unittest.cc",
123 "remote/ntp_snippet_unittest.cc", 121 "remote/ntp_snippet_unittest.cc",
124 "remote/ntp_snippets_database_unittest.cc", 122 "remote/ntp_snippets_database_unittest.cc",
125 "remote/ntp_snippets_fetcher_unittest.cc", 123 "remote/ntp_snippets_fetcher_unittest.cc",
126 "remote/ntp_snippets_service_unittest.cc", 124 "remote/ntp_snippets_service_unittest.cc",
127 "remote/ntp_snippets_status_service_unittest.cc", 125 "remote/ntp_snippets_status_service_unittest.cc",
128 "remote/ntp_snippets_test_utils.cc", 126 "remote/ntp_snippets_test_utils.cc",
129 "remote/ntp_snippets_test_utils.h", 127 "remote/ntp_snippets_test_utils.h",
130 "remote/request_throttler_unittest.cc", 128 "remote/request_throttler_unittest.cc",
131 "sessions/foreign_sessions_suggestions_provider_unittest.cc", 129 "sessions/foreign_sessions_suggestions_provider_unittest.cc",
132 ] 130 ]
133 131
134 deps = [ 132 deps = [
135 ":ntp_snippets", 133 ":ntp_snippets",
134 ":test_support",
136 "//base", 135 "//base",
137 "//base/test:test_support", 136 "//base/test:test_support",
138 "//components/bookmarks/browser", 137 "//components/bookmarks/browser",
139 "//components/bookmarks/test", 138 "//components/bookmarks/test",
140 "//components/image_fetcher", 139 "//components/image_fetcher",
141 "//components/leveldb_proto:test_support", 140 "//components/leveldb_proto:test_support",
142 "//components/ntp_snippets/remote/proto", 141 "//components/ntp_snippets/remote/proto",
143 "//components/offline_pages", 142 "//components/offline_pages",
144 "//components/offline_pages:test_support", 143 "//components/offline_pages:test_support",
145 "//components/sessions", 144 "//components/sessions",
146 "//components/sessions:test_support", 145 "//components/sessions:test_support",
147 "//components/signin/core/browser:test_support", 146 "//components/signin/core/browser:test_support",
148 "//components/signin/core/common", 147 "//components/signin/core/common",
149 "//components/strings", 148 "//components/strings",
150 "//components/sync:test_support_driver", 149 "//components/sync:test_support_driver",
151 "//components/sync_sessions", 150 "//components/sync_sessions",
152 "//components/variations", 151 "//components/variations",
153 "//net:test_support", 152 "//net:test_support",
154 "//testing/gtest", 153 "//testing/gtest",
155 "//third_party/icu/", 154 "//third_party/icu/",
156 "//ui/gfx:test_support", 155 "//ui/gfx:test_support",
157 ] 156 ]
158 } 157 }
158
159 source_set("test_support") {
160 testonly = true
161 sources = [
162 "mock_content_suggestions_provider_observer.cc",
163 "mock_content_suggestions_provider_observer.h",
164 "offline_pages/offline_pages_test_utils.cc",
165 "offline_pages/offline_pages_test_utils.h",
166 ]
167
168 deps = [
169 ":ntp_snippets",
170 "//base",
171 "//components/offline_pages",
172 "//components/offline_pages:test_support",
173 "//testing/gmock",
174 ]
175 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698