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
3 # found in the LICENSE file.
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_id.h',
12 'user_manager/user_info.cc',
13 'user_manager/user_info.h',
14 'user_manager/user_info_impl.cc',
15 'user_manager/user_info_impl.h',
16 'user_manager/user_manager_export.h',
18 # Chrome OS user_manager sources.
19 'user_manager_chromeos_sources': [
20 'user_manager/remove_user_delegate.h',
21 'user_manager/user.cc',
22 'user_manager/user.h',
23 'user_manager/user_image/default_user_images.cc',
24 'user_manager/user_image/default_user_images.h',
25 'user_manager/user_image/user_image.cc',
26 'user_manager/user_image/user_image.h',
27 'user_manager/user_manager.cc',
28 'user_manager/user_manager.h',
29 'user_manager/user_manager_base.cc',
30 'user_manager/user_manager_base.h',
31 'user_manager/user_type.h',
35 'target_name': 'user_manager',
36 'type': '<(component)',
38 '<(DEPTH)/base/base.gyp:base',
39 '<(DEPTH)/skia/skia.gyp:skia',
40 '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
43 'USER_MANAGER_IMPLEMENTATION',
47 '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources',
48 '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_strings',
50 'sources': [ '<@(user_manager_shared_sources)' ],
54 '<(DEPTH)/base/base.gyp:base_prefs',
55 '<(DEPTH)/chromeos/chromeos.gyp:chromeos',
56 '<(DEPTH)/components/components.gyp:session_manager_component',
57 '<(DEPTH)/google_apis/google_apis.gyp:google_apis',
58 '<(DEPTH)/ui/base/ui_base.gyp:ui_base',
59 '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources',
60 '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_strings',
61 '<(DEPTH)/url/url.gyp:url_lib',
63 'sources': [ '<@(user_manager_chromeos_sources)' ],
68 # GN version: //components/user_manager:test_support
69 'target_name': 'user_manager_test_support',
70 'type': 'static_library',
74 '<(DEPTH)/base/base.gyp:base',
75 '<(DEPTH)/base/base.gyp:test_support_base',
76 '<(DEPTH)/testing/gmock.gyp:gmock',
77 '<(DEPTH)/testing/gtest.gyp:gtest',
81 'user_manager/fake_user_manager.cc',
82 'user_manager/fake_user_manager.h',