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