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/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/arm.gni") | 6 import("//build/config/arm.gni") |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
8 import("//build/config/linux/pkg_config.gni") | 8 import("//build/config/linux/pkg_config.gni") |
9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
10 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 "filters/ffmpeg_video_decoder.h", | 308 "filters/ffmpeg_video_decoder.h", |
309 "filters/in_memory_url_protocol.cc", | 309 "filters/in_memory_url_protocol.cc", |
310 "filters/in_memory_url_protocol.h", | 310 "filters/in_memory_url_protocol.h", |
311 ] | 311 ] |
312 if (proprietary_codecs) { | 312 if (proprietary_codecs) { |
313 sources += [ | 313 sources += [ |
314 "filters/ffmpeg_aac_bitstream_converter.cc", | 314 "filters/ffmpeg_aac_bitstream_converter.cc", |
315 "filters/ffmpeg_aac_bitstream_converter.h", | 315 "filters/ffmpeg_aac_bitstream_converter.h", |
316 "filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc", | 316 "filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc", |
317 "filters/ffmpeg_h264_to_annex_b_bitstream_converter.h", | 317 "filters/ffmpeg_h264_to_annex_b_bitstream_converter.h", |
| 318 "filters/ffmpeg_h265_to_annex_b_bitstream_converter.cc", |
| 319 "filters/ffmpeg_h265_to_annex_b_bitstream_converter.h", |
318 ] | 320 ] |
319 } | 321 } |
320 } | 322 } |
321 | 323 |
| 324 if (proprietary_codecs) { |
| 325 sources += [ |
| 326 "filters/h265_parser.cc", |
| 327 "filters/h265_parser.h", |
| 328 "formats/mp4/hevc.cc", |
| 329 "formats/mp4/hevc.h", |
| 330 ] |
| 331 } |
| 332 |
322 if (current_cpu == "arm" && arm_use_neon) { | 333 if (current_cpu == "arm" && arm_use_neon) { |
323 defines += [ "USE_NEON" ] | 334 defines += [ "USE_NEON" ] |
324 } | 335 } |
325 | 336 |
326 if (media_use_libvpx) { | 337 if (media_use_libvpx) { |
327 sources += [ | 338 sources += [ |
328 "filters/vpx_video_decoder.cc", | 339 "filters/vpx_video_decoder.cc", |
329 "filters/vpx_video_decoder.h", | 340 "filters/vpx_video_decoder.h", |
330 ] | 341 ] |
331 deps += [ "//third_party/libvpx" ] | 342 deps += [ "//third_party/libvpx" ] |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
615 if (current_cpu != "arm" && is_chromeos) { | 626 if (current_cpu != "arm" && is_chromeos) { |
616 sources += [ "filters/h264_bitstream_buffer_unittest.cc" ] | 627 sources += [ "filters/h264_bitstream_buffer_unittest.cc" ] |
617 } | 628 } |
618 | 629 |
619 if (proprietary_codecs) { | 630 if (proprietary_codecs) { |
620 sources += [ | 631 sources += [ |
621 "cdm/cenc_utils_unittest.cc", | 632 "cdm/cenc_utils_unittest.cc", |
622 "filters/ffmpeg_aac_bitstream_converter_unittest.cc", | 633 "filters/ffmpeg_aac_bitstream_converter_unittest.cc", |
623 "filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc", | 634 "filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc", |
624 "filters/h264_to_annex_b_bitstream_converter_unittest.cc", | 635 "filters/h264_to_annex_b_bitstream_converter_unittest.cc", |
| 636 "filters/h265_parser_unittest.cc", |
625 "formats/common/stream_parser_test_base.cc", | 637 "formats/common/stream_parser_test_base.cc", |
626 "formats/common/stream_parser_test_base.h", | 638 "formats/common/stream_parser_test_base.h", |
627 "formats/mp2t/es_adapter_video_unittest.cc", | 639 "formats/mp2t/es_adapter_video_unittest.cc", |
628 "formats/mp2t/es_parser_adts_unittest.cc", | 640 "formats/mp2t/es_parser_adts_unittest.cc", |
629 "formats/mp2t/es_parser_h264_unittest.cc", | 641 "formats/mp2t/es_parser_h264_unittest.cc", |
630 "formats/mp2t/es_parser_mpeg1audio_unittest.cc", | 642 "formats/mp2t/es_parser_mpeg1audio_unittest.cc", |
631 "formats/mp2t/es_parser_test_base.cc", | 643 "formats/mp2t/es_parser_test_base.cc", |
632 "formats/mp2t/es_parser_test_base.h", | 644 "formats/mp2t/es_parser_test_base.h", |
633 "formats/mp2t/mp2t_stream_parser_unittest.cc", | 645 "formats/mp2t/mp2t_stream_parser_unittest.cc", |
634 "formats/mp2t/timestamp_unroller_unittest.cc", | 646 "formats/mp2t/timestamp_unroller_unittest.cc", |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
763 "//media/base:test_support", | 775 "//media/base:test_support", |
764 "//media/test:pipeline_integration_tests", | 776 "//media/test:pipeline_integration_tests", |
765 "//testing/gmock", | 777 "//testing/gmock", |
766 "//testing/gtest", | 778 "//testing/gtest", |
767 "//third_party/ffmpeg", | 779 "//third_party/ffmpeg", |
768 "//ui/gfx/geometry", | 780 "//ui/gfx/geometry", |
769 "//ui/gfx:test_support", | 781 "//ui/gfx:test_support", |
770 ] | 782 ] |
771 } | 783 } |
772 } | 784 } |
OLD | NEW |