Add an OWNERS file for //chrome/browser/chromeos/login/easy_unlock
[chromium-blink-merge.git] / components / user_manager.gypi
blob03aba1edc6badb30811b94ffb349f3f80e1e9209
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_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',
16     ],
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',
31     ],
32   },
33   'targets': [{
34     'target_name': 'user_manager',
35     'type': '<(component)',
36     'dependencies': [
37       '<(DEPTH)/base/base.gyp:base',
38       '<(DEPTH)/skia/skia.gyp:skia',
39       '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
40     ],
41     'defines': [
42       'USER_MANAGER_IMPLEMENTATION',
43     ],
44     'include_dirs': [
45       '<(DEPTH)',
46       '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources',
47       '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_strings',
48     ],
49     'sources': [ '<@(user_manager_shared_sources)' ],
50     'conditions': [
51       ['chromeos == 1', {
52         'dependencies': [
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',
61         ],
62         'sources': [ '<@(user_manager_chromeos_sources)' ],
63       }],
64     ],
65   }],