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

Side by Side 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 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 component("wallpaper") { 5 component("wallpaper") {
6 sources = [ 6 sources = [
7 "wallpaper_layout.h", 7 "wallpaper_layout.h",
8 "wallpaper_resizer.cc", 8 "wallpaper_resizer.cc",
9 "wallpaper_resizer.h", 9 "wallpaper_resizer.h",
10 "wallpaper_resizer_observer.h", 10 "wallpaper_resizer_observer.h",
11 ] 11 ]
12 12
13 defines = [ "WALLPAPER_IMPLEMENTATION" ] 13 defines = [ "WALLPAPER_IMPLEMENTATION" ]
14 14
15 public_deps = [
16 "//base",
17 "//skia",
18 ]
15 deps = [ 19 deps = [
16 "//base",
17 "//base:prefs", 20 "//base:prefs",
18 "//content", 21 "//content",
19 "//skia",
20 "//ui/gfx", 22 "//ui/gfx",
21 "//ui/gfx/geometry", 23 "//ui/gfx/geometry",
22 "//url", 24 "//url",
23 ] 25 ]
24 if (is_chromeos) { 26 if (is_chromeos) {
25 sources += [ 27 sources += [
26 "wallpaper_manager_base.cc", 28 "wallpaper_manager_base.cc",
27 "wallpaper_manager_base.h", 29 "wallpaper_manager_base.h",
28 ] 30 ]
29 public_deps = [ 31 public_deps += [ "//third_party/icu" ]
30 "//third_party/icu",
31 ]
32 deps += [ 32 deps += [
33 "//chromeos", 33 "//chromeos",
34 "//components/user_manager", 34 "//components/user_manager",
35 "//content/public/browser", 35 "//content/public/browser",
36 ] 36 ]
37 } 37 }
38 } 38 }
39
40 source_set("unit_tests") {
41 testonly = true
42 sources = [
43 "wallpaper_resizer_unittest.cc",
44 ]
45
46 deps = [
47 ":wallpaper",
48 "//content/test:test_support",
49 "//testing/gtest",
50 "//ui/gfx",
51 ]
52 }
OLDNEW
« 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