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", | |
8 "empty_user_info.h", | |
9 "user_info.cc", | 7 "user_info.cc", |
10 "user_info.h", | 8 "user_info.h", |
11 "user_info_impl.cc", | 9 "user_info_impl.cc", |
12 "user_info_impl.h", | 10 "user_info_impl.h", |
13 "user_manager_export.h", | 11 "user_manager_export.h", |
| 12 "user_names.cc", |
| 13 "user_names.h", |
14 ] | 14 ] |
15 | 15 |
16 deps = [ | 16 deps = [ |
17 "//base", | 17 "//base", |
18 "//components/signin/core/account_id", | 18 "//components/signin/core/account_id", |
| 19 "//google_apis", |
19 "//skia", | 20 "//skia", |
20 "//ui/gfx", | 21 "//ui/gfx", |
21 ] | 22 ] |
22 | 23 |
23 defines = [ "USER_MANAGER_IMPLEMENTATION" ] | 24 defines = [ "USER_MANAGER_IMPLEMENTATION" ] |
24 | 25 |
25 if (is_chromeos) { | 26 if (is_chromeos) { |
26 sources += [ | 27 sources += [ |
27 "known_user.cc", | 28 "known_user.cc", |
28 "known_user.h", | 29 "known_user.h", |
29 "remove_user_delegate.h", | 30 "remove_user_delegate.h", |
30 "user.cc", | 31 "user.cc", |
31 "user.h", | 32 "user.h", |
32 "user_image/user_image.cc", | 33 "user_image/user_image.cc", |
33 "user_image/user_image.h", | 34 "user_image/user_image.h", |
34 "user_manager.cc", | 35 "user_manager.cc", |
35 "user_manager.h", | 36 "user_manager.h", |
36 "user_manager_base.cc", | 37 "user_manager_base.cc", |
37 "user_manager_base.h", | 38 "user_manager_base.h", |
38 "user_names.cc", | |
39 "user_names.h", | |
40 "user_type.h", | 39 "user_type.h", |
41 ] | 40 ] |
42 deps += [ | 41 deps += [ |
43 "//components/prefs", | 42 "//components/prefs", |
44 "//google_apis", | |
45 "//url", | 43 "//url", |
46 ] | 44 ] |
47 } | 45 } |
48 } | 46 } |
49 | 47 |
50 if (is_chromeos) { | 48 if (is_chromeos) { |
51 source_set("test_support") { | 49 source_set("test_support") { |
52 testonly = true | 50 testonly = true |
53 sources = [ | 51 sources = [ |
54 "fake_user_manager.cc", | 52 "fake_user_manager.cc", |
(...skipping 16 matching lines...) Expand all Loading... |
71 ] | 69 ] |
72 deps = [ | 70 deps = [ |
73 ":user_manager", | 71 ":user_manager", |
74 "//components/signin/core/account_id", | 72 "//components/signin/core/account_id", |
75 "//skia", | 73 "//skia", |
76 "//testing/gtest", | 74 "//testing/gtest", |
77 "//ui/gfx", | 75 "//ui/gfx", |
78 ] | 76 ] |
79 } | 77 } |
80 } | 78 } |
OLD | NEW |