summaryrefslogtreecommitdiffstats
path: root/components/user_manager/BUILD.gn
blob: 6703ea15178568c0d245a3294134b1858825c638 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

component("user_manager") {
  sources = [
    "empty_user_info.cc",
    "empty_user_info.h",
    "user_info.cc",
    "user_info.h",
    "user_info_impl.cc",
    "user_info_impl.h",
    "user_manager_export.h",
  ]

  deps = [
    "//base",
    "//components/session_manager/core",
    "//skia",
    "//ui/gfx",
    "//url",
  ]

  defines = [
    "USER_MANAGER_IMPLEMENTATION",
  ]

  if (is_chromeos) {
    sources += [
      "remove_user_delegate.h",
      "user_image/default_user_images.cc",
      "user_image/default_user_images.h",
      "user_image/user_image.cc",
      "user_image/user_image.h",
      "user.cc",
      "user.h",
      "user_manager.cc",
      "user_manager.h",
      "user_manager_base.cc",
      "user_manager_base.h",
      "user_type.h",
    ]
    deps += [ "//ui/chromeos/strings" ]
  }
}