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 | 9 |
9 source_set("renderer") { | 10 source_set("renderer") { |
10 # 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 |
11 # internal content ones) should depend on the public one. | 12 # internal content ones) should depend on the public one. |
12 visibility = [ "//content/public/renderer:renderer_sources" ] | 13 visibility = [ "//content/public/renderer:renderer_sources" ] |
13 | 14 |
14 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources, | 15 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources, |
15 ".", "//content") | 16 ".", "//content") |
16 | 17 |
17 configs += [ | 18 configs += [ |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 "media/crypto/pepper_cdm_wrapper_impl.cc", | 180 "media/crypto/pepper_cdm_wrapper_impl.cc", |
180 "media/crypto/pepper_cdm_wrapper_impl.h", | 181 "media/crypto/pepper_cdm_wrapper_impl.h", |
181 "media/crypto/ppapi_decryptor.cc", | 182 "media/crypto/ppapi_decryptor.cc", |
182 "media/crypto/ppapi_decryptor.h", | 183 "media/crypto/ppapi_decryptor.h", |
183 ] | 184 ] |
184 } | 185 } |
185 | 186 |
186 if (printing_mode == 1) { | 187 if (printing_mode == 1) { |
187 deps += [ "//printing" ] | 188 deps += [ "//printing" ] |
188 } | 189 } |
| 190 |
| 191 if (enable_browser_cdms) { |
| 192 sources += [ |
| 193 "media/crypto/proxy_media_keys.cc", |
| 194 "media/crypto/proxy_media_keys.h", |
| 195 "media/crypto/renderer_cdm_manager.cc", |
| 196 "media/crypto/renderer_cdm_manager.h", |
| 197 ] |
| 198 } |
189 } | 199 } |
OLD | NEW |