| Index: media/BUILD.gn
|
| diff --git a/media/BUILD.gn b/media/BUILD.gn
|
| index c4d3ea3927b5b1b037c50d49e777e72718606242..4cbe85aa9df411d437b2296b5dde8845e3fe57b8 100644
|
| --- a/media/BUILD.gn
|
| +++ b/media/BUILD.gn
|
| @@ -306,6 +306,21 @@ component("media") {
|
| }
|
| }
|
|
|
| + if (proprietary_codecs && enable_hevc_demuxing) {
|
| + sources += [
|
| + "filters/h265_parser.cc",
|
| + "filters/h265_parser.h",
|
| + "formats/mp4/hevc.cc",
|
| + "formats/mp4/hevc.h",
|
| + ]
|
| + if (media_use_ffmpeg) {
|
| + sources += [
|
| + "filters/ffmpeg_h265_to_annex_b_bitstream_converter.cc",
|
| + "filters/ffmpeg_h265_to_annex_b_bitstream_converter.h",
|
| + ]
|
| + }
|
| + }
|
| +
|
| if (cpu_arch == "arm" && arm_use_neon) {
|
| defines += [ "USE_NEON" ]
|
| }
|
| @@ -530,6 +545,7 @@ test("media_unittests") {
|
| "filters/frame_processor_unittest.cc",
|
| "filters/h264_bit_reader_unittest.cc",
|
| "filters/h264_parser_unittest.cc",
|
| + "filters/h265_parser_unittest.cc",
|
| "filters/jpeg_parser_unittest.cc",
|
| "filters/renderer_impl_unittest.cc",
|
| "filters/skcanvas_video_renderer_unittest.cc",
|
|
|