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