WiFiServiceImpl (Windows): Fixed wrong authentication type with WEP-PSK.
[chromium-blink-merge.git] / components / user_manager.gypi
blobd48b38f0946e683f67c53d63ec53290bbcae11d2
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.
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_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',
17     ],
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',
32     ],
33   },
34   'targets': [{
35     'target_name': 'user_manager',
36     'type': '<(component)',
37     'dependencies': [
38       '<(DEPTH)/base/base.gyp:base',
39       '<(DEPTH)/skia/skia.gyp:skia',
40       '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
41     ],
42     'defines': [
43       'USER_MANAGER_IMPLEMENTATION',
44     ],
45     'include_dirs': [
46       '<(DEPTH)',
47       '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources',
48       '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_strings',
49     ],
50     'sources': [ '<@(user_manager_shared_sources)' ],
51     'conditions': [
52       ['chromeos == 1', {
53         'dependencies': [
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',
62         ],
63         'sources': [ '<@(user_manager_chromeos_sources)' ],
64       }],
65     ],
66   },
67   {
68     # GN version: //components/user_manager:test_support
69     'target_name': 'user_manager_test_support',
70     'type': 'static_library',
71     'conditions': [
72       ['chromeos == 1', {
73         'dependencies': [
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',
78           'user_manager',
79         ],
80         'sources': [
81           'user_manager/fake_user_manager.cc',
82           'user_manager/fake_user_manager.h',
83         ],
84       }],
85      ]
86   },],