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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 "filters/ffmpeg_video_decoder.h", | 299 "filters/ffmpeg_video_decoder.h", |
300 "filters/in_memory_url_protocol.cc", | 300 "filters/in_memory_url_protocol.cc", |
301 "filters/in_memory_url_protocol.h", | 301 "filters/in_memory_url_protocol.h", |
302 ] | 302 ] |
303 if (proprietary_codecs) { | 303 if (proprietary_codecs) { |
304 sources += [ | 304 sources += [ |
305 "filters/ffmpeg_aac_bitstream_converter.cc", | 305 "filters/ffmpeg_aac_bitstream_converter.cc", |
306 "filters/ffmpeg_aac_bitstream_converter.h", | 306 "filters/ffmpeg_aac_bitstream_converter.h", |
307 "filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc", | 307 "filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc", |
308 "filters/ffmpeg_h264_to_annex_b_bitstream_converter.h", | 308 "filters/ffmpeg_h264_to_annex_b_bitstream_converter.h", |
| 309 "filters/ffmpeg_h265_to_annex_b_bitstream_converter.cc", |
| 310 "filters/ffmpeg_h265_to_annex_b_bitstream_converter.h", |
309 ] | 311 ] |
310 } | 312 } |
311 } | 313 } |
312 | 314 |
| 315 if (proprietary_codecs) { |
| 316 sources += [ |
| 317 "filters/h265_parser.cc", |
| 318 "filters/h265_parser.h", |
| 319 "formats/mp4/hevc.cc", |
| 320 "formats/mp4/hevc.h", |
| 321 ] |
| 322 } |
| 323 |
313 if (current_cpu == "arm" && arm_use_neon) { | 324 if (current_cpu == "arm" && arm_use_neon) { |
314 defines += [ "USE_NEON" ] | 325 defines += [ "USE_NEON" ] |
315 } | 326 } |
316 | 327 |
317 if (media_use_libvpx) { | 328 if (media_use_libvpx) { |
318 sources += [ | 329 sources += [ |
319 "filters/vpx_video_decoder.cc", | 330 "filters/vpx_video_decoder.cc", |
320 "filters/vpx_video_decoder.h", | 331 "filters/vpx_video_decoder.h", |
321 ] | 332 ] |
322 deps += [ "//third_party/libvpx" ] | 333 deps += [ "//third_party/libvpx" ] |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
642 | 653 |
643 if (current_cpu != "arm" && is_chromeos) { | 654 if (current_cpu != "arm" && is_chromeos) { |
644 sources += [ "filters/h264_bitstream_buffer_unittest.cc" ] | 655 sources += [ "filters/h264_bitstream_buffer_unittest.cc" ] |
645 } | 656 } |
646 | 657 |
647 if (proprietary_codecs) { | 658 if (proprietary_codecs) { |
648 sources += [ | 659 sources += [ |
649 "filters/ffmpeg_aac_bitstream_converter_unittest.cc", | 660 "filters/ffmpeg_aac_bitstream_converter_unittest.cc", |
650 "filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc", | 661 "filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc", |
651 "filters/h264_to_annex_b_bitstream_converter_unittest.cc", | 662 "filters/h264_to_annex_b_bitstream_converter_unittest.cc", |
| 663 "filters/h265_parser_unittest.cc", |
652 "formats/common/stream_parser_test_base.cc", | 664 "formats/common/stream_parser_test_base.cc", |
653 "formats/common/stream_parser_test_base.h", | 665 "formats/common/stream_parser_test_base.h", |
654 "formats/mp2t/es_adapter_video_unittest.cc", | 666 "formats/mp2t/es_adapter_video_unittest.cc", |
655 "formats/mp2t/es_parser_adts_unittest.cc", | 667 "formats/mp2t/es_parser_adts_unittest.cc", |
656 "formats/mp2t/es_parser_h264_unittest.cc", | 668 "formats/mp2t/es_parser_h264_unittest.cc", |
657 "formats/mp2t/es_parser_mpeg1audio_unittest.cc", | 669 "formats/mp2t/es_parser_mpeg1audio_unittest.cc", |
658 "formats/mp2t/es_parser_test_base.cc", | 670 "formats/mp2t/es_parser_test_base.cc", |
659 "formats/mp2t/es_parser_test_base.h", | 671 "formats/mp2t/es_parser_test_base.h", |
660 "formats/mp2t/mp2t_stream_parser_unittest.cc", | 672 "formats/mp2t/mp2t_stream_parser_unittest.cc", |
661 "formats/mp2t/timestamp_unroller_unittest.cc", | 673 "formats/mp2t/timestamp_unroller_unittest.cc", |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
813 deps = [ | 825 deps = [ |
814 ":media", | 826 ":media", |
815 ":shared_memory_support", | 827 ":shared_memory_support", |
816 "//base", | 828 "//base", |
817 "//ui/gl", | 829 "//ui/gl", |
818 "//ui/gfx", | 830 "//ui/gfx", |
819 "//ui/gfx/geometry", | 831 "//ui/gfx/geometry", |
820 ] | 832 ] |
821 } | 833 } |
822 } | 834 } |
OLD | NEW |