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/user_info.h', | 9 'user_manager/user_info.h', |
10 'user_manager/user_manager_export.h', | 10 'user_manager/user_manager_export.h', |
11 ], | 11 ], |
12 # Chrome OS user_manager sources. | 12 # Chrome OS user_manager sources. |
13 'user_manager_chromeos_sources': [ | 13 'user_manager_chromeos_sources': [ |
| 14 'user_manager/avatar/user_image.cc', |
| 15 'user_manager/avatar/user_image.h', |
14 'user_manager/user_type.h', | 16 'user_manager/user_type.h', |
15 ], | 17 ], |
16 }, | 18 }, |
17 'targets': [{ | 19 'targets': [{ |
18 'target_name': 'user_manager', | 20 'target_name': 'user_manager', |
19 'type': '<(component)', | 21 'type': '<(component)', |
20 'dependencies': [ | 22 'dependencies': [ |
21 '../base/base.gyp:base', | 23 '../base/base.gyp:base', |
| 24 '../skia/skia.gyp:skia', |
| 25 '../ui/gfx/gfx.gyp:gfx', |
22 ], | 26 ], |
23 'defines': [ | 27 'defines': [ |
24 'USER_MANAGER_IMPLEMENTATION', | 28 'USER_MANAGER_IMPLEMENTATION', |
25 ], | 29 ], |
26 'include_dirs': [ | 30 'include_dirs': [ |
27 '..', | 31 '..', |
28 ], | 32 ], |
29 'sources': [ '<@(user_manager_shared_sources)' ], | 33 'sources': [ '<@(user_manager_shared_sources)' ], |
30 'conditions': [ | 34 'conditions': [ |
31 ['chromeos == 1', { | 35 ['chromeos == 1', { |
32 'sources': [ '<@(user_manager_chromeos_sources)' ], | 36 'sources': [ '<@(user_manager_chromeos_sources)' ], |
33 }], | 37 }], |
34 ], | 38 ], |
35 }], | 39 }], |
36 } | 40 } |
OLD | NEW |