| 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. |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 } | 142 } |
| 143 | 143 |
| 144 if (enable_plugins) { | 144 if (enable_plugins) { |
| 145 sources += rebase_path( | 145 sources += rebase_path( |
| 146 content_renderer_gypi_values.private_renderer_plugin_sources, | 146 content_renderer_gypi_values.private_renderer_plugin_sources, |
| 147 ".", "//content") | 147 ".", "//content") |
| 148 deps += [ | 148 deps += [ |
| 149 "//ppapi:ppapi_host", | 149 "//ppapi:ppapi_host", |
| 150 "//ppapi:ppapi_proxy", | 150 "//ppapi:ppapi_proxy", |
| 151 "//ppapi:ppapi_shared", | 151 "//ppapi:ppapi_shared", |
| 152 "//third_party/libyuv", |
| 152 ] | 153 ] |
| 153 } else { | 154 } else { |
| 154 # These files are in the WebRTC list, but also require plugins. | 155 # These files are in the WebRTC list, but also require plugins. |
| 155 if (enable_webrtc) { | 156 if (enable_webrtc) { |
| 156 sources -= [ | 157 sources -= [ |
| 157 "media/webrtc/video_destination_handler.cc", | 158 "media/webrtc/video_destination_handler.cc", |
| 158 "media/webrtc/video_destination_handler.h", | 159 "media/webrtc/video_destination_handler.h", |
| 159 ] | 160 ] |
| 160 } | 161 } |
| 161 } | 162 } |
| 162 | 163 |
| 163 if (enable_plugins && enable_webrtc) { | 164 if (enable_plugins && enable_webrtc) { |
| 164 sources += rebase_path( | 165 sources += rebase_path( |
| 165 content_renderer_gypi_values.private_renderer_plugin_webrtc_sources, | 166 content_renderer_gypi_values.private_renderer_plugin_webrtc_sources, |
| 166 ".", "//content") | 167 ".", "//content") |
| 167 } | 168 } |
| 169 |
| 170 if (printing_mode == 1) { |
| 171 deps += [ "//printing" ] |
| 172 } |
| 168 } | 173 } |
| OLD | NEW |