OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |