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