Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(341)

Side by Side Diff: components/user_manager/BUILD.gn

Issue 1291703008: Rename is_chromeos in chrome/src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: retry Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/storage_monitor/BUILD.gn ('k') | components/wallpaper/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni")
6
5 component("user_manager") { 7 component("user_manager") {
6 sources = [ 8 sources = [
7 "empty_user_info.cc", 9 "empty_user_info.cc",
8 "empty_user_info.h", 10 "empty_user_info.h",
9 "user_id.h", 11 "user_id.h",
10 "user_info.cc", 12 "user_info.cc",
11 "user_info.h", 13 "user_info.h",
12 "user_info_impl.cc", 14 "user_info_impl.cc",
13 "user_info_impl.h", 15 "user_info_impl.h",
14 "user_manager_export.h", 16 "user_manager_export.h",
15 ] 17 ]
16 18
17 deps = [ 19 deps = [
18 "//base", 20 "//base",
19 "//skia", 21 "//skia",
20 "//ui/gfx", 22 "//ui/gfx",
21 ] 23 ]
22 24
23 defines = [ "USER_MANAGER_IMPLEMENTATION" ] 25 defines = [ "USER_MANAGER_IMPLEMENTATION" ]
24 26
25 if (is_chromeos) { 27 if (use_cros_fe) {
26 sources += [ 28 sources += [
27 "remove_user_delegate.h", 29 "remove_user_delegate.h",
28 "user.cc", 30 "user.cc",
29 "user.h", 31 "user.h",
30 "user_image/default_user_images.cc", 32 "user_image/default_user_images.cc",
31 "user_image/default_user_images.h", 33 "user_image/default_user_images.h",
32 "user_image/user_image.cc", 34 "user_image/user_image.cc",
33 "user_image/user_image.h", 35 "user_image/user_image.h",
34 "user_manager.cc", 36 "user_manager.cc",
35 "user_manager.h", 37 "user_manager.h",
36 "user_manager_base.cc", 38 "user_manager_base.cc",
37 "user_manager_base.h", 39 "user_manager_base.h",
38 "user_type.h", 40 "user_type.h",
39 ] 41 ]
40 deps += [ 42 deps += [
41 "//base:prefs", 43 "//base:prefs",
42 "//chromeos:chromeos", 44 "//chromeos:chromeos",
43 "//components/session_manager/core", 45 "//components/session_manager/core",
44 "//google_apis", 46 "//google_apis",
45 "//ui/base", 47 "//ui/base",
46 "//ui/chromeos/resources", 48 "//ui/chromeos/resources",
47 "//ui/chromeos/strings", 49 "//ui/chromeos/strings",
48 "//url", 50 "//url",
49 ] 51 ]
50 } 52 }
51 } 53 }
52 54
53 source_set("test_support") { 55 source_set("test_support") {
54 testonly = true 56 testonly = true
55 if (is_chromeos) { 57 if (use_cros_fe) {
56 sources = [ 58 sources = [
57 "fake_user_manager.cc", 59 "fake_user_manager.cc",
58 "fake_user_manager.h", 60 "fake_user_manager.h",
59 ] 61 ]
60 deps = [ 62 deps = [
61 ":user_manager", 63 ":user_manager",
62 "//base", 64 "//base",
63 "//skia", 65 "//skia",
64 ] 66 ]
65 } 67 }
66 } 68 }
OLDNEW
« no previous file with comments | « components/storage_monitor/BUILD.gn ('k') | components/wallpaper/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698