athena: Allow dragging the window-title down to switch between windows.
[chromium-blink-merge.git] / components / user_manager.gypi
blobf65fb3a613623791ca28c7c13ebb65634e52b6be
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/user_image/default_user_images.cc',
20       'user_manager/user_image/default_user_images.h',
21       'user_manager/user_image/user_image.cc',
22       'user_manager/user_image/user_image.h',
23       'user_manager/user.cc',
24       'user_manager/user.h',
25       'user_manager/user_type.h',
26     ],
27   },
28   'targets': [{
29     'target_name': 'user_manager',
30     'type': '<(component)',
31     'dependencies': [
32       '<(DEPTH)/base/base.gyp:base',
33       '<(DEPTH)/skia/skia.gyp:skia',
34       '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
35     ],
36     'defines': [
37       'USER_MANAGER_IMPLEMENTATION',
38     ],
39     'include_dirs': [
40       '<(DEPTH)',
41       '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources',
42       '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_strings',
43     ],
44     'sources': [ '<@(user_manager_shared_sources)' ],
45     'conditions': [
46       ['chromeos == 1', {
47         'dependencies': [
48           '<(DEPTH)/google_apis/google_apis.gyp:google_apis',
49           '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources',
50           '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_strings',
51           '<(DEPTH)/url/url.gyp:url_lib',
52         ],
53         'sources': [ '<@(user_manager_chromeos_sources)' ],
54       }],
55     ],
56   }],