Index: webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc |
diff --git a/webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc b/webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc |
index 7650a250ce2e6f34581483331e81f12db7f2fa9c..b8a4c5a41af4fa70b8118dfdac46a189f87eb589 100644 |
--- a/webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc |
+++ b/webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc |
@@ -17,7 +17,6 @@ |
#include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" |
#include "webrtc/system_wrappers/include/tick_util.h" |
#include "webrtc/test/testsupport/fileutils.h" |
-#include "webrtc/test/testsupport/gtest_disable.h" |
namespace webrtc { |
@@ -221,7 +220,11 @@ TEST_F(TestVp8Impl, EncoderParameterTest) { |
EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, decoder_->InitDecode(&codec_inst_, 1)); |
} |
-TEST_F(TestVp8Impl, DISABLED_ON_ANDROID(AlignedStrideEncodeDecode)) { |
+#if defined(WEBRTC_ANDROID) |
+TEST_F(TestVp8Impl, DISABLED_AlignedStrideEncodeDecode) { |
+#else |
+TEST_F(TestVp8Impl, AlignedStrideEncodeDecode) { |
+#endif |
SetUpEncodeDecode(); |
encoder_->Encode(input_frame_, NULL, NULL); |
EXPECT_GT(WaitForEncodedFrame(), 0u); |
@@ -237,7 +240,11 @@ TEST_F(TestVp8Impl, DISABLED_ON_ANDROID(AlignedStrideEncodeDecode)) { |
EXPECT_EQ(kTestNtpTimeMs, decoded_frame_.ntp_time_ms()); |
} |
-TEST_F(TestVp8Impl, DISABLED_ON_ANDROID(DecodeWithACompleteKeyFrame)) { |
+#if defined(WEBRTC_ANDROID) |
+TEST_F(TestVp8Impl, DISABLED_DecodeWithACompleteKeyFrame) { |
+#else |
+TEST_F(TestVp8Impl, DecodeWithACompleteKeyFrame) { |
+#endif |
SetUpEncodeDecode(); |
encoder_->Encode(input_frame_, NULL, NULL); |
EXPECT_GT(WaitForEncodedFrame(), 0u); |