diff --git a/talk/media/base/videoadapter_unittest.cc b/talk/media/base/videoadapter_unittest.cc index 43bfe2256..8d1552390 100755 --- a/talk/media/base/videoadapter_unittest.cc +++ b/talk/media/base/videoadapter_unittest.cc @@ -25,6 +25,8 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +// If we don't have a WebRtcVideoFrame, just skip all of these tests. +#if defined(HAVE_WEBRTC_VIDEO) #include // For INT_MAX #include #include @@ -1303,3 +1305,4 @@ TEST_F(VideoAdapterTest, CpuIgnoresSpikes) { } } // namespace cricket +#endif // HAVE_WEBRTC_VIDEO