Don't preload rarely seen large images
[chromium-blink-merge.git] / components / user_manager / BUILD.gn
blob37f28935e11761c943e2462a6aabaa053b30c607
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("user_manager") {
6   sources = [
7     "empty_user_info.cc",
8     "empty_user_info.h",
9     "user_id.h",
10     "user_info.cc",
11     "user_info.h",
12     "user_info_impl.cc",
13     "user_info_impl.h",
14     "user_manager_export.h",
15   ]
17   deps = [
18     "//base",
19     "//skia",
20     "//ui/gfx",
21   ]
23   defines = [ "USER_MANAGER_IMPLEMENTATION" ]
25   if (is_chromeos) {
26     sources += [
27       "remove_user_delegate.h",
28       "user.cc",
29       "user.h",
30       "user_image/default_user_images.cc",
31       "user_image/default_user_images.h",
32       "user_image/user_image.cc",
33       "user_image/user_image.h",
34       "user_manager.cc",
35       "user_manager.h",
36       "user_manager_base.cc",
37       "user_manager_base.h",
38       "user_type.h",
39     ]
40     deps += [
41       "//base:prefs",
42       "//chromeos:chromeos",
43       "//components/session_manager/core",
44       "//google_apis",
45       "//ui/base",
46       "//ui/chromeos/resources",
47       "//ui/chromeos/strings",
48       "//url",
49     ]
50   }
53 source_set("test_support") {
54   testonly = true
55   if (is_chromeos) {
56     sources = [
57       "fake_user_manager.cc",
58       "fake_user_manager.h",
59     ]
60     deps = [
61       ":user_manager",
62       "//base",
63       "//skia",
64     ]
65   }