Move action_runner.py out of actions folder prior to moving actions to internal.
[chromium-blink-merge.git] / components / user_manager / BUILD.gn
blob7a5143e88017fa3311c3fd0e35fd3e909655cf94
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.
5 component("user_manager") {
6   sources = [
7     "empty_user_info.cc",
8     "empty_user_info.h",
9     "user_id.h",
10     "user_info.cc",
11     "user_info.h",
12     "user_info_impl.cc",
13     "user_info_impl.h",
14     "user_manager_export.h",
15   ]
17   deps = [
18     "//base",
19     "//skia",
20     "//ui/gfx",
21   ]
23   defines = [ "USER_MANAGER_IMPLEMENTATION" ]
25   if (is_chromeos) {
26     sources += [
27       "remove_user_delegate.h",
28       "user.cc",
29       "user.h",
30       "user_image/default_user_images.cc",
31       "user_image/default_user_images.h",
32       "user_image/user_image.cc",
33       "user_image/user_image.h",
34       "user_manager.cc",
35       "user_manager.h",
36       "user_manager_base.cc",
37       "user_manager_base.h",
38       "user_type.h",
39     ]
40     deps += [
41       "//chromeos:chromeos",
42       "//components/session_manager/core",
43       "//google_apis",
44       "//ui/base",
45       "//ui/chromeos/resources",
46       "//ui/chromeos/strings",
47       "//url",
48     ]
49   }
52 source_set("test_support") {
53   testonly = true
54   if (is_chromeos) {
55     sources = [
56       "fake_user_manager.cc",
57       "fake_user_manager.h",
58     ]
59     deps = [
60       ":user_manager",
61       "//base",
62       "//skia",
63     ]
64   }