diff --git a/src/modules/video_coding/codecs/vp8/main/source/vp8.gyp b/src/modules/video_coding/codecs/vp8/main/source/vp8.gyp index 4f7aeb8f46..3b08ecc74e 100644 --- a/src/modules/video_coding/codecs/vp8/main/source/vp8.gyp +++ b/src/modules/video_coding/codecs/vp8/main/source/vp8.gyp @@ -21,29 +21,16 @@ ], 'conditions': [ ['build_with_chromium==1', { + 'include_dirs': [ + '../../../../../../../libvpx/source/libvpx', + ], 'conditions': [ - ['target_arch=="arm"', { + ['OS!="win"', { + # We don't want to link with the static library inside Chromium + # on Windows. Chromium uses the ffmpeg DLL and exports the + # necessary libvpx symbols for us. 'dependencies': [ - '../../../../../../../libvpx/libvpx.gyp:libvpx_lib', - '../../../../../../../libvpx/libvpx.gyp:libvpx_include', - ], - }, { # arm - 'conditions': [ - ['OS=="win"', { - 'dependencies': [ - # We don't want to link with the static library inside Chromium - # on Windows. Chromium uses the ffmpeg DLL and exports the - # necessary libvpx symbols for us. - '../../../../../../../libvpx/libvpx.gyp:libvpx_include', - ], - },{ # non-arm, win - 'dependencies': [ - '../../../../../../../libvpx/libvpx.gyp:libvpx', - ], - 'include_dirs': [ - '../../../../../../../libvpx/source/libvpx', - ], - }], # non-arm, non-win + '../../../../../../../libvpx/libvpx.gyp:libvpx', ], }], ],