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("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
7 import("//build/config/arm.gni") | 7 import("//build/config/arm.gni") |
8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
9 import("//build/config/linux/pkg_config.gni") | 9 import("//build/config/linux/pkg_config.gni") |
10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
194 "filters/vp9_compressed_header_parser.h", | 194 "filters/vp9_compressed_header_parser.h", |
195 "filters/vp9_parser.cc", | 195 "filters/vp9_parser.cc", |
196 "filters/vp9_parser.h", | 196 "filters/vp9_parser.h", |
197 "filters/vp9_raw_bits_reader.cc", | 197 "filters/vp9_raw_bits_reader.cc", |
198 "filters/vp9_raw_bits_reader.h", | 198 "filters/vp9_raw_bits_reader.h", |
199 "filters/vp9_uncompressed_header_parser.cc", | 199 "filters/vp9_uncompressed_header_parser.cc", |
200 "filters/vp9_uncompressed_header_parser.h", | 200 "filters/vp9_uncompressed_header_parser.h", |
201 "filters/webvtt_util.h", | 201 "filters/webvtt_util.h", |
202 "filters/wsola_internals.cc", | 202 "filters/wsola_internals.cc", |
203 "filters/wsola_internals.h", | 203 "filters/wsola_internals.h", |
204 "formats/common/offset_byte_queue.cc", | |
205 "formats/common/offset_byte_queue.h", | |
206 "formats/webm/webm_audio_client.cc", | |
207 "formats/webm/webm_audio_client.h", | |
208 "formats/webm/webm_cluster_parser.cc", | |
209 "formats/webm/webm_cluster_parser.h", | |
210 "formats/webm/webm_colour_parser.cc", | |
211 "formats/webm/webm_colour_parser.h", | |
212 "formats/webm/webm_constants.cc", | |
213 "formats/webm/webm_constants.h", | |
214 "formats/webm/webm_content_encodings.cc", | |
215 "formats/webm/webm_content_encodings.h", | |
216 "formats/webm/webm_content_encodings_client.cc", | |
217 "formats/webm/webm_content_encodings_client.h", | |
218 "formats/webm/webm_crypto_helpers.cc", | |
219 "formats/webm/webm_crypto_helpers.h", | |
220 "formats/webm/webm_info_parser.cc", | |
221 "formats/webm/webm_info_parser.h", | |
222 "formats/webm/webm_parser.cc", | |
223 "formats/webm/webm_parser.h", | |
224 "formats/webm/webm_stream_parser.cc", | |
225 "formats/webm/webm_stream_parser.h", | |
226 "formats/webm/webm_tracks_parser.cc", | |
227 "formats/webm/webm_tracks_parser.h", | |
228 "formats/webm/webm_video_client.cc", | |
229 "formats/webm/webm_video_client.h", | |
230 "formats/webm/webm_webvtt_parser.cc", | |
231 "formats/webm/webm_webvtt_parser.h", | |
232 "muxers/webm_muxer.cc", | 204 "muxers/webm_muxer.cc", |
233 "muxers/webm_muxer.h", | 205 "muxers/webm_muxer.h", |
234 "renderers/audio_renderer_impl.cc", | 206 "renderers/audio_renderer_impl.cc", |
235 "renderers/audio_renderer_impl.h", | 207 "renderers/audio_renderer_impl.h", |
236 "renderers/default_renderer_factory.cc", | 208 "renderers/default_renderer_factory.cc", |
237 "renderers/default_renderer_factory.h", | 209 "renderers/default_renderer_factory.h", |
238 "renderers/gpu_video_accelerator_factories.h", | 210 "renderers/gpu_video_accelerator_factories.h", |
239 "renderers/renderer_impl.cc", | 211 "renderers/renderer_impl.cc", |
240 "renderers/renderer_impl.h", | 212 "renderers/renderer_impl.h", |
241 "renderers/skcanvas_video_renderer.cc", | 213 "renderers/skcanvas_video_renderer.cc", |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
297 "//url", | 269 "//url", |
298 ] | 270 ] |
299 | 271 |
300 public_configs = [ "//third_party/libwebm:libwebm_config" ] | 272 public_configs = [ "//third_party/libwebm:libwebm_config" ] |
301 public_deps = [ | 273 public_deps = [ |
302 ":filters_common", | 274 ":filters_common", |
303 ":media_features", | 275 ":media_features", |
304 ":shared_memory_support", | 276 ":shared_memory_support", |
305 "//media/audio", | 277 "//media/audio", |
306 "//media/base", | 278 "//media/base", |
279 "//media/formats", | |
307 "//ui/gfx:color_space", | 280 "//ui/gfx:color_space", |
308 ] | 281 ] |
309 | 282 |
310 include_dirs = [ "." ] | 283 include_dirs = [ "." ] |
311 if (media_use_ffmpeg) { | 284 if (media_use_ffmpeg) { |
312 public_deps += [ "//media/ffmpeg" ] | 285 public_deps += [ "//media/ffmpeg" ] |
313 deps += [ | 286 deps += [ |
314 "//third_party/ffmpeg", | 287 "//third_party/ffmpeg", |
315 "//third_party/opus", | 288 "//third_party/opus", |
316 ] | 289 ] |
(...skipping 23 matching lines...) Expand all Loading... | |
340 "filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc", | 313 "filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc", |
341 "filters/ffmpeg_h264_to_annex_b_bitstream_converter.h", | 314 "filters/ffmpeg_h264_to_annex_b_bitstream_converter.h", |
342 ] | 315 ] |
343 } | 316 } |
344 } | 317 } |
345 | 318 |
346 if (proprietary_codecs && enable_hevc_demuxing) { | 319 if (proprietary_codecs && enable_hevc_demuxing) { |
347 sources += [ | 320 sources += [ |
348 "filters/h265_parser.cc", | 321 "filters/h265_parser.cc", |
349 "filters/h265_parser.h", | 322 "filters/h265_parser.h", |
350 "formats/mp4/hevc.cc", | |
351 "formats/mp4/hevc.h", | |
352 ] | 323 ] |
353 if (media_use_ffmpeg) { | 324 if (media_use_ffmpeg) { |
354 sources += [ | 325 sources += [ |
355 "filters/ffmpeg_h265_to_annex_b_bitstream_converter.cc", | 326 "filters/ffmpeg_h265_to_annex_b_bitstream_converter.cc", |
356 "filters/ffmpeg_h265_to_annex_b_bitstream_converter.h", | 327 "filters/ffmpeg_h265_to_annex_b_bitstream_converter.h", |
357 ] | 328 ] |
358 } | 329 } |
359 } | 330 } |
360 if (proprietary_codecs && enable_dolby_vision_demuxing) { | |
361 sources += [ | |
362 "formats/mp4/dolby_vision.cc", | |
363 "formats/mp4/dolby_vision.h", | |
364 ] | |
365 } | |
366 | 331 |
367 if (current_cpu == "arm" && arm_use_neon) { | 332 if (current_cpu == "arm" && arm_use_neon) { |
368 defines += [ "USE_NEON" ] | 333 defines += [ "USE_NEON" ] |
369 } | 334 } |
370 | 335 |
371 if (media_use_libvpx) { | 336 if (media_use_libvpx) { |
372 sources += [ | 337 sources += [ |
373 "filters/vpx_video_decoder.cc", | 338 "filters/vpx_video_decoder.cc", |
374 "filters/vpx_video_decoder.h", | 339 "filters/vpx_video_decoder.h", |
375 ] | 340 ] |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
412 if (is_win) { | 377 if (is_win) { |
413 deps += [ "//media/base/win" ] | 378 deps += [ "//media/base/win" ] |
414 } | 379 } |
415 | 380 |
416 if (proprietary_codecs) { | 381 if (proprietary_codecs) { |
417 sources += [ | 382 sources += [ |
418 "cdm/cenc_utils.cc", | 383 "cdm/cenc_utils.cc", |
419 "cdm/cenc_utils.h", | 384 "cdm/cenc_utils.h", |
420 "filters/h264_to_annex_b_bitstream_converter.cc", | 385 "filters/h264_to_annex_b_bitstream_converter.cc", |
421 "filters/h264_to_annex_b_bitstream_converter.h", | 386 "filters/h264_to_annex_b_bitstream_converter.h", |
422 "formats/mp4/aac.cc", | |
423 "formats/mp4/aac.h", | |
424 "formats/mp4/avc.cc", | |
425 "formats/mp4/avc.h", | |
426 "formats/mp4/bitstream_converter.cc", | |
427 "formats/mp4/bitstream_converter.h", | |
428 "formats/mp4/box_definitions.cc", | |
429 "formats/mp4/box_definitions.h", | |
430 "formats/mp4/box_reader.cc", | |
431 "formats/mp4/box_reader.h", | |
432 "formats/mp4/es_descriptor.cc", | |
433 "formats/mp4/es_descriptor.h", | |
434 "formats/mp4/mp4_stream_parser.cc", | |
435 "formats/mp4/mp4_stream_parser.h", | |
436 "formats/mp4/sample_to_group_iterator.cc", | |
437 "formats/mp4/sample_to_group_iterator.h", | |
438 "formats/mp4/track_run_iterator.cc", | |
439 "formats/mp4/track_run_iterator.h", | |
440 "formats/mpeg/adts_constants.cc", | |
441 "formats/mpeg/adts_constants.h", | |
442 "formats/mpeg/adts_stream_parser.cc", | |
443 "formats/mpeg/adts_stream_parser.h", | |
444 "formats/mpeg/mpeg1_audio_stream_parser.cc", | |
445 "formats/mpeg/mpeg1_audio_stream_parser.h", | |
446 "formats/mpeg/mpeg_audio_stream_parser_base.cc", | |
447 "formats/mpeg/mpeg_audio_stream_parser_base.h", | |
448 ] | 387 ] |
449 if (enable_mse_mpeg2ts_stream_parser) { | |
450 sources += [ | |
451 "formats/mp2t/descriptors.cc", | |
452 "formats/mp2t/descriptors.h", | |
453 "formats/mp2t/es_adapter_video.cc", | |
454 "formats/mp2t/es_adapter_video.h", | |
455 "formats/mp2t/es_parser.cc", | |
456 "formats/mp2t/es_parser.h", | |
457 "formats/mp2t/es_parser_adts.cc", | |
458 "formats/mp2t/es_parser_adts.h", | |
459 "formats/mp2t/es_parser_h264.cc", | |
460 "formats/mp2t/es_parser_h264.h", | |
461 "formats/mp2t/es_parser_mpeg1audio.cc", | |
462 "formats/mp2t/es_parser_mpeg1audio.h", | |
463 "formats/mp2t/mp2t_common.h", | |
464 "formats/mp2t/mp2t_stream_parser.cc", | |
465 "formats/mp2t/mp2t_stream_parser.h", | |
466 "formats/mp2t/timestamp_unroller.cc", | |
467 "formats/mp2t/timestamp_unroller.h", | |
468 "formats/mp2t/ts_packet.cc", | |
469 "formats/mp2t/ts_packet.h", | |
470 "formats/mp2t/ts_section.h", | |
471 "formats/mp2t/ts_section_pat.cc", | |
472 "formats/mp2t/ts_section_pat.h", | |
473 "formats/mp2t/ts_section_pes.cc", | |
474 "formats/mp2t/ts_section_pes.h", | |
475 "formats/mp2t/ts_section_pmt.cc", | |
476 "formats/mp2t/ts_section_pmt.h", | |
477 "formats/mp2t/ts_section_psi.cc", | |
478 "formats/mp2t/ts_section_psi.h", | |
479 ] | |
480 if (enable_hls_sample_aes) { | |
481 sources += [ | |
482 "formats/mp2t/ts_section_cat.cc", | |
483 "formats/mp2t/ts_section_cat.h", | |
484 "formats/mp2t/ts_section_cets_ecm.cc", | |
485 "formats/mp2t/ts_section_cets_ecm.h", | |
486 "formats/mp2t/ts_section_cets_pssh.cc", | |
487 "formats/mp2t/ts_section_cets_pssh.h", | |
488 ] | |
489 } | |
490 } | |
491 } | 388 } |
492 | 389 |
493 if (use_low_memory_buffer) { | 390 if (use_low_memory_buffer) { |
494 sources += [ | 391 sources += [ |
495 "filters/source_buffer_platform.h", | 392 "filters/source_buffer_platform.h", |
496 "filters/source_buffer_platform_lowmem.cc", | 393 "filters/source_buffer_platform_lowmem.cc", |
497 ] | 394 ] |
498 } else { | 395 } else { |
499 sources += [ | 396 sources += [ |
500 "filters/source_buffer_platform.cc", | 397 "filters/source_buffer_platform.cc", |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
625 ":cdm_api", | 522 ":cdm_api", |
626 ":cdm_paths", | 523 ":cdm_paths", |
627 ":media", | 524 ":media", |
628 ":test_support", | 525 ":test_support", |
629 "//base/test:test_support", | 526 "//base/test:test_support", |
630 "//crypto", | 527 "//crypto", |
631 "//gpu:test_support", | 528 "//gpu:test_support", |
632 "//gpu/command_buffer/common", | 529 "//gpu/command_buffer/common", |
633 "//media/audio:test_support", | 530 "//media/audio:test_support", |
634 "//media/base:test_support", | 531 "//media/base:test_support", |
532 "//media/formats", | |
jrummell
2017/05/13 00:30:39
Since you have this listed as a public_deps on :me
| |
635 "//ppapi/features", | 533 "//ppapi/features", |
636 "//skia", # Direct dependency required to inherit config. | 534 "//skia", # Direct dependency required to inherit config. |
637 "//testing/gmock", | 535 "//testing/gmock", |
638 "//testing/gtest", | 536 "//testing/gtest", |
639 "//third_party/libwebm", | 537 "//third_party/libwebm", |
640 "//third_party/libyuv", | 538 "//third_party/libyuv", |
641 "//third_party/widevine/cdm:headers", | 539 "//third_party/widevine/cdm:headers", |
642 "//ui/gfx:test_support", | 540 "//ui/gfx:test_support", |
643 "//url", | 541 "//url", |
644 ] | 542 ] |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
996 fuzzer_test("media_mp4_avcc_parser_fuzzer") { | 894 fuzzer_test("media_mp4_avcc_parser_fuzzer") { |
997 sources = [ | 895 sources = [ |
998 "formats/mp4/mp4_avcc_parser_fuzzer.cc", | 896 "formats/mp4/mp4_avcc_parser_fuzzer.cc", |
999 ] | 897 ] |
1000 deps = [ | 898 deps = [ |
1001 ":media", | 899 ":media", |
1002 "//base", | 900 "//base", |
1003 ] | 901 ] |
1004 } | 902 } |
1005 } | 903 } |
OLD | NEW |