Don't preload rarely seen large images
[chromium-blink-merge.git] / components / wallpaper.gypi
blob5f34b34478f88a68d4bad0e81e33a20a0e75d1dc
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   'targets': [
6     {
7       'target_name': 'wallpaper',
8       'type': '<(component)',
9       'dependencies': [
10         '../base/base.gyp:base',
11         '../base/base.gyp:base_prefs',
12         '../content/content.gyp:content',
13         '../skia/skia.gyp:skia',
14         '../ui/gfx/gfx.gyp:gfx',
15         '../ui/gfx/gfx.gyp:gfx_geometry',
16         '../url/url.gyp:url_lib',
17       ],
18       'include_dirs': [
19         '..',
20       ],
21       'defines':[
22         'WALLPAPER_IMPLEMENTATION',
23       ],
24       'sources': [
25         'wallpaper/wallpaper_layout.h',
26         'wallpaper/wallpaper_resizer.cc',
27         'wallpaper/wallpaper_resizer.h',
28         'wallpaper/wallpaper_resizer_observer.h',
29       ],
30       'conditions': [
31         ['chromeos==1', {
32           'dependencies': [
33             '../chromeos/chromeos.gyp:chromeos',
34             '../components/components.gyp:user_manager',
35           ],
36           'sources': [
37             'wallpaper/wallpaper_manager_base.cc',
38             'wallpaper/wallpaper_manager_base.h',
39           ],
40         }],
41       ],
42     },
43   ],