cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / components / wallpaper / BUILD.gn
blob7aafc4d1e254762a80b11a2ed5c6451064f6d225
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
3 # found in the LICENSE file.
5 component("wallpaper") {
6   sources = [
7     "wallpaper_layout.h",
8     "wallpaper_resizer.cc",
9     "wallpaper_resizer.h",
10     "wallpaper_resizer_observer.h",
11   ]
13   defines = [ "WALLPAPER_IMPLEMENTATION" ]
15   public_deps = [
16     "//base",
17     "//skia",
18   ]
19   deps = [
20     "//base:prefs",
21     "//content",
22     "//ui/gfx",
23     "//ui/gfx/geometry",
24     "//url",
25   ]
26   if (is_chromeos) {
27     sources += [
28       "wallpaper_manager_base.cc",
29       "wallpaper_manager_base.h",
30     ]
31     public_deps += [ "//third_party/icu" ]
32     deps += [
33       "//chromeos",
34       "//components/user_manager",
35       "//content/public/browser",
36     ]
37   }
40 source_set("unit_tests") {
41   testonly = true
42   sources = [
43     "wallpaper_resizer_unittest.cc",
44   ]
46   deps = [
47     ":wallpaper",
48     "//content/test:test_support",
49     "//testing/gtest",
50     "//ui/gfx",
51   ]