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 import("//extensions/features/features.gni") | 7 import("//extensions/features/features.gni") |
8 | 8 |
9 assert(!is_android && !is_ios) | 9 assert(!is_android && !is_ios) |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... | |
30 "saved_files_service.h", | 30 "saved_files_service.h", |
31 "saved_files_service_factory.cc", | 31 "saved_files_service_factory.cc", |
32 "saved_files_service_factory.h", | 32 "saved_files_service_factory.h", |
33 "switches.cc", | 33 "switches.cc", |
34 "switches.h", | 34 "switches.h", |
35 ] | 35 ] |
36 | 36 |
37 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 37 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
38 | 38 |
39 deps = [ | 39 deps = [ |
40 "//chrome/app/theme:theme_resources", | |
41 "//components/keyed_service/content", | 40 "//components/keyed_service/content", |
42 "//content/public/browser", | 41 "//content/public/browser", |
43 "//content/public/common", | 42 "//content/public/common", |
43 "//extensions/browser", | |
hugoh_UTC2
2017/05/22 15:38:25
Somewhere here, I believe this dependency causes a
Nico
2017/05/22 17:51:41
Sure, just send me a patch.
| |
44 "//extensions/common", | 44 "//extensions/common", |
45 "//extensions/common/api", | 45 "//extensions/common/api", |
46 "//skia", | |
47 ] | 46 ] |
48 | 47 |
49 if (is_chromeos) { | 48 if (is_chromeos) { |
50 deps += [ "//components/user_manager" ] | 49 deps += [ "//components/user_manager" ] |
51 } | 50 } |
52 } | 51 } |
53 | 52 |
54 if (toolkit_views) { | |
55 sources += [ | |
56 "ui/views/app_window_frame_view.cc", | |
57 "ui/views/app_window_frame_view.h", | |
58 ] | |
59 deps += [ | |
60 "//cc/paint", | |
61 "//ui/strings", | |
62 "//ui/views", | |
63 ] | |
64 if (enable_extensions) { | |
65 deps += [ "//extensions/browser" ] | |
66 } | |
67 } | |
68 | |
69 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 53 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
70 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 54 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
71 } | 55 } |
72 | 56 |
73 static_library("test_support") { | 57 static_library("test_support") { |
74 testonly = true | 58 testonly = true |
75 sources = [ | 59 sources = [ |
76 "test/app_window_waiter.cc", | 60 "test/app_window_waiter.cc", |
77 "test/app_window_waiter.h", | 61 "test/app_window_waiter.h", |
78 ] | 62 ] |
79 | 63 |
80 public_deps = [ | 64 public_deps = [ |
81 "//content/public/browser", | 65 "//content/public/browser", |
82 ] | 66 ] |
83 } | 67 } |
OLD | NEW |