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

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

Issue 1702453002: Revert of Reland "media: Refactor MojoMediaClient" with fix. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format media 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 39384c979e2ee6956a29ed0d201a27771da06705..22925805d09a79ec19194e6caa37d32f37404639 100644
--- a/media/mojo/services/BUILD.gn
+++ b/media/mojo/services/BUILD.gn
@@ -150,24 +150,30 @@ 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 = [
- ":cdm_service",
- ":renderer_service",
- "//mojo/shell/public/cpp",
+ ":application",
]
}
@@ -197,7 +203,7 @@ mojo_native_application("media") {
]
deps = [
- ":application",
+ ":default_application",
"//mojo/logging",
"//mojo/public/c/system:for_shared_library",
]
@@ -226,9 +232,7 @@ mojo_native_application("media_apptests") {
"//testing/gtest",
]
- data_deps = [
- ":media",
- ]
+ data_deps = [ ":media" ]
}
mojo_native_application("media_pipeline_integration_apptests") {
@@ -238,9 +242,7 @@ mojo_native_application("media_pipeline_integration_apptests") {
"//media/test:mojo_pipeline_integration_tests",
]
- data_deps = [
- ":media",
- ]
+ data_deps = [ ":media" ]
}
group("services") {
« 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