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

Side by Side Diff: apps/BUILD.gn

Issue 1160773004: extensions: Check |enable_extensions| flag before depending on extension code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | apps/apps.gypi » ('j') | chrome/browser/ui/BUILD.gn » ('J')
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 "//extensions/browser",
67 "//ui/strings", 66 "//ui/strings",
68 "//ui/views", 67 "//ui/views",
69 ] 68 ]
69 if (enable_extensions) {
70 deps += [ "//extensions/browser" ]
71 }
70 } 72 }
71 73
72 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 74 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
73 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 75 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
74 } 76 }
OLDNEW
« no previous file with comments | « no previous file | apps/apps.gypi » ('j') | chrome/browser/ui/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698