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", |