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

Unified Diff: media/mojo/services/BUILD.gn

Issue 1690213002: Reland "media: Refactor MojoMediaClient" with fix. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Created 4 years, 10 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/shell/BUILD.gn ('k') | media/mojo/services/android_mojo_media_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/BUILD.gn
diff --git a/media/mojo/services/BUILD.gn b/media/mojo/services/BUILD.gn
index 0f688580d74862282e3f1233ba5946adc951bfab..39384c979e2ee6956a29ed0d201a27771da06705 100644
--- a/media/mojo/services/BUILD.gn
+++ b/media/mojo/services/BUILD.gn
@@ -150,30 +150,24 @@ source_set("application") {
"service_factory_impl.h",
]
- public_configs = [ ":enable_mojo_media_config" ]
-
- deps = [
- ":cdm_service",
- ":renderer_service",
- "//mojo/shell/public/cpp",
- ]
-}
-
-source_set("default_application") {
if (is_android) {
- sources = [
+ sources += [
"android_mojo_media_client.cc",
+ "android_mojo_media_client.h",
]
} else {
- sources = [
+ sources += [
"default_mojo_media_client.cc",
+ "default_mojo_media_client.h",
]
}
public_configs = [ ":enable_mojo_media_config" ]
deps = [
- ":application",
+ ":cdm_service",
+ ":renderer_service",
+ "//mojo/shell/public/cpp",
]
}
@@ -203,7 +197,7 @@ mojo_native_application("media") {
]
deps = [
- ":default_application",
+ ":application",
"//mojo/logging",
"//mojo/public/c/system:for_shared_library",
]
« no previous file with comments | « content/shell/BUILD.gn ('k') | media/mojo/services/android_mojo_media_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698