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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 ] | 157 ] |
158 } | 158 } |
159 } | 159 } |
160 | 160 |
161 if (enable_plugins && enable_webrtc) { | 161 if (enable_plugins && enable_webrtc) { |
162 sources += rebase_path( | 162 sources += rebase_path( |
163 content_renderer_gypi_values.private_renderer_plugin_webrtc_sources, | 163 content_renderer_gypi_values.private_renderer_plugin_webrtc_sources, |
164 ".", "//content") | 164 ".", "//content") |
165 } | 165 } |
166 | 166 |
| 167 if (!enable_pepper_cdms) { |
| 168 sources -= [ |
| 169 "media/crypto/pepper_cdm_wrapper.h", |
| 170 "media/crypto/pepper_cdm_wrapper_impl.cc", |
| 171 "media/crypto/pepper_cdm_wrapper_impl.h", |
| 172 "media/crypto/ppapi_decryptor.cc", |
| 173 "media/crypto/ppapi_decryptor.h", |
| 174 ] |
| 175 } |
| 176 |
167 if (printing_mode == 1) { | 177 if (printing_mode == 1) { |
168 deps += [ "//printing" ] | 178 deps += [ "//printing" ] |
169 } | 179 } |
170 } | 180 } |
OLD | NEW |