OLD | NEW |
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 deps = [ | 15 deps = [ |
16 "//base", | 16 "//base", |
| 17 "//base:prefs", |
| 18 "//content", |
17 "//skia", | 19 "//skia", |
18 "//ui/gfx", | 20 "//ui/gfx", |
| 21 "//url", |
19 ] | 22 ] |
20 if (is_chromeos) { | 23 if (is_chromeos) { |
21 sources += [ | 24 sources += [ |
22 "wallpaper_manager_base.cc", | 25 "wallpaper_manager_base.cc", |
23 "wallpaper_manager_base.h", | 26 "wallpaper_manager_base.h", |
24 ] | 27 ] |
25 deps += [ | 28 deps += [ |
26 "//chromeos", | 29 "//chromeos", |
27 "//components/user_manager", | 30 "//components/user_manager", |
28 "//content/public/browser", | 31 "//content/public/browser", |
29 ] | 32 ] |
30 } | 33 } |
31 } | 34 } |
OLD | NEW |