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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
136 ":cdm_service", | 136 ":cdm_service", |
137 "//base", | 137 "//base", |
138 "//media", | 138 "//media", |
139 "//media:shared_memory_support", | 139 "//media:shared_memory_support", |
140 "//media/mojo/common", | 140 "//media/mojo/common", |
141 "//media/mojo/interfaces", | 141 "//media/mojo/interfaces", |
142 "//mojo/common", | 142 "//mojo/common", |
143 ] | 143 ] |
144 } | 144 } |
145 | 145 |
146 source_set("video_decoder_service") { | |
147 sources = [ | |
148 "mojo_video_decoder_service.cc", | |
149 "mojo_video_decoder_service.h", | |
150 ] | |
151 | |
152 deps = [ | |
153 ":cdm_service", | |
154 "//base", | |
155 "//media", | |
156 "//media/mojo/common", | |
157 "//media/mojo/interfaces", | |
158 "//mojo/common", | |
159 ] | |
160 } | |
161 | |
146 source_set("renderer_service") { | 162 source_set("renderer_service") { |
147 sources = [ | 163 sources = [ |
148 "demuxer_stream_provider_shim.cc", | 164 "demuxer_stream_provider_shim.cc", |
149 "demuxer_stream_provider_shim.h", | 165 "demuxer_stream_provider_shim.h", |
150 "mojo_demuxer_stream_adapter.cc", | 166 "mojo_demuxer_stream_adapter.cc", |
151 "mojo_demuxer_stream_adapter.h", | 167 "mojo_demuxer_stream_adapter.h", |
152 "mojo_renderer_service.cc", | 168 "mojo_renderer_service.cc", |
153 "mojo_renderer_service.h", | 169 "mojo_renderer_service.h", |
154 ] | 170 ] |
155 | 171 |
(...skipping 17 matching lines...) Expand all Loading... | |
173 "service_factory_impl.cc", | 189 "service_factory_impl.cc", |
174 "service_factory_impl.h", | 190 "service_factory_impl.h", |
175 ] | 191 ] |
176 | 192 |
177 public_configs = [ ":mojo_media_config" ] | 193 public_configs = [ ":mojo_media_config" ] |
178 | 194 |
179 deps = [ | 195 deps = [ |
180 ":audio_decoder_service", | 196 ":audio_decoder_service", |
181 ":cdm_service", | 197 ":cdm_service", |
182 ":renderer_service", | 198 ":renderer_service", |
199 ":video_decoder_service", | |
183 "//base", | 200 "//base", |
184 "//media", | 201 "//media", |
185 "//media/mojo/interfaces", | 202 "//media/mojo/interfaces", |
186 "//services/shell/public/cpp", | 203 "//services/shell/public/cpp", |
187 ] | 204 ] |
188 } | 205 } |
189 | 206 |
190 source_set("application_factory") { | 207 source_set("application_factory") { |
191 sources = [ | 208 sources = [ |
192 "mojo_media_application_factory.cc", | 209 "mojo_media_application_factory.cc", |
193 "mojo_media_application_factory.h", | 210 "mojo_media_application_factory.h", |
194 ] | 211 ] |
195 | 212 |
196 public_configs = [ ":mojo_media_config" ] | 213 public_configs = [ ":mojo_media_config" ] |
197 | 214 |
198 deps = [ | 215 deps = [ |
199 ":application", | 216 ":application", |
200 "//base", | 217 "//base", |
201 "//media", | 218 "//media", |
202 "//services/shell/public/cpp:sources", | 219 "//services/shell/public/cpp:sources", |
203 ] | 220 ] |
204 | 221 |
222 if (mojo_media_host == "gpu") { | |
223 sources += [ | |
224 "gpu_mojo_media_client.cc", | |
225 "gpu_mojo_media_client.h", | |
226 ] | |
227 } | |
xhwang
2016/04/20 21:09:27
ApplicationFactory does not use GpuMojoMediaClient
sandersd (OOO until July 31)
2016/05/03 00:54:37
(Removed from CL)
| |
228 | |
205 if (enable_test_mojo_media_client) { | 229 if (enable_test_mojo_media_client) { |
206 defines = [ "ENABLE_TEST_MOJO_MEDIA_CLIENT" ] | 230 defines = [ "ENABLE_TEST_MOJO_MEDIA_CLIENT" ] |
207 sources += [ | 231 sources += [ |
208 "test_mojo_media_client.cc", | 232 "test_mojo_media_client.cc", |
209 "test_mojo_media_client.h", | 233 "test_mojo_media_client.h", |
210 ] | 234 ] |
211 } else if (is_android) { | 235 } else if (is_android) { |
212 sources += [ | 236 sources += [ |
213 "android_mojo_media_client.cc", | 237 "android_mojo_media_client.cc", |
214 "android_mojo_media_client.h", | 238 "android_mojo_media_client.h", |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
300 source = "pipeline_apptest_manifest.json" | 324 source = "pipeline_apptest_manifest.json" |
301 } | 325 } |
302 | 326 |
303 group("tests") { | 327 group("tests") { |
304 testonly = true | 328 testonly = true |
305 deps = [ | 329 deps = [ |
306 ":media_apptests", | 330 ":media_apptests", |
307 ":media_pipeline_integration_apptests", | 331 ":media_pipeline_integration_apptests", |
308 ] | 332 ] |
309 } | 333 } |
OLD | NEW |