Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: source/libvpx/test/test_libvpx.cc

Issue 1339513003: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/libvpx/test/test-data.sha1 ('k') | source/libvpx/test/util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/libvpx/test/test_libvpx.cc
diff --git a/source/libvpx/test/test_libvpx.cc b/source/libvpx/test/test_libvpx.cc
index 264991740ccbc8cf431dea07b373e120d1d4fead..005ea8d13de15149c6ebd63e3ef242b5615400da 100644
--- a/source/libvpx/test/test_libvpx.cc
+++ b/source/libvpx/test/test_libvpx.cc
@@ -26,6 +26,7 @@ extern void vpx_dsp_rtcd();
extern void vpx_scale_rtcd();
}
+#if ARCH_X86 || ARCH_X86_64
static void append_negative_gtest_filter(const char *str) {
std::string filter = ::testing::FLAGS_gtest_filter;
// Negative patterns begin with one '-' followed by a ':' separated list.
@@ -33,6 +34,7 @@ static void append_negative_gtest_filter(const char *str) {
filter += str;
::testing::FLAGS_gtest_filter = filter;
}
+#endif // ARCH_X86 || ARCH_X86_64
int main(int argc, char **argv) {
::testing::InitGoogleTest(&argc, argv);
@@ -55,7 +57,7 @@ int main(int argc, char **argv) {
append_negative_gtest_filter(":AVX.*:AVX/*");
if (!(simd_caps & HAS_AVX2))
append_negative_gtest_filter(":AVX2.*:AVX2/*");
-#endif
+#endif // ARCH_X86 || ARCH_X86_64
#if !CONFIG_SHARED
// Shared library builds don't support whitebox tests
« no previous file with comments | « source/libvpx/test/test-data.sha1 ('k') | source/libvpx/test/util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698