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 ] | 18 ] |
19 | 19 |
20 deps = [ | 20 deps = [ |
21 # TODO(GYP) bug 376846 remove this. This should be inherited from //net but | 21 # TODO(GYP) bug 376846 remove this. This should be inherited from //net but |
22 # those don't cross component boundaries. | 22 # those don't cross component boundaries. |
23 "//crypto:platform", | 23 "//crypto:platform", |
24 | 24 |
25 "//base/allocator", | 25 "//base/allocator", |
| 26 "//cc", |
26 "//cc/blink", | 27 "//cc/blink", |
27 "//content:resources", | 28 "//content:resources", |
28 "//content/common:mojo_bindings", | 29 "//content/common:mojo_bindings", |
| 30 "//content/public/child", |
| 31 "//content/public/common", |
29 "//gin", | 32 "//gin", |
30 "//jingle:jingle_glue", | 33 "//jingle:jingle_glue", |
31 "//media", | 34 "//media", |
32 "//media/blink", | 35 "//media/blink", |
33 "//mojo/bindings/js", | 36 "//mojo/bindings/js", |
34 "//mojo/environment:chromium", | 37 "//mojo/environment:chromium", |
35 "//mojo/public/js/bindings", | 38 "//mojo/public/js/bindings", |
36 "//mojo/public/interfaces/application", | 39 "//mojo/public/interfaces/application", |
37 "//net", | 40 "//net", |
38 "//skia", | 41 "//skia", |
39 "//storage/common", | 42 "//storage/common", |
40 "//third_party/icu", | 43 "//third_party/icu", |
41 "//third_party/libjingle", | 44 "//third_party/libjingle", |
42 "//third_party/npapi", | 45 "//third_party/npapi", |
43 "//third_party/WebKit/public:blink", | 46 "//third_party/WebKit/public:blink", |
44 "//third_party/widevine/cdm:version_h", | 47 "//third_party/widevine/cdm:version_h", |
45 "//ui/accessibility", | 48 "//ui/accessibility", |
| 49 "//ui/base", |
| 50 "//ui/events:events_base", |
46 "//ui/events:dom4_keycode_converter", | 51 "//ui/events:dom4_keycode_converter", |
| 52 "//ui/gl", |
47 "//ui/native_theme", | 53 "//ui/native_theme", |
48 "//ui/surface", | 54 "//ui/surface", |
49 "//v8", | 55 "//v8", |
50 "//webkit/common/gpu", | 56 "//webkit/common/gpu", |
51 ] | 57 ] |
52 | 58 |
53 if (!enable_notifications) { | 59 if (!enable_notifications) { |
54 sources -= [ | 60 sources -= [ |
55 "notification_provider.cc", | 61 "notification_provider.cc", |
56 "active_notification_tracker.cc", | 62 "active_notification_tracker.cc", |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 sources -= [ | 112 sources -= [ |
107 "media/media_stream_audio_level_calculator.cc", | 113 "media/media_stream_audio_level_calculator.cc", |
108 "media/media_stream_audio_level_calculator.h", | 114 "media/media_stream_audio_level_calculator.h", |
109 "media/media_stream_audio_renderer.cc", | 115 "media/media_stream_audio_renderer.cc", |
110 "media/media_stream_audio_renderer.h", | 116 "media/media_stream_audio_renderer.h", |
111 "media/media_stream_center.h", | 117 "media/media_stream_center.h", |
112 "media/media_stream_constraints_util.cc", | 118 "media/media_stream_constraints_util.cc", |
113 "media/media_stream_constraints_util.h", | 119 "media/media_stream_constraints_util.h", |
114 "media/media_stream_dispatcher.h", | 120 "media/media_stream_dispatcher.h", |
115 "media/media_stream_dispatcher_eventhandler.h", | 121 "media/media_stream_dispatcher_eventhandler.h", |
116 "media/media_stream_impl.h", | |
117 "media/media_stream_track.cc", | 122 "media/media_stream_track.cc", |
118 "media/media_stream_track.h", | 123 "media/media_stream_track.h", |
119 ] | 124 ] |
120 } | 125 } |
121 | 126 |
122 if (enable_webrtc) { | 127 if (enable_webrtc) { |
123 sources += rebase_path( | 128 sources += rebase_path( |
124 content_renderer_gypi_values.private_renderer_webrtc_sources, | 129 content_renderer_gypi_values.private_renderer_webrtc_sources, |
125 ".", "//content") | 130 ".", "//content") |
126 deps += [ | 131 deps += [ |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 "media/crypto/pepper_cdm_wrapper_impl.h", | 176 "media/crypto/pepper_cdm_wrapper_impl.h", |
172 "media/crypto/ppapi_decryptor.cc", | 177 "media/crypto/ppapi_decryptor.cc", |
173 "media/crypto/ppapi_decryptor.h", | 178 "media/crypto/ppapi_decryptor.h", |
174 ] | 179 ] |
175 } | 180 } |
176 | 181 |
177 if (printing_mode == 1) { | 182 if (printing_mode == 1) { |
178 deps += [ "//printing" ] | 183 deps += [ "//printing" ] |
179 } | 184 } |
180 } | 185 } |
OLD | NEW |