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

Unified Diff: media/gpu/BUILD.gn

Issue 2552883003: media: Pare MCVD down to a minimal media::VideoDecoder (Closed)
Patch Set: Created 4 years 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 | « media/base/test_helpers.cc ('k') | media/gpu/android/media_codec_video_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/BUILD.gn
diff --git a/media/gpu/BUILD.gn b/media/gpu/BUILD.gn
index b2963c3b95ad911349dca19009dd637c21d67b28..76fff7add14142728585bc553c2fcc5e772cab7c 100644
--- a/media/gpu/BUILD.gn
+++ b/media/gpu/BUILD.gn
@@ -8,6 +8,12 @@ import("//media/gpu/args.gni")
import("//media/media_options.gni")
import("//testing/test.gni")
+declare_args() {
+ # A temporary arg for building MCVD while it's being implemented.
+ # See http://crbug.com/660942
+ enable_media_codec_video_decoder = false
+}
+
if (is_mac) {
import("//build/config/mac/mac_sdk.gni")
}
@@ -190,6 +196,13 @@ component("gpu") {
]
}
+ if (enable_media_codec_video_decoder) {
+ sources += [
+ "android/media_codec_video_decoder.cc",
+ "android/media_codec_video_decoder.h",
+ ]
+ }
+
# TODO(xhwang): This is needed for AVDA to access the CDM directly.
# Remove this dependency after VDAs are also running as part of the mojo
# media service. See http://crbug.com/522298
@@ -415,6 +428,9 @@ source_set("android_video_decode_accelerator_unittests") {
"android_video_decode_accelerator_unittest.cc",
"avda_codec_allocator_unittest.cc",
]
+ if (enable_media_codec_video_decoder) {
+ sources += [ "android/media_codec_video_decoder_unittest.cc" ]
+ }
deps = [
":gpu",
"//base/test:test_support",
« no previous file with comments | « media/base/test_helpers.cc ('k') | media/gpu/android/media_codec_video_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698