OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//media/media_options.gni") | 5 import("//media/media_options.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("//third_party/mojo/src/mojo/public/mojo_application.gni") | 7 import("//third_party/mojo/src/mojo/public/mojo_application.gni") |
8 | 8 |
9 # Target naming conventions: | 9 # Target naming conventions: |
10 # - converters: C++/Mojo type converters. | 10 # - converters: C++/Mojo type converters. |
(...skipping 25 matching lines...) Expand all Loading... |
36 "//ui/mojo/geometry:interfaces", | 36 "//ui/mojo/geometry:interfaces", |
37 ] | 37 ] |
38 } | 38 } |
39 | 39 |
40 source_set("cdm_proxy") { | 40 source_set("cdm_proxy") { |
41 deps = [ | 41 deps = [ |
42 ":converters", | 42 ":converters", |
43 "//base", | 43 "//base", |
44 "//media", | 44 "//media", |
45 "//media/mojo/interfaces", | 45 "//media/mojo/interfaces", |
| 46 "//mojo/application/public/interfaces", |
46 "//mojo/common", | 47 "//mojo/common", |
47 "//mojo/environment:chromium", | 48 "//mojo/environment:chromium", |
48 "//third_party/mojo/src/mojo/public/interfaces/application", | |
49 "//third_party/mojo/src/mojo/public/c/system:for_component", | 49 "//third_party/mojo/src/mojo/public/c/system:for_component", |
50 ] | 50 ] |
51 | 51 |
52 sources = [ | 52 sources = [ |
53 "mojo_cdm.cc", | 53 "mojo_cdm.cc", |
54 "mojo_cdm.h", | 54 "mojo_cdm.h", |
55 "mojo_type_trait.h", | 55 "mojo_type_trait.h", |
56 ] | 56 ] |
57 } | 57 } |
58 | 58 |
59 source_set("cdm_service") { | 59 source_set("cdm_service") { |
60 deps = [ | 60 deps = [ |
61 ":converters", | 61 ":converters", |
62 "//base", | 62 "//base", |
63 "//media", | 63 "//media", |
64 "//media/mojo/interfaces", | 64 "//media/mojo/interfaces", |
| 65 "//mojo/application/public/interfaces", |
65 "//mojo/common", | 66 "//mojo/common", |
66 "//mojo/environment:chromium", | 67 "//mojo/environment:chromium", |
67 "//third_party/mojo/src/mojo/public/interfaces/application", | |
68 "//third_party/mojo/src/mojo/public/c/system:for_component", | 68 "//third_party/mojo/src/mojo/public/c/system:for_component", |
69 ] | 69 ] |
70 | 70 |
71 sources = [ | 71 sources = [ |
72 "mojo_cdm_promise.cc", | 72 "mojo_cdm_promise.cc", |
73 "mojo_cdm_promise.h", | 73 "mojo_cdm_promise.h", |
74 "mojo_cdm_service.cc", | 74 "mojo_cdm_service.cc", |
75 "mojo_cdm_service.h", | 75 "mojo_cdm_service.h", |
76 "mojo_type_trait.h", | 76 "mojo_type_trait.h", |
77 ] | 77 ] |
(...skipping 12 matching lines...) Expand all Loading... |
90 "mojo_renderer_impl.h", | 90 "mojo_renderer_impl.h", |
91 ] | 91 ] |
92 | 92 |
93 public_configs = [ ":enable_media_mojo_renderer_config" ] | 93 public_configs = [ ":enable_media_mojo_renderer_config" ] |
94 | 94 |
95 deps = [ | 95 deps = [ |
96 ":converters", | 96 ":converters", |
97 "//base", | 97 "//base", |
98 "//media", | 98 "//media", |
99 "//media/mojo/interfaces", | 99 "//media/mojo/interfaces", |
| 100 "//mojo/application/public/interfaces", |
100 "//mojo/common", | 101 "//mojo/common", |
101 "//mojo/environment:chromium", | 102 "//mojo/environment:chromium", |
102 "//third_party/mojo/src/mojo/public/c/system:for_component", | 103 "//third_party/mojo/src/mojo/public/c/system:for_component", |
103 "//third_party/mojo/src/mojo/public/interfaces/application", | |
104 ] | 104 ] |
105 } | 105 } |
106 | 106 |
107 # MediaRenderer service; without a specific config. | 107 # MediaRenderer service; without a specific config. |
108 source_set("renderer_service_generic") { | 108 source_set("renderer_service_generic") { |
109 sources = [ | 109 sources = [ |
110 "demuxer_stream_provider_shim.cc", | 110 "demuxer_stream_provider_shim.cc", |
111 "demuxer_stream_provider_shim.h", | 111 "demuxer_stream_provider_shim.h", |
112 "mojo_demuxer_stream_adapter.cc", | 112 "mojo_demuxer_stream_adapter.cc", |
113 "mojo_demuxer_stream_adapter.h", | 113 "mojo_demuxer_stream_adapter.h", |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 group("tests") { | 201 group("tests") { |
202 testonly = true | 202 testonly = true |
203 deps = [ | 203 deps = [ |
204 ":media_mojo_unittests", | 204 ":media_mojo_unittests", |
205 ] | 205 ] |
206 | 206 |
207 if (!is_component_build) { | 207 if (!is_component_build) { |
208 deps += [ ":media_test" ] | 208 deps += [ ":media_test" ] |
209 } | 209 } |
210 } | 210 } |
OLD | NEW |