Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(605)

Unified Diff: components/user_manager.gypi

Issue 379803004: Move UserInfo to user_manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/components.gyp ('k') | components/user_manager/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)' ],
+ }],
],
}],
}
« no previous file with comments | « components/components.gyp ('k') | components/user_manager/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698