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

Unified Diff: components/search_provider_logos/BUILD.gn

Issue 1311623002: Add more components_unittests to GN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/proxy_config/BUILD.gn ('k') | components/storage_monitor/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/search_provider_logos/BUILD.gn
diff --git a/components/search_provider_logos/BUILD.gn b/components/search_provider_logos/BUILD.gn
index aa38308a43b7f42a4976156f3f61a6bc620c5f8b..2465112d9549718ba407e63cf8a6a58fe40b0494 100644
--- a/components/search_provider_logos/BUILD.gn
+++ b/components/search_provider_logos/BUILD.gn
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-static_library("search_provider_logos") {
+source_set("search_provider_logos") {
sources = [
"google_logo_api.cc",
"google_logo_api.h",
@@ -14,11 +14,27 @@ static_library("search_provider_logos") {
"logo_tracker.h",
]
- deps = [
+ public_deps = [
"//base",
- "//net",
"//skia",
+ ]
+
+ deps = [
+ "//net",
"//ui/gfx",
"//url",
]
}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "logo_cache_unittest.cc",
+ "logo_tracker_unittest.cc",
+ ]
+ deps = [
+ ":search_provider_logos",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+}
« no previous file with comments | « components/proxy_config/BUILD.gn ('k') | components/storage_monitor/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698