aboutsummaryrefslogtreecommitdiff
path: root/tests/libgav1_tests.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libgav1_tests.cmake')
-rw-r--r--tests/libgav1_tests.cmake20
1 files changed, 6 insertions, 14 deletions
diff --git a/tests/libgav1_tests.cmake b/tests/libgav1_tests.cmake
index 2b3f41c..c759d4f 100644
--- a/tests/libgav1_tests.cmake
+++ b/tests/libgav1_tests.cmake
@@ -96,9 +96,13 @@ list(APPEND libgav1_common_sse4_test_sources
list(APPEND libgav1_convolve_test_sources
"${libgav1_source}/dsp/convolve_test.cc")
list(APPEND libgav1_cpu_test_sources "${libgav1_source}/utils/cpu_test.cc")
-list(APPEND libgav1_c_decoder_test_sources "${libgav1_source}/c_decoder_test.c")
+list(APPEND libgav1_c_decoder_test_sources
+ "${libgav1_source}/c_decoder_test.c"
+ "${libgav1_source}/decoder_test_data.h")
list(APPEND libgav1_c_version_test_sources "${libgav1_source}/c_version_test.c")
-list(APPEND libgav1_decoder_test_sources "${libgav1_source}/decoder_test.cc")
+list(APPEND libgav1_decoder_test_sources
+ "${libgav1_source}/decoder_test.cc"
+ "${libgav1_source}/decoder_test_data.h")
list(APPEND libgav1_decoder_buffer_test_sources
"${libgav1_source}/decoder_buffer_test.cc")
list(APPEND libgav1_distance_weighted_blend_test_sources
@@ -217,18 +221,6 @@ macro(libgav1_add_tests_targets)
${libgav1_gtest_include_paths}
${libgav1_include_paths})
- if(ANDROID OR IOS)
- if(DEFINED LIBGAV1_THREADPOOL_USE_STD_MUTEX
- AND NOT LIBGAV1_THREADPOOL_USE_STD_MUTEX)
- set(use_absl_threading TRUE)
- endif()
- elseif(NOT
- (DEFINED
- LIBGAV1_THREADPOOL_USE_STD_MUTEX
- AND LIBGAV1_THREADPOOL_USE_STD_MUTEX))
- set(use_absl_threading TRUE)
- endif()
-
if(use_absl_threading)
list(APPEND libgav1_common_test_absl_deps absl::synchronization)
endif()