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_info.cc", | 9 "user_info.cc", |
10 "user_info.h", | 10 "user_info.h", |
11 "user_info_impl.cc", | 11 "user_info_impl.cc", |
12 "user_info_impl.h", | 12 "user_info_impl.h", |
13 "user_manager_export.h", | 13 "user_manager_export.h", |
14 ] | 14 ] |
15 | 15 |
| 16 deps = [ |
| 17 "//base", |
| 18 "//skia", |
| 19 "//ui/gfx", |
| 20 "//url", |
| 21 ] |
| 22 |
| 23 defines = [ |
| 24 "USER_MANAGER_IMPLEMENTATION", |
| 25 ] |
| 26 |
16 if (is_chromeos) { | 27 if (is_chromeos) { |
17 sources += [ | 28 sources += [ |
18 "remove_user_delegate.h", | 29 "remove_user_delegate.h", |
19 "user_image/default_user_images.cc", | 30 "user_image/default_user_images.cc", |
20 "user_image/default_user_images.h", | 31 "user_image/default_user_images.h", |
21 "user_image/user_image.cc", | 32 "user_image/user_image.cc", |
22 "user_image/user_image.h", | 33 "user_image/user_image.h", |
23 "user.cc", | 34 "user.cc", |
24 "user.h", | 35 "user.h", |
25 "user_manager.cc", | 36 "user_manager.cc", |
26 "user_manager.h", | 37 "user_manager.h", |
27 "user_manager_base.cc", | 38 "user_manager_base.cc", |
28 "user_manager_base.h", | 39 "user_manager_base.h", |
29 "user_type.h", | 40 "user_type.h", |
30 ] | 41 ] |
| 42 deps += [ "//ui/chromeos/strings" ] |
31 } | 43 } |
32 | |
33 defines = [ | |
34 "USER_MANAGER_IMPLEMENTATION", | |
35 ] | |
36 | |
37 deps = [ | |
38 "//base", | |
39 "//skia", | |
40 "//ui/gfx", | |
41 "//url", | |
42 ] | |
43 } | 44 } |
OLD | NEW |