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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 # Cross-platform user_manager sources. | 7 # Cross-platform user_manager sources. |
8 'user_manager_shared_sources': [ | 8 'user_manager_shared_sources': [ |
9 'user_manager/empty_user_info.cc', | 9 'user_manager/empty_user_info.cc', |
10 'user_manager/empty_user_info.h', | 10 'user_manager/empty_user_info.h', |
11 'user_manager/user_info.h', | 11 'user_manager/user_info.h', |
12 'user_manager/user_info.cc', | 12 'user_manager/user_info.cc', |
13 'user_manager/user_info_impl.cc', | 13 'user_manager/user_info_impl.cc', |
14 'user_manager/user_info_impl.h', | 14 'user_manager/user_info_impl.h', |
15 'user_manager/user_manager_export.h', | 15 'user_manager/user_manager_export.h', |
16 ], | 16 ], |
17 # Chrome OS user_manager sources. | 17 # Chrome OS user_manager sources. |
18 'user_manager_chromeos_sources': [ | 18 'user_manager_chromeos_sources': [ |
| 19 'user_manager/remove_user_delegate.h', |
19 'user_manager/user_image/default_user_images.cc', | 20 'user_manager/user_image/default_user_images.cc', |
20 'user_manager/user_image/default_user_images.h', | 21 'user_manager/user_image/default_user_images.h', |
21 'user_manager/user_image/user_image.cc', | 22 'user_manager/user_image/user_image.cc', |
22 'user_manager/user_image/user_image.h', | 23 'user_manager/user_image/user_image.h', |
23 'user_manager/user.cc', | 24 'user_manager/user.cc', |
24 'user_manager/user.h', | 25 'user_manager/user.h', |
| 26 'user_manager/user_manager.cc', |
| 27 'user_manager/user_manager.h', |
| 28 'user_manager/user_manager_base.cc', |
| 29 'user_manager/user_manager_base.h', |
25 'user_manager/user_type.h', | 30 'user_manager/user_type.h', |
26 ], | 31 ], |
27 }, | 32 }, |
28 'targets': [{ | 33 'targets': [{ |
29 'target_name': 'user_manager', | 34 'target_name': 'user_manager', |
30 'type': '<(component)', | 35 'type': '<(component)', |
31 'dependencies': [ | 36 'dependencies': [ |
32 '<(DEPTH)/base/base.gyp:base', | 37 '<(DEPTH)/base/base.gyp:base', |
33 '<(DEPTH)/skia/skia.gyp:skia', | 38 '<(DEPTH)/skia/skia.gyp:skia', |
34 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', | 39 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', |
35 ], | 40 ], |
36 'defines': [ | 41 'defines': [ |
37 'USER_MANAGER_IMPLEMENTATION', | 42 'USER_MANAGER_IMPLEMENTATION', |
38 ], | 43 ], |
39 'include_dirs': [ | 44 'include_dirs': [ |
40 '<(DEPTH)', | 45 '<(DEPTH)', |
41 '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources', | 46 '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources', |
42 '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_strings', | 47 '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_strings', |
43 ], | 48 ], |
44 'sources': [ '<@(user_manager_shared_sources)' ], | 49 'sources': [ '<@(user_manager_shared_sources)' ], |
45 'conditions': [ | 50 'conditions': [ |
46 ['chromeos == 1', { | 51 ['chromeos == 1', { |
47 'dependencies': [ | 52 'dependencies': [ |
| 53 '<(DEPTH)/base/base.gyp:base_prefs', |
| 54 '<(DEPTH)/components/components.gyp:session_manager_component', |
48 '<(DEPTH)/google_apis/google_apis.gyp:google_apis', | 55 '<(DEPTH)/google_apis/google_apis.gyp:google_apis', |
49 '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources', | 56 '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources', |
50 '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_strings', | 57 '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_strings', |
51 '<(DEPTH)/url/url.gyp:url_lib', | 58 '<(DEPTH)/url/url.gyp:url_lib', |
52 ], | 59 ], |
53 'sources': [ '<@(user_manager_chromeos_sources)' ], | 60 'sources': [ '<@(user_manager_chromeos_sources)' ], |
54 }], | 61 }], |
55 ], | 62 ], |
56 }], | 63 }], |
57 } | 64 } |
OLD | NEW |