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

Unified Diff: media/BUILD.gn

Issue 1415793003: fix build when ffmpeg, libvpx and libwebm are disabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | « content/renderer/pepper/video_decoder_shim.cc ('k') | media/blink/webmediaplayer_impl.cc » ('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 f19131762134d6140f0663b25e7a6901a1b05313..b5e2e403fd991568af3522ded8cbfbc50e6b481b 100644
--- a/media/BUILD.gn
+++ b/media/BUILD.gn
@@ -20,6 +20,9 @@ config("media_config") {
if (!media_use_ffmpeg) {
defines += [ "MEDIA_DISABLE_FFMPEG" ]
}
+ if (!media_use_libwebm) {
+ defines += [ "MEDIA_DISABLE_LIBWEBM" ]
+ }
if (current_cpu == "arm" && arm_use_neon) {
defines += [ "USE_NEON" ]
}
@@ -49,6 +52,9 @@ config("media_dependent_config") {
if (!media_use_ffmpeg) {
defines += [ "MEDIA_DISABLE_FFMPEG" ]
}
+ if (!media_use_libwebm) {
+ defines += [ "MEDIA_DISABLE_LIBWEBM" ]
+ }
if (is_win) {
ldflags = [
"/DELAYLOAD:mf.dll",
« no previous file with comments | « content/renderer/pepper/video_decoder_shim.cc ('k') | media/blink/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698