| Index: components/user_manager.gypi
|
| diff --git a/components/user_manager.gypi b/components/user_manager.gypi
|
| index f10edf20894aad918bc45a25c0c1b47c903e27c3..7b22938a94d62fa8770df7af1d58bb5f7bf83f92 100644
|
| --- a/components/user_manager.gypi
|
| +++ b/components/user_manager.gypi
|
| @@ -3,6 +3,24 @@
|
| # found in the LICENSE file.
|
|
|
| {
|
| + 'variables': {
|
| + # Cross-platform user_manager sources.
|
| + 'user_manager_shared_sources': [
|
| + 'user_manager/empty_user_info.cc',
|
| + 'user_manager/empty_user_info.h',
|
| + 'user_manager/user_info.h',
|
| + 'user_manager/user_info.cc',
|
| + 'user_manager/user_info_impl.cc',
|
| + 'user_manager/user_info_impl.h',
|
| + 'user_manager/user_manager_export.h',
|
| + ],
|
| + # Chrome OS user_manager sources.
|
| + 'user_manager_chromeos_sources': [
|
| + 'user_manager/user_image/user_image.cc',
|
| + 'user_manager/user_image/user_image.h',
|
| + 'user_manager/user_type.h',
|
| + ],
|
| + },
|
| 'targets': [{
|
| 'target_name': 'user_manager',
|
| 'type': '<(component)',
|
| @@ -18,11 +36,11 @@
|
| 'include_dirs': [
|
| '..',
|
| ],
|
| - 'sources': [
|
| - 'user_manager/user_image/user_image.cc',
|
| - 'user_manager/user_image/user_image.h',
|
| - 'user_manager/user_type.h',
|
| - 'user_manager/user_manager_export.h',
|
| + 'sources': [ '<@(user_manager_shared_sources)' ],
|
| + 'conditions': [
|
| + ['chromeos == 1', {
|
| + 'sources': [ '<@(user_manager_chromeos_sources)' ],
|
| + }],
|
| ],
|
| }],
|
| }
|
|
|