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 | 8 |
9 source_set("renderer") { | 9 source_set("renderer") { |
10 # Only targets in the content tree can depend directly on this target. | 10 # Only targets in the content tree can depend directly on this target. |
11 visibility = [ "//content/*" ] | 11 visibility = [ "//content/*" ] |
12 | 12 |
13 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources, | 13 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources, |
14 ".", "//content") | 14 ".", "//content") |
15 | 15 |
16 configs += [ | 16 configs += [ |
17 "//content:content_implementation", | 17 "//content:content_implementation", |
18 "//content:libjingle_stub_config", | 18 "//content:libjingle_stub_config", |
19 ] | 19 ] |
20 | 20 |
21 deps = [ | 21 deps = [ |
22 # TODO(GYP) bug 376846 remove this. This should be inherited from //net but | 22 # TODO(GYP) bug 376846 remove this. This should be inherited from //net but |
23 # those don't cross component boundaries. | 23 # those don't cross component boundaries. |
24 "//crypto:platform", | 24 "//crypto:platform", |
25 | 25 |
26 "//base/allocator", | 26 "//base/allocator", |
27 "//content:resources", | 27 "//content:resources", |
28 "//content/common:mojo_bindings", | 28 "//content/common:mojo_bindings", |
29 "//gin", | 29 "//gin", |
| 30 "//media", |
| 31 "//mojo/bindings/js", |
30 "//mojo/environment:chromium", | 32 "//mojo/environment:chromium", |
31 "//mojo/public/js/bindings", | 33 "//mojo/public/js/bindings", |
32 "//mojo/public/interfaces/service_provider", | 34 "//mojo/public/interfaces/service_provider", |
33 "//net", | 35 "//net", |
34 "//skia", | 36 "//skia", |
35 "//third_party/icu", | 37 "//third_party/icu", |
36 "//third_party/npapi", | 38 "//third_party/npapi", |
37 "//third_party/WebKit/public:blink_headers", | 39 "//third_party/WebKit/public:blink", |
38 "//third_party/widevine/cdm:version_h", | 40 "//third_party/widevine/cdm:version_h", |
39 "//ui/accessibility", | 41 "//ui/accessibility", |
40 "//ui/events:dom4_keycode_converter", | 42 "//ui/events:dom4_keycode_converter", |
41 "//ui/native_theme", | 43 "//ui/native_theme", |
42 "//ui/surface", | 44 "//ui/surface", |
43 "//v8", | 45 "//v8", |
44 "//webkit/child", | 46 "//webkit/child", |
45 "//webkit/common", | 47 "//webkit/common", |
46 "//webkit/common:storage", | 48 "//webkit/common:storage", |
47 "//webkit/common/gpu", | 49 "//webkit/common/gpu", |
48 # TODO(GYP) | 50 #'../jingle/jingle.gyp:jingle_glue', TODO(GYP) |
49 #'../jingle/jingle.gyp:jingle_glue', | 51 #'../third_party/libjingle/libjingle.gyp:libjingle', TODO(GYP) |
50 #'../media/media.gyp:media', | |
51 #'../third_party/WebKit/public/blink.gyp:blink', | |
52 #'../third_party/libjingle/libjingle.gyp:libjingle', | |
53 ] | 52 ] |
54 | 53 |
55 if (!enable_notifications) { | 54 if (!enable_notifications) { |
56 sources -= [ | 55 sources -= [ |
57 "notification_provider.cc", | 56 "notification_provider.cc", |
58 "active_notification_tracker.cc", | 57 "active_notification_tracker.cc", |
59 ] | 58 ] |
60 } | 59 } |
61 | 60 |
62 if (is_mac) { | 61 if (is_mac) { |
(...skipping 19 matching lines...) Expand all Loading... |
82 ] | 81 ] |
83 | 82 |
84 # Add back the Linux file which Android shares. | 83 # Add back the Linux file which Android shares. |
85 set_sources_assignment_filter([]) | 84 set_sources_assignment_filter([]) |
86 sources += [ | 85 sources += [ |
87 "render_view_linux.cc", | 86 "render_view_linux.cc", |
88 ] | 87 ] |
89 | 88 |
90 deps += [ | 89 deps += [ |
91 "//third_party/android_tools:cpu_features", | 90 "//third_party/android_tools:cpu_features", |
92 # TODO(GYP) | 91 "//third_party/libphonenumber", |
93 #"//third_party/libphonenumber", | |
94 ] | 92 ] |
95 } else { | 93 } else { |
96 sources -= [ | 94 sources -= [ |
97 "java/gin_java_bridge_dispatcher.cc", | 95 "java/gin_java_bridge_dispatcher.cc", |
98 "java/gin_java_bridge_dispatcher.h", | 96 "java/gin_java_bridge_dispatcher.h", |
99 "java/gin_java_bridge_object.cc", | 97 "java/gin_java_bridge_object.cc", |
100 "java/gin_java_bridge_object.h", | 98 "java/gin_java_bridge_object.h", |
101 "java/gin_java_bridge_value_converter.cc", | 99 "java/gin_java_bridge_value_converter.cc", |
102 "java/gin_java_bridge_value_converter.h", | 100 "java/gin_java_bridge_value_converter.h", |
103 ] | 101 ] |
(...skipping 19 matching lines...) Expand all Loading... |
123 "media/media_stream_track.h", | 121 "media/media_stream_track.h", |
124 ] | 122 ] |
125 } | 123 } |
126 | 124 |
127 if (enable_webrtc) { | 125 if (enable_webrtc) { |
128 sources += rebase_path( | 126 sources += rebase_path( |
129 content_renderer_gypi_values.private_renderer_webrtc_sources, | 127 content_renderer_gypi_values.private_renderer_webrtc_sources, |
130 ".", "//content") | 128 ".", "//content") |
131 deps += [ | 129 deps += [ |
132 "//crypto", | 130 "//crypto", |
133 # TODO(GYP) | 131 "//third_party/libyuv", |
134 #"../third_party/libjingle/libjingle.gyp:libjingle_webrtc", | 132 #"../third_party/libjingle/libjingle.gyp:libjingle_webrtc", TODO(GYP) |
135 #"../third_party/libjingle/libjingle.gyp:libpeerconnection", | 133 #"../third_party/libjingle/libjingle.gyp:libpeerconnection", TODO(GYP) |
136 #"../third_party/webrtc/modules/modules.gyp:audio_device", | 134 #"../third_party/webrtc/modules/modules.gyp:audio_device", TODO(GYP) |
137 #"../third_party/webrtc/modules/modules.gyp:audio_processing", | 135 #"../third_party/webrtc/modules/modules.gyp:audio_processing", TODO(GYP) |
138 #"//third_party/libyuv", | |
139 ] | 136 ] |
140 } else { | 137 } else { |
141 sources += [ | 138 sources += [ |
142 "media/webrtc_logging_noop.cc", | 139 "media/webrtc_logging_noop.cc", |
143 "media/webrtc_logging.h", | 140 "media/webrtc_logging.h", |
144 ] | 141 ] |
145 } | 142 } |
146 | 143 |
147 if (enable_plugins) { | 144 if (enable_plugins) { |
148 sources += rebase_path( | 145 sources += rebase_path( |
(...skipping 13 matching lines...) Expand all Loading... |
162 ] | 159 ] |
163 } | 160 } |
164 } | 161 } |
165 | 162 |
166 if (enable_plugins && enable_webrtc) { | 163 if (enable_plugins && enable_webrtc) { |
167 sources += rebase_path( | 164 sources += rebase_path( |
168 content_renderer_gypi_values.private_renderer_plugin_webrtc_sources, | 165 content_renderer_gypi_values.private_renderer_plugin_webrtc_sources, |
169 ".", "//content") | 166 ".", "//content") |
170 } | 167 } |
171 } | 168 } |
OLD | NEW |