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("//content/renderer/renderer.gni") | 7 import("//content/renderer/renderer.gni") |
8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
9 | 9 |
10 source_set("renderer") { | 10 source_set("renderer") { |
11 # Only the public target should depend on this. All other targets (even | 11 # Only the public target should depend on this. All other targets (even |
12 # internal content ones) should depend on the public one. | 12 # internal content ones) should depend on the public one. |
13 visibility = [ "//content/public/renderer:renderer_sources" ] | 13 visibility = [ "//content/public/renderer:renderer_sources" ] |
14 | 14 |
15 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources, | 15 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources, |
16 ".", | 16 ".", |
17 "//content") | 17 "//content") |
18 | 18 |
19 configs += [ | 19 configs += [ |
20 "//content:content_implementation", | 20 "//content:content_implementation", |
21 "//build/config/compiler:no_size_t_to_int_warning", | 21 "//build/config/compiler:no_size_t_to_int_warning", |
| 22 "//content/public/common:mojo_shell_client", |
22 ] | 23 ] |
23 | 24 |
24 deps = [ | 25 deps = [ |
25 # TODO(GYP) bug 376846 remove this. This should be inherited from //net but | 26 # TODO(GYP) bug 376846 remove this. This should be inherited from //net but |
26 # those don't cross component boundaries. | 27 # those don't cross component boundaries. |
27 "//base/allocator", | 28 "//base/allocator", |
28 "//cc", | 29 "//cc", |
29 "//cc/blink", | 30 "//cc/blink", |
30 "//cc/proto", | 31 "//cc/proto", |
31 "//components/scheduler:scheduler", | 32 "//components/scheduler:scheduler", |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 "//ui/accessibility", | 67 "//ui/accessibility", |
67 "//ui/base", | 68 "//ui/base", |
68 "//ui/events:dom_keycode_converter", | 69 "//ui/events:dom_keycode_converter", |
69 "//ui/events:events_base", | 70 "//ui/events:events_base", |
70 "//ui/gl", | 71 "//ui/gl", |
71 "//ui/native_theme", | 72 "//ui/native_theme", |
72 "//ui/surface", | 73 "//ui/surface", |
73 "//v8", | 74 "//v8", |
74 ] | 75 ] |
75 | 76 |
| 77 if (use_aura) { |
| 78 sources += [ |
| 79 "render_widget_mus.cc", |
| 80 "render_widget_mus.h", |
| 81 ] |
| 82 } |
| 83 |
76 if (is_mac) { | 84 if (is_mac) { |
77 sources -= [ | 85 sources -= [ |
78 "webscrollbarbehavior_impl_gtkoraura.cc", | 86 "webscrollbarbehavior_impl_gtkoraura.cc", |
79 "webscrollbarbehavior_impl_gtkoraura.h", | 87 "webscrollbarbehavior_impl_gtkoraura.h", |
80 ] | 88 ] |
81 sources += [ | 89 sources += [ |
82 "external_popup_menu.cc", | 90 "external_popup_menu.cc", |
83 "external_popup_menu.h", | 91 "external_popup_menu.h", |
84 ] | 92 ] |
85 } | 93 } |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 | 231 |
224 if (enable_webvr) { | 232 if (enable_webvr) { |
225 sources += [ | 233 sources += [ |
226 "vr/vr_dispatcher.cc", | 234 "vr/vr_dispatcher.cc", |
227 "vr/vr_dispatcher.h", | 235 "vr/vr_dispatcher.h", |
228 "vr/vr_type_converters.cc", | 236 "vr/vr_type_converters.cc", |
229 "vr/vr_type_converters.h", | 237 "vr/vr_type_converters.h", |
230 ] | 238 ] |
231 } | 239 } |
232 } | 240 } |
OLD | NEW |