| Index: media/BUILD.gn
|
| diff --git a/media/BUILD.gn b/media/BUILD.gn
|
| index 4445c3281299cfd2a9738f9e70e1365ceaeb6df9..af7aa572422b6fb882934ea9376d4b10d6e9a644 100644
|
| --- a/media/BUILD.gn
|
| +++ b/media/BUILD.gn
|
| @@ -13,6 +13,12 @@ import("//media/media_options.gni")
|
| # NOT for exporting.
|
| config("media_config") {
|
| defines = [ "MEDIA_IMPLEMENTATION" ]
|
| + if (!media_use_libvpx) {
|
| + defines += [ "MEDIA_DISABLE_LIBVPX" ]
|
| + }
|
| + if (!media_use_ffmpeg) {
|
| + defines += [ "MEDIA_DISABLE_FFMPEG" ]
|
| + }
|
| if (cpu_arch == "arm" && arm_use_neon) {
|
| defines += [ "USE_NEON" ]
|
| }
|
| @@ -32,6 +38,9 @@ config("media_dependent_config") {
|
| if (!media_use_libvpx) {
|
| defines += [ "MEDIA_DISABLE_LIBVPX" ]
|
| }
|
| + if (!media_use_ffmpeg) {
|
| + defines += [ "MEDIA_DISABLE_FFMPEG" ]
|
| + }
|
| if (is_win) {
|
| ldflags = [
|
| "/DELAYLOAD:mf.dll",
|
|
|