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

Unified Diff: components/wallpaper/BUILD.gn

Issue 1307763004: Sync remaining components_unittests with GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gn check 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
Index: components/wallpaper/BUILD.gn
diff --git a/components/wallpaper/BUILD.gn b/components/wallpaper/BUILD.gn
index 4c28343299e183047e255bccb3e7f53b1501453b..7aafc4d1e254762a80b11a2ed5c6451064f6d225 100644
--- a/components/wallpaper/BUILD.gn
+++ b/components/wallpaper/BUILD.gn
@@ -12,11 +12,13 @@ component("wallpaper") {
defines = [ "WALLPAPER_IMPLEMENTATION" ]
- deps = [
+ public_deps = [
"//base",
+ "//skia",
+ ]
+ deps = [
"//base:prefs",
"//content",
- "//skia",
"//ui/gfx",
"//ui/gfx/geometry",
"//url",
@@ -26,9 +28,7 @@ component("wallpaper") {
"wallpaper_manager_base.cc",
"wallpaper_manager_base.h",
]
- public_deps = [
- "//third_party/icu",
- ]
+ public_deps += [ "//third_party/icu" ]
deps += [
"//chromeos",
"//components/user_manager",
@@ -36,3 +36,17 @@ component("wallpaper") {
]
}
}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "wallpaper_resizer_unittest.cc",
+ ]
+
+ deps = [
+ ":wallpaper",
+ "//content/test:test_support",
+ "//testing/gtest",
+ "//ui/gfx",
+ ]
+}
« components/autofill/content/common/BUILD.gn ('K') | « components/update_client/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698