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

Unified Diff: chromecast/common/media/BUILD.gn

Issue 2300993003: CmaRenderer is dead. Long live MojoRenderer. (Closed)
Patch Set: update OWNERS file Created 4 years, 3 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 | « chromecast/browser/media/media_pipeline_host.cc ('k') | chromecast/common/media/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/common/media/BUILD.gn
diff --git a/chromecast/common/media/BUILD.gn b/chromecast/common/media/BUILD.gn
index 1f1938c5ffb77bfae3b1bb3f54e305a6f5a6e346..535a6c77e739cf54cac541df6032d0e928f49023 100644
--- a/chromecast/common/media/BUILD.gn
+++ b/chromecast/common/media/BUILD.gn
@@ -5,32 +5,20 @@
import("//chromecast/chromecast.gni")
import("//mojo/public/tools/bindings/mojom.gni")
-# CMA is not used on Android; exclude CMA-specific targets.
-enable_cma = !is_android
-
# GYP target: chromecast.gyp:cast_shell_media
source_set("media") {
sources = [
"cast_media_client.cc",
"cast_media_client.h",
- "shared_memory_chunk.cc",
- "shared_memory_chunk.h",
]
deps = [
"//base",
"//chromecast/media/base",
- "//chromecast/media/cma/ipc",
"//chromecast/public:public",
"//media",
]
- if (enable_cma) {
- public_deps = [
- ":cma_messages",
- ]
- }
-
if (is_android) {
sources += [
"cast_media_client_android.cc",
@@ -53,28 +41,3 @@ mojom("interfaces") {
"media_caps.mojom",
]
}
-
-if (enable_cma) {
- # GYP target: chromecast.gyp:cast_shell_media
- source_set("cma_messages") {
- sources = [
- "cma_ipc_common.h",
- "cma_message_generator.cc",
- "cma_message_generator.h",
- "cma_messages.h",
- "cma_param_traits.cc",
- "cma_param_traits.h",
- "cma_param_traits_macros.h",
- ]
-
- deps = [
- "//chromecast/media/cma/pipeline",
- "//content/public/common",
- "//media",
- "//media:shared_memory_support",
- "//media/gpu/ipc/common",
- "//ui/gfx/ipc",
- "//ui/gfx/ipc/skia",
- ]
- }
-}
« no previous file with comments | « chromecast/browser/media/media_pipeline_host.cc ('k') | chromecast/common/media/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698