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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 "//components/web_modal", | 43 "//components/web_modal", |
44 "//skia", | 44 "//skia", |
45 ] | 45 ] |
46 | 46 |
47 if (is_chromeos) { | 47 if (is_chromeos) { |
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 -= [ "//chrome/browser/extensions" ] | 53 deps -= [ |
| 54 "//chrome/browser/extensions", |
| 55 "//chrome/common/extensions/api:api", |
| 56 ] |
54 sources = [] | 57 sources = [] |
55 } | 58 } |
56 | 59 |
57 if (toolkit_views) { | 60 if (toolkit_views) { |
58 sources += [ | 61 sources += [ |
59 "ui/views/app_window_frame_view.cc", | 62 "ui/views/app_window_frame_view.cc", |
60 "ui/views/app_window_frame_view.h", | 63 "ui/views/app_window_frame_view.h", |
61 ] | 64 ] |
62 deps += [ | 65 deps += [ |
63 "//ui/strings", | 66 "//ui/strings", |
64 "//ui/views", | 67 "//ui/views", |
65 ] | 68 ] |
66 } | 69 } |
67 | 70 |
68 if (is_win) { | 71 if (is_win) { |
69 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 72 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
70 cflags = [ "/wd4267" ] | 73 cflags = [ "/wd4267" ] |
71 } | 74 } |
72 } | 75 } |
OLD | NEW |