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 "//cc/proto", | 30 "//cc/proto", |
32 "//components/scheduler:scheduler", | 31 "//components/scheduler:scheduler", |
33 "//components/startup_metric_utils/common", | 32 "//components/startup_metric_utils/common", |
34 "//components/url_formatter", | 33 "//components/url_formatter", |
35 "//components/webusb", | 34 "//components/webusb", |
36 "//content:resources", | 35 "//content:resources", |
37 "//content/common:mojo_bindings", | 36 "//content/common:mojo_bindings", |
38 "//content/public/child:child_sources", | 37 "//content/public/child:child_sources", |
39 "//content/public/common:common_sources", | 38 "//content/public/common:common_sources", |
40 "//content/public/common:mojo_bindings", | 39 "//content/public/common:mojo_bindings", |
| 40 "//crypto:platform", |
41 "//device/battery:mojo_bindings", | 41 "//device/battery:mojo_bindings", |
42 "//device/vibration:mojo_bindings", | 42 "//device/vibration:mojo_bindings", |
43 "//gin", | 43 "//gin", |
44 "//gpu", | 44 "//gpu", |
45 "//gpu/command_buffer/client:gles2_interface", | 45 "//gpu/command_buffer/client:gles2_interface", |
46 "//jingle:jingle_glue", | 46 "//jingle:jingle_glue", |
47 "//media", | 47 "//media", |
48 "//media/blink", | 48 "//media/blink", |
49 "//mojo/application/public/interfaces", | 49 "//mojo/application/public/interfaces", |
50 "//mojo/environment:chromium", | |
51 "//mojo/common:url_type_converters", | 50 "//mojo/common:url_type_converters", |
52 "//mojo/converters/geometry", | 51 "//mojo/converters/geometry", |
| 52 "//mojo/environment:chromium", |
53 "//mojo/public/cpp/bindings", | 53 "//mojo/public/cpp/bindings", |
54 "//mojo/public/js", | 54 "//mojo/public/js", |
55 "//net", | 55 "//net", |
56 "//skia", | 56 "//skia", |
57 "//skia/public", | 57 "//skia/public", |
58 "//storage/common", | 58 "//storage/common", |
| 59 "//third_party/WebKit/public:blink", |
59 "//third_party/icu", | 60 "//third_party/icu", |
60 "//third_party/libjingle", | 61 "//third_party/libjingle", |
61 "//third_party/libyuv", | 62 "//third_party/libyuv", |
62 "//third_party/mojo/src/mojo/edk/js", | 63 "//third_party/mojo/src/mojo/edk/js", |
63 "//third_party/npapi", | 64 "//third_party/npapi", |
64 "//third_party/WebKit/public:blink", | |
65 "//third_party/widevine/cdm:version_h", | 65 "//third_party/widevine/cdm:version_h", |
66 "//ui/accessibility", | 66 "//ui/accessibility", |
67 "//ui/base", | 67 "//ui/base", |
| 68 "//ui/events:dom_keycode_converter", |
68 "//ui/events:events_base", | 69 "//ui/events:events_base", |
69 "//ui/events:dom_keycode_converter", | |
70 "//ui/gl", | 70 "//ui/gl", |
71 "//ui/native_theme", | 71 "//ui/native_theme", |
72 "//ui/surface", | 72 "//ui/surface", |
73 "//v8", | 73 "//v8", |
74 ] | 74 ] |
75 | 75 |
76 if (is_mac) { | 76 if (is_mac) { |
77 sources -= [ | 77 sources -= [ |
78 "webscrollbarbehavior_impl_gtkoraura.cc", | 78 "webscrollbarbehavior_impl_gtkoraura.cc", |
79 "webscrollbarbehavior_impl_gtkoraura.h", | 79 "webscrollbarbehavior_impl_gtkoraura.h", |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 | 223 |
224 if (enable_webvr) { | 224 if (enable_webvr) { |
225 sources += [ | 225 sources += [ |
226 "vr/vr_dispatcher.cc", | 226 "vr/vr_dispatcher.cc", |
227 "vr/vr_dispatcher.h", | 227 "vr/vr_dispatcher.h", |
228 "vr/vr_type_converters.cc", | 228 "vr/vr_type_converters.cc", |
229 "vr/vr_type_converters.h", | 229 "vr/vr_type_converters.h", |
230 ] | 230 ] |
231 } | 231 } |
232 } | 232 } |
OLD | NEW |