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

Unified Diff: chromecast/browser/BUILD.gn

Issue 1425113003: media: Register MojoMediaApplication to run in Utility process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gn import Created 5 years, 2 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
Index: chromecast/browser/BUILD.gn
diff --git a/chromecast/browser/BUILD.gn b/chromecast/browser/BUILD.gn
index 358bff1f0f737c669ff7a026de93183a8e00259f..4453f8a6e8f671165211d44e29f802fcecfe1b74 100644
--- a/chromecast/browser/BUILD.gn
+++ b/chromecast/browser/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//chromecast/chromecast.gni")
+import("//media/media_options.gni")
import("//testing/test.gni")
source_set("browser") {
@@ -111,6 +112,14 @@ source_set("browser") {
deps += [ "//components/metrics:serialization" ]
}
+
+ if (enable_mojo_media != "none") {
+ configs += [ "//media/mojo/services:enable_mojo_media_config" ]
+ }
+
+ if (enable_mojo_media == "utility") {
+ deps += [ "//media/mojo/services:application" ]
+ }
}
source_set("test_support") {

Powered by Google App Engine
This is Rietveld 408576698