[Telemetry] Add comment to page_set_smoke_test. Noop change
[chromium-blink-merge.git] / components / user_manager.gypi
blobdac32c3b406197475db9eab823dcac5b0ad734af
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   },
66   {
67     # GN version: //components/user_manager:test_support
68     'target_name': 'user_manager_test_support',
69     'type': 'static_library',
70     'conditions': [
71       ['chromeos == 1', {
72         'dependencies': [
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',
77           'user_manager',
78         ],
79         'sources': [
80           'user_manager/fake_user_manager.cc',
81           'user_manager/fake_user_manager.h',
82         ],
83       }],
84      ]
85   },],