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

Side by Side Diff: apps/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 | « BUILD.gn ('k') | ash/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") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 7
8 static_library("apps") { 8 static_library("apps") {
9 sources = [ 9 sources = [
10 "app_lifetime_monitor.cc", 10 "app_lifetime_monitor.cc",
(...skipping 26 matching lines...) Expand all
37 configs += [ "//build/config/compiler:wexit_time_destructors" ] 37 configs += [ "//build/config/compiler:wexit_time_destructors" ]
38 38
39 deps = [ 39 deps = [
40 "//chrome/app/theme:theme_resources", 40 "//chrome/app/theme:theme_resources",
41 "//chrome/browser/extensions", 41 "//chrome/browser/extensions",
42 "//chrome/common/extensions/api:api", 42 "//chrome/common/extensions/api:api",
43 "//components/web_modal", 43 "//components/web_modal",
44 "//skia", 44 "//skia",
45 ] 45 ]
46 46
47 if (is_chromeos) { 47 if (use_cros_fe) {
48 #deps += [ "browser_chromeos" ] TODO(GYP) 48 #deps += [ "browser_chromeos" ] TODO(GYP)
49 } 49 }
50 50
51 if (!enable_extensions) { 51 if (!enable_extensions) {
52 # When extensions are disabled, only the sizer file below is included. 52 # When extensions are disabled, only the sizer file below is included.
53 deps -= [ 53 deps -= [
54 "//chrome/browser/extensions", 54 "//chrome/browser/extensions",
55 "//chrome/common/extensions/api:api", 55 "//chrome/common/extensions/api:api",
56 ] 56 ]
57 sources = [] 57 sources = []
58 } 58 }
59 59
60 if (toolkit_views) { 60 if (toolkit_views) {
61 sources += [ 61 sources += [
62 "ui/views/app_window_frame_view.cc", 62 "ui/views/app_window_frame_view.cc",
63 "ui/views/app_window_frame_view.h", 63 "ui/views/app_window_frame_view.h",
64 ] 64 ]
65 deps += [ 65 deps += [
66 "//ui/strings", 66 "//ui/strings",
67 "//ui/views", 67 "//ui/views",
68 ] 68 ]
69 if (enable_extensions) { 69 if (enable_extensions) {
70 deps += [ "//extensions/browser" ] 70 deps += [ "//extensions/browser" ]
71 } 71 }
72 } 72 }
73 73
74 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 74 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
75 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 75 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
76 } 76 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | ash/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698