| Index: media/BUILD.gn
|
| diff --git a/media/BUILD.gn b/media/BUILD.gn
|
| index 36667dac146026189ac6689b6228db4e8a56e494..b47595cca2bccb551f1b07b84fc1ca1339f7c269 100644
|
| --- a/media/BUILD.gn
|
| +++ b/media/BUILD.gn
|
| @@ -21,6 +21,7 @@ buildflag_header("media_features") {
|
| "ENABLE_AC3_EAC3_AUDIO_DEMUXING=$enable_ac3_eac3_audio_demuxing",
|
| "ENABLE_CBCS_ENCRYPTION_SCHEME=$enable_cbcs_encryption_scheme",
|
| "ENABLE_HEVC_DEMUXING=$enable_hevc_demuxing",
|
| + "ENABLE_DOLBY_VISION_DEMUXING=$enable_dolby_vision_demuxing",
|
| "ENABLE_HLS_SAMPLE_AES=$enable_hls_sample_aes",
|
| "ENABLE_MSE_MPEG2TS_STREAM_PARSER=$enable_mse_mpeg2ts_stream_parser",
|
| "ENABLE_RUNTIME_MEDIA_RENDERER_SELECTION=$enable_runtime_media_renderer_selection",
|
| @@ -350,6 +351,12 @@ component("media") {
|
| ]
|
| }
|
| }
|
| + if (proprietary_codecs && enable_dolby_vision_demuxing) {
|
| + sources += [
|
| + "formats/mp4/dolby_vision.cc",
|
| + "formats/mp4/dolby_vision.h",
|
| + ]
|
| + }
|
|
|
| if (current_cpu == "arm" && arm_use_neon) {
|
| defines += [ "USE_NEON" ]
|
| @@ -704,6 +711,9 @@ source_set("unit_tests") {
|
| if (enable_hls_sample_aes) {
|
| deps += [ "//third_party/boringssl" ]
|
| }
|
| + if (enable_dolby_vision_demuxing) {
|
| + sources += [ "formats/mp4/dolby_vision_unittest.cc" ]
|
| + }
|
| }
|
|
|
| if (is_mac || is_ios) {
|
|
|