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 ] | 22 ] |
23 | 23 |
24 deps = [ | 24 deps = [ |
25 # TODO(GYP) bug 376846 remove this. This should be inherited from //net but | 25 # TODO(GYP) bug 376846 remove this. This should be inherited from //net but |
26 # those don't cross component boundaries. | 26 # those don't cross component boundaries. |
27 "//crypto:platform", | |
28 "//base/allocator", | 27 "//base/allocator", |
29 "//cc", | 28 "//cc", |
30 "//cc/blink", | 29 "//cc/blink", |
31 "//components/scheduler:scheduler", | 30 "//components/scheduler:scheduler", |
32 "//components/url_formatter", | 31 "//components/url_formatter", |
33 "//components/webusb", | 32 "//components/webusb", |
34 "//content:resources", | 33 "//content:resources", |
35 "//content/common:mojo_bindings", | 34 "//content/common:mojo_bindings", |
36 "//content/public/child:child_sources", | 35 "//content/public/child:child_sources", |
37 "//content/public/common:common_sources", | 36 "//content/public/common:common_sources", |
38 "//content/public/common:mojo_bindings", | 37 "//content/public/common:mojo_bindings", |
| 38 "//crypto:platform", |
39 "//device/battery:mojo_bindings", | 39 "//device/battery:mojo_bindings", |
40 "//device/vibration:mojo_bindings", | 40 "//device/vibration:mojo_bindings", |
41 "//gin", | 41 "//gin", |
42 "//gpu", | 42 "//gpu", |
43 "//gpu/command_buffer/client:gles2_interface", | 43 "//gpu/command_buffer/client:gles2_interface", |
44 "//jingle:jingle_glue", | 44 "//jingle:jingle_glue", |
45 "//media", | 45 "//media", |
46 "//media/blink", | 46 "//media/blink", |
47 "//mojo/application/public/interfaces", | 47 "//mojo/application/public/interfaces", |
48 "//mojo/environment:chromium", | |
49 "//mojo/common:url_type_converters", | 48 "//mojo/common:url_type_converters", |
50 "//mojo/converters/geometry", | 49 "//mojo/converters/geometry", |
| 50 "//mojo/environment:chromium", |
51 "//mojo/public/cpp/bindings", | 51 "//mojo/public/cpp/bindings", |
52 "//mojo/public/js", | 52 "//mojo/public/js", |
53 "//net", | 53 "//net", |
54 "//skia", | 54 "//skia", |
55 "//skia/public", | 55 "//skia/public", |
56 "//storage/common", | 56 "//storage/common", |
| 57 "//third_party/WebKit/public:blink", |
57 "//third_party/icu", | 58 "//third_party/icu", |
58 "//third_party/libjingle", | 59 "//third_party/libjingle", |
59 "//third_party/libyuv", | 60 "//third_party/libyuv", |
60 "//third_party/mojo/src/mojo/edk/js", | 61 "//third_party/mojo/src/mojo/edk/js", |
61 "//third_party/npapi", | 62 "//third_party/npapi", |
62 "//third_party/WebKit/public:blink", | |
63 "//third_party/widevine/cdm:version_h", | 63 "//third_party/widevine/cdm:version_h", |
64 "//ui/accessibility", | 64 "//ui/accessibility", |
65 "//ui/base", | 65 "//ui/base", |
| 66 "//ui/events:dom_keycode_converter", |
66 "//ui/events:events_base", | 67 "//ui/events:events_base", |
67 "//ui/events:dom_keycode_converter", | |
68 "//ui/gl", | 68 "//ui/gl", |
69 "//ui/native_theme", | 69 "//ui/native_theme", |
70 "//ui/surface", | 70 "//ui/surface", |
71 "//v8", | 71 "//v8", |
72 ] | 72 ] |
73 | 73 |
74 if (is_mac) { | 74 if (is_mac) { |
75 sources -= [ | 75 sources -= [ |
76 "webscrollbarbehavior_impl_gtkoraura.cc", | 76 "webscrollbarbehavior_impl_gtkoraura.cc", |
77 "webscrollbarbehavior_impl_gtkoraura.h", | 77 "webscrollbarbehavior_impl_gtkoraura.h", |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 | 220 |
221 if (enable_webvr) { | 221 if (enable_webvr) { |
222 sources += [ | 222 sources += [ |
223 "vr/vr_dispatcher.cc", | 223 "vr/vr_dispatcher.cc", |
224 "vr/vr_dispatcher.h", | 224 "vr/vr_dispatcher.h", |
225 "vr/vr_type_converters.cc", | 225 "vr/vr_type_converters.cc", |
226 "vr/vr_type_converters.h", | 226 "vr/vr_type_converters.h", |
227 ] | 227 ] |
228 } | 228 } |
229 } | 229 } |
OLD | NEW |