| 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 public_deps = [ | 15 public_deps = [ |
| 16 "//base", | 16 "//base", |
| 17 "//skia", | 17 "//skia", |
| 18 ] | 18 ] |
| 19 deps = [ | 19 deps = [ |
| 20 "//base:prefs", | 20 "//components/prefs", |
| 21 "//ui/gfx", | 21 "//ui/gfx", |
| 22 "//ui/gfx/geometry", | 22 "//ui/gfx/geometry", |
| 23 "//url", | 23 "//url", |
| 24 ] | 24 ] |
| 25 if (is_chromeos) { | 25 if (is_chromeos) { |
| 26 sources += [ | 26 sources += [ |
| 27 "wallpaper_manager_base.cc", | 27 "wallpaper_manager_base.cc", |
| 28 "wallpaper_manager_base.h", | 28 "wallpaper_manager_base.h", |
| 29 ] | 29 ] |
| 30 deps += [ | 30 deps += [ |
| 31 "//components/signin/core/account_id", | 31 "//components/signin/core/account_id", |
| 32 "//components/user_manager", | 32 "//components/user_manager", |
| 33 ] | 33 ] |
| 34 } | 34 } |
| 35 } | 35 } |
| 36 | 36 |
| 37 source_set("unit_tests") { | 37 source_set("unit_tests") { |
| 38 testonly = true | 38 testonly = true |
| 39 sources = [ | 39 sources = [ |
| 40 "wallpaper_resizer_unittest.cc", | 40 "wallpaper_resizer_unittest.cc", |
| 41 ] | 41 ] |
| 42 | 42 |
| 43 deps = [ | 43 deps = [ |
| 44 ":wallpaper", | 44 ":wallpaper", |
| 45 "//base/test:test_support", | 45 "//base/test:test_support", |
| 46 "//testing/gtest", | 46 "//testing/gtest", |
| 47 "//ui/gfx", | 47 "//ui/gfx", |
| 48 ] | 48 ] |
| 49 } | 49 } |
| OLD | NEW |