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

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: Patch Set 2 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
Index: media/BUILD.gn
diff --git a/media/BUILD.gn b/media/BUILD.gn
index 52af4930d44f187a9537058826ed5832b25b4dc5..2956b2a6a54f82ca2abbb00814fee9719e3a2de2 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",

Powered by Google App Engine
This is Rietveld 408576698