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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//chromecast/chromecast.gni") 5 import("//chromecast/chromecast.gni")
6 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 7
8 # CMA is not used on Android; exclude CMA-specific targets.
9 enable_cma = !is_android
10
11 # GYP target: chromecast.gyp:cast_shell_media 8 # GYP target: chromecast.gyp:cast_shell_media
12 source_set("media") { 9 source_set("media") {
13 sources = [ 10 sources = [
14 "cast_media_client.cc", 11 "cast_media_client.cc",
15 "cast_media_client.h", 12 "cast_media_client.h",
16 "shared_memory_chunk.cc",
17 "shared_memory_chunk.h",
18 ] 13 ]
19 14
20 deps = [ 15 deps = [
21 "//base", 16 "//base",
22 "//chromecast/media/base", 17 "//chromecast/media/base",
23 "//chromecast/media/cma/ipc",
24 "//chromecast/public:public", 18 "//chromecast/public:public",
25 "//media", 19 "//media",
26 ] 20 ]
27 21
28 if (enable_cma) {
29 public_deps = [
30 ":cma_messages",
31 ]
32 }
33
34 if (is_android) { 22 if (is_android) {
35 sources += [ 23 sources += [
36 "cast_media_client_android.cc", 24 "cast_media_client_android.cc",
37 "cast_media_client_android.h", 25 "cast_media_client_android.h",
38 ] 26 ]
39 deps += [ 27 deps += [
40 "//chromecast/media/base", 28 "//chromecast/media/base",
41 "//components/cdm/common", 29 "//components/cdm/common",
42 "//media/base/android", 30 "//media/base/android",
43 ] 31 ]
44 } 32 }
45 33
46 if (use_playready) { 34 if (use_playready) {
47 public_configs = [ "//chromecast:playready_config" ] 35 public_configs = [ "//chromecast:playready_config" ]
48 } 36 }
49 } 37 }
50 38
51 mojom("interfaces") { 39 mojom("interfaces") {
52 sources = [ 40 sources = [
53 "media_caps.mojom", 41 "media_caps.mojom",
54 ] 42 ]
55 } 43 }
56
57 if (enable_cma) {
58 # GYP target: chromecast.gyp:cast_shell_media
59 source_set("cma_messages") {
60 sources = [
61 "cma_ipc_common.h",
62 "cma_message_generator.cc",
63 "cma_message_generator.h",
64 "cma_messages.h",
65 "cma_param_traits.cc",
66 "cma_param_traits.h",
67 "cma_param_traits_macros.h",
68 ]
69
70 deps = [
71 "//chromecast/media/cma/pipeline",
72 "//content/public/common",
73 "//media",
74 "//media:shared_memory_support",
75 "//media/gpu/ipc/common",
76 "//ui/gfx/ipc",
77 "//ui/gfx/ipc/skia",
78 ]
79 }
80 }
OLDNEW
« 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