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("//mojo/public/mojo_application.gni") | 7 import("//mojo/public/mojo_application.gni") |
8 import("//mojo/public/mojo_application_manifest.gni") | 8 import("//mojo/public/mojo_application_manifest.gni") |
9 | 9 |
10 # Target naming conventions: | 10 # Target naming conventions: |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 | 117 |
118 # TODO(xhwang): Needed because targets can depend on cdm_service directly, | 118 # TODO(xhwang): Needed because targets can depend on cdm_service directly, |
119 # which is a bit hacky since we need to access CdmService directly | 119 # which is a bit hacky since we need to access CdmService directly |
120 # from C++ code (AVDA). In the future we'll make those decoders part of | 120 # from C++ code (AVDA). In the future we'll make those decoders part of |
121 # MojoMediaApplication, then we won't need this. | 121 # MojoMediaApplication, then we won't need this. |
122 public_configs = [ ":mojo_media_config" ] | 122 public_configs = [ ":mojo_media_config" ] |
123 | 123 |
124 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 124 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
125 } | 125 } |
126 | 126 |
| 127 source_set("audio_decoder_service") { |
| 128 sources = [ |
| 129 "mojo_audio_decoder_service.cc", |
| 130 "mojo_audio_decoder_service.h", |
| 131 ] |
| 132 |
| 133 deps = [ |
| 134 ":cdm_service", |
| 135 "//base", |
| 136 "//media", |
| 137 "//media:shared_memory_support", |
| 138 "//media/mojo/common", |
| 139 "//media/mojo/interfaces", |
| 140 "//mojo/common", |
| 141 ] |
| 142 } |
| 143 |
127 source_set("renderer_service") { | 144 source_set("renderer_service") { |
128 sources = [ | 145 sources = [ |
129 "demuxer_stream_provider_shim.cc", | 146 "demuxer_stream_provider_shim.cc", |
130 "demuxer_stream_provider_shim.h", | 147 "demuxer_stream_provider_shim.h", |
131 "mojo_demuxer_stream_adapter.cc", | 148 "mojo_demuxer_stream_adapter.cc", |
132 "mojo_demuxer_stream_adapter.h", | 149 "mojo_demuxer_stream_adapter.h", |
133 "mojo_renderer_service.cc", | 150 "mojo_renderer_service.cc", |
134 "mojo_renderer_service.h", | 151 "mojo_renderer_service.h", |
135 ] | 152 ] |
136 | 153 |
(...skipping 14 matching lines...) Expand all Loading... |
151 "mojo_media_application.h", | 168 "mojo_media_application.h", |
152 "mojo_media_client.cc", | 169 "mojo_media_client.cc", |
153 "mojo_media_client.h", | 170 "mojo_media_client.h", |
154 "service_factory_impl.cc", | 171 "service_factory_impl.cc", |
155 "service_factory_impl.h", | 172 "service_factory_impl.h", |
156 ] | 173 ] |
157 | 174 |
158 public_configs = [ ":mojo_media_config" ] | 175 public_configs = [ ":mojo_media_config" ] |
159 | 176 |
160 deps = [ | 177 deps = [ |
| 178 ":audio_decoder_service", |
161 ":cdm_service", | 179 ":cdm_service", |
162 ":renderer_service", | 180 ":renderer_service", |
163 "//base", | 181 "//base", |
164 "//media", | 182 "//media", |
165 "//mojo/shell/public/cpp", | 183 "//mojo/shell/public/cpp", |
166 ] | 184 ] |
167 } | 185 } |
168 | 186 |
169 source_set("application_factory") { | 187 source_set("application_factory") { |
170 sources = [ | 188 sources = [ |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 source = "pipeline_apptest_manifest.json" | 285 source = "pipeline_apptest_manifest.json" |
268 } | 286 } |
269 | 287 |
270 group("tests") { | 288 group("tests") { |
271 testonly = true | 289 testonly = true |
272 deps = [ | 290 deps = [ |
273 ":media_apptests", | 291 ":media_apptests", |
274 ":media_pipeline_integration_apptests", | 292 ":media_pipeline_integration_apptests", |
275 ] | 293 ] |
276 } | 294 } |
OLD | NEW |