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

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: Marc's comments + tests + some corrections. Created 4 years, 2 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 }
(...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/offline_pages",
143 "//components/offline_pages:test_support",
144 "//components/sessions", 141 "//components/sessions",
145 "//components/sessions:test_support", 142 "//components/sessions:test_support",
146 "//components/signin/core/browser:test_support", 143 "//components/signin/core/browser:test_support",
147 "//components/signin/core/common", 144 "//components/signin/core/common",
148 "//components/strings", 145 "//components/strings",
149 "//components/sync:test_support_sync_driver", 146 "//components/sync:test_support_sync_driver",
150 "//components/sync_sessions", 147 "//components/sync_sessions",
151 "//components/variations", 148 "//components/variations",
152 "//net:test_support", 149 "//net:test_support",
153 "//testing/gtest", 150 "//testing/gtest",
154 "//third_party/icu/", 151 "//third_party/icu/",
155 "//ui/gfx:test_support", 152 "//ui/gfx:test_support",
156 ] 153 ]
157 } 154 }
155
156 source_set("test_support") {
157 testonly = true
158 sources = [
159 "mock_content_suggestions_provider_observer.cc",
160 "mock_content_suggestions_provider_observer.h",
161 "offline_pages/offline_pages_test_utils.cc",
162 "offline_pages/offline_pages_test_utils.h",
163 ]
164
165 deps = [
166 "//components/offline_pages",
167 "//components/offline_pages:test_support",
168 "//testing/gmock",
169 ]
170 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698