Don't use libvpx if it is disabled in GN build
commita14f01541605edd7538b2faa24b766060f0d5d46
authorhclam <hclam@chromium.org>
Thu, 28 Aug 2014 20:51:51 +0000 (28 13:51 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 28 Aug 2014 20:52:50 +0000 (28 20:52 +0000)
tree9fdc418008dec05c9e8907cf14c851f9a57defc4
parent7ddf94b2bd03be89f9c199f486a843a2c8d4862d
Don't use libvpx if it is disabled in GN build

This change excludes libvpx from linking if it is disabled. This is
needed to enable linking Chrome with GN, since libvpx is not building
with GN yet.

Review URL: https://codereview.chromium.org/501153003

Cr-Commit-Position: refs/heads/master@{#292457}
media/cast/BUILD.gn
media/cast/sender/video_encoder_impl.cc
remoting/client/software_video_renderer.cc
remoting/protocol/session_config.cc