Commit 188880b6 authored by Tom Finegan's avatar Tom Finegan

Remove test support from aom_dsp.cmake.

Removes a dupe. The CONFIG_MOTION_VAR testing support exists
in test/test.cmake.

- Remove the source file references.
- Remove setup_aom_dsp_test_targets().

Change-Id: Ifa034582223641d6d89a3274ff293c1e65cbb73d
parent 677bdf56
......@@ -622,9 +622,6 @@ endif ()
if (CONFIG_UNIT_TESTS)
# Create test_libaom target and the targets it depends on.
setup_aom_test_targets()
# Create aom_dsp test targets and update dependent test targets.
setup_aom_dsp_test_targets()
endif ()
if (XCODE)
......
......@@ -270,11 +270,6 @@ if (CONFIG_MOTION_VAR)
${AOM_DSP_ENCODER_INTRIN_SSE4_1}
"${AOM_ROOT}/aom_dsp/x86/obmc_sad_sse4.c"
"${AOM_ROOT}/aom_dsp/x86/obmc_variance_sse4.c")
set(AOM_DSP_ENCODER_UNIT_TEST_INTRIN_SSE4_1
${AOM_DSP_ENCODER_UNIT_TEST_INTRIN_SSE4_1}
"${AOM_ROOT}/test/obmc_sad_test.cc"
"${AOM_ROOT}/test/obmc_variance_test.cc")
endif ()
set(AOM_LIB_TARGETS ${AOM_LIB_TARGETS} aom_dsp_common)
......@@ -369,16 +364,3 @@ function (setup_aom_dsp_targets)
# $AOM_LIB_TARGETS.
set(AOM_LIB_TARGETS ${AOM_LIB_TARGETS} PARENT_SCOPE)
endfunction ()
# Sets up aom_dsp test targets. The test_libaom target must be created before
# this function is called.
function (setup_aom_dsp_test_targets)
if (HAVE_SSE_4_1)
if (CONFIG_ENCODERS)
if (CONFIG_UNIT_TESTS AND AOM_DSP_ENCODER_UNIT_TEST_INTRIN_SSE4_1)
add_intrinsics_source_to_target("-msse4.1" "test_libaom"
"AOM_DSP_ENCODER_UNIT_TEST_INTRIN_SSE4_1")
endif ()
endif ()
endif ()
endfunction ()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment