Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Unified Diff: content/utility/BUILD.gn

Issue 2900773004: media: Add experimental feature to enable Mojo CDM on desktop Chromium (Closed)
Patch Set: drop utility_process_host_impl.cc change Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/utility/utility_service_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/utility/BUILD.gn
diff --git a/content/utility/BUILD.gn b/content/utility/BUILD.gn
index c5d9450965d650d70f9e40ae8cc99799357058b2..0d8806ddf4d54e04ce3c08277d2fd36e0a5e644e 100644
--- a/content/utility/BUILD.gn
+++ b/content/utility/BUILD.gn
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import("//media/media_options.gni")
+import("//ppapi/features/features.gni")
source_set("utility") {
# Only the public target should depend on this. All other targets (even
@@ -34,7 +34,6 @@ source_set("utility") {
"//content/network:network_sources",
"//content/public/child:child_sources",
"//content/public/common:common_sources",
- "//media/mojo:features",
"//mojo/common",
"//mojo/public/cpp/bindings",
"//ppapi/features",
@@ -53,8 +52,16 @@ source_set("utility") {
"//url",
]
- if (mojo_media_host == "utility") {
- deps += [ "//media/mojo/services" ]
+ # When pepper CDMs are supported, we also support running the CDM in the
+ # utility process using mojo MediaService.
+ # TODO(xhwang): Replace "enable_pepper_cdms" with a better buildflag. See
+ # http://crbug.com/725394
+ if (enable_pepper_cdms) {
+ deps += [
+ "//media",
+ "//media/mojo:features",
+ "//media/mojo/services",
+ ]
}
}
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/utility/utility_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698