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

Side by Side Diff: apps/BUILD.gn

Issue 2479593006: Move enable extensions define to a build flag. (Closed)
Patch Set: Merge Created 4 years, 1 month 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') | build/config/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 import("//extensions/features/features.gni")
7 8
8 assert(!is_android && !is_ios) 9 assert(!is_android && !is_ios)
9 10
10 static_library("apps") { 11 static_library("apps") {
11 sources = [] 12 sources = []
12 13
13 if (enable_extensions) { 14 if (enable_extensions) {
14 sources += [ 15 sources += [
15 "app_lifetime_monitor.cc", 16 "app_lifetime_monitor.cc",
16 "app_lifetime_monitor.h", 17 "app_lifetime_monitor.h",
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 "//ui/views", 64 "//ui/views",
64 ] 65 ]
65 if (enable_extensions) { 66 if (enable_extensions) {
66 deps += [ "//extensions/browser" ] 67 deps += [ "//extensions/browser" ]
67 } 68 }
68 } 69 }
69 70
70 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 71 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
71 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 72 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
72 } 73 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | build/config/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698