| Index: content/utility/BUILD.gn
|
| diff --git a/content/utility/BUILD.gn b/content/utility/BUILD.gn
|
| index 0d8806ddf4d54e04ce3c08277d2fd36e0a5e644e..c5d9450965d650d70f9e40ae8cc99799357058b2 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("//ppapi/features/features.gni")
|
| +import("//media/media_options.gni")
|
|
|
| source_set("utility") {
|
| # Only the public target should depend on this. All other targets (even
|
| @@ -34,6 +34,7 @@
|
| "//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",
|
| @@ -52,16 +53,8 @@
|
| "//url",
|
| ]
|
|
|
| - # 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",
|
| - ]
|
| + if (mojo_media_host == "utility") {
|
| + deps += [ "//media/mojo/services" ]
|
| }
|
| }
|
|
|
|
|