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_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',
17 # Chrome OS user_manager sources.
18 'user_manager_chromeos_sources': [
19 'user_manager/remove_user_delegate.h',
20 'user_manager/user_image/default_user_images.cc',
21 'user_manager/user_image/default_user_images.h',
22 'user_manager/user_image/user_image.cc',
23 'user_manager/user_image/user_image.h',
24 'user_manager/user.cc',
25 'user_manager/user.h',
26 'user_manager/user_manager.cc',
27 'user_manager/user_manager.h',
28 'user_manager/user_manager_base.cc',
29 'user_manager/user_manager_base.h',
30 'user_manager/user_type.h',
34 'target_name': 'user_manager',
35 'type': '<(component)',
37 '<(DEPTH)/base/base.gyp:base',
38 '<(DEPTH)/skia/skia.gyp:skia',
39 '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
42 'USER_MANAGER_IMPLEMENTATION',
46 '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources',
47 '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_strings',
49 'sources': [ '<@(user_manager_shared_sources)' ],
53 '<(DEPTH)/base/base.gyp:base_prefs',
54 '<(DEPTH)/chromeos/chromeos.gyp:chromeos',
55 '<(DEPTH)/components/components.gyp:session_manager_component',
56 '<(DEPTH)/google_apis/google_apis.gyp:google_apis',
57 '<(DEPTH)/ui/base/ui_base.gyp:ui_base',
58 '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources',
59 '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_strings',
60 '<(DEPTH)/url/url.gyp:url_lib',
62 'sources': [ '<@(user_manager_chromeos_sources)' ],
67 # GN version: //components/user_manager:test_support
68 'target_name': 'user_manager_test_support',
69 'type': 'static_library',
73 '<(DEPTH)/base/base.gyp:base',
74 '<(DEPTH)/base/base.gyp:test_support_base',
75 '<(DEPTH)/testing/gmock.gyp:gmock',
76 '<(DEPTH)/testing/gtest.gyp:gtest',
80 'user_manager/fake_user_manager.cc',
81 'user_manager/fake_user_manager.h',