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

Side by Side Diff: components/wallpaper/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/user_manager/BUILD.gn ('k') | content/browser/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("wallpaper") { 7 component("wallpaper") {
6 sources = [ 8 sources = [
7 "wallpaper_layout.h", 9 "wallpaper_layout.h",
8 "wallpaper_resizer.cc", 10 "wallpaper_resizer.cc",
9 "wallpaper_resizer.h", 11 "wallpaper_resizer.h",
10 "wallpaper_resizer_observer.h", 12 "wallpaper_resizer_observer.h",
11 ] 13 ]
12 14
13 defines = [ "WALLPAPER_IMPLEMENTATION" ] 15 defines = [ "WALLPAPER_IMPLEMENTATION" ]
14 16
15 deps = [ 17 deps = [
16 "//base", 18 "//base",
17 "//base:prefs", 19 "//base:prefs",
18 "//content", 20 "//content",
19 "//skia", 21 "//skia",
20 "//ui/gfx", 22 "//ui/gfx",
21 "//ui/gfx/geometry", 23 "//ui/gfx/geometry",
22 "//url", 24 "//url",
23 ] 25 ]
24 if (is_chromeos) { 26 if (use_cros_fe) {
25 sources += [ 27 sources += [
26 "wallpaper_manager_base.cc", 28 "wallpaper_manager_base.cc",
27 "wallpaper_manager_base.h", 29 "wallpaper_manager_base.h",
28 ] 30 ]
29 public_deps = [ 31 public_deps = [
30 "//third_party/icu", 32 "//third_party/icu",
31 ] 33 ]
32 deps += [ 34 deps += [
33 "//chromeos", 35 "//chromeos",
34 "//components/user_manager", 36 "//components/user_manager",
35 "//content/public/browser", 37 "//content/public/browser",
36 ] 38 ]
37 } 39 }
38 } 40 }
OLDNEW
« no previous file with comments | « components/user_manager/BUILD.gn ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698