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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 "ui/apps_client.h", | 42 "ui/apps_client.h", |
43 "ui/web_contents_sizer.h", | 43 "ui/web_contents_sizer.h", |
44 ] | 44 ] |
45 | 45 |
46 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 46 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
47 | 47 |
48 deps = [ | 48 deps = [ |
49 "//chrome/app/theme:theme_resources", | 49 "//chrome/app/theme:theme_resources", |
50 "//chrome/browser/extensions", | 50 "//chrome/browser/extensions", |
51 "//chrome/common/extensions/api:api", | 51 "//chrome/common/extensions/api:api", |
| 52 "//components/web_modal", |
52 "//skia", | 53 "//skia", |
53 ] | 54 ] |
54 | 55 |
55 if (is_chromeos) { | 56 if (is_chromeos) { |
56 #deps += [ "browser_chromeos" ] TODO(GYP) | 57 #deps += [ "browser_chromeos" ] TODO(GYP) |
57 } | 58 } |
58 | 59 |
59 if (!enable_extensions) { | 60 if (!enable_extensions) { |
60 # When extensions are disabled, only the sizer file below is included. | 61 # When extensions are disabled, only the sizer file below is included. |
61 deps -= [ "//chrome/browser/extensions" ] | 62 deps -= [ "//chrome/browser/extensions" ] |
(...skipping 19 matching lines...) Expand all Loading... |
81 "//ui/strings", | 82 "//ui/strings", |
82 "//ui/views", | 83 "//ui/views", |
83 ] | 84 ] |
84 } | 85 } |
85 | 86 |
86 if (is_win) { | 87 if (is_win) { |
87 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 88 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
88 cflags = [ "/wd4267" ] | 89 cflags = [ "/wd4267" ] |
89 } | 90 } |
90 } | 91 } |
OLD | NEW |