Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1090)

Unified Diff: media/BUILD.gn

Issue 2640113004: Introduce Dolby Vision video codec and Demuxer support (Closed)
Patch Set: fix build break on Android Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/ipc/common/gpu_info_struct_traits.cc ('k') | media/base/mime_util_internal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « gpu/ipc/common/gpu_info_struct_traits.cc ('k') | media/base/mime_util_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698