Commit 92d50233 authored by Tom Finegan's avatar Tom Finegan

Fix CONFIG_AOM_QM builds with CMake.

Exclude test/quantize_func_test.cc from the build when
CONFIG_AOM_QM or CONFIG_NEW_QUANT are enabled to mimic the
configure build.

BUG=aomedia:683

Change-Id: Ib1358d466aedad4a784b4693f74babacf86cda7a
parent 1d179187
......@@ -215,11 +215,16 @@ if (CONFIG_AV1_ENCODER)
"${AOM_ROOT}/test/fdct8x8_test.cc"
"${AOM_ROOT}/test/hadamard_test.cc"
"${AOM_ROOT}/test/minmax_test.cc"
"${AOM_ROOT}/test/quantize_func_test.cc"
"${AOM_ROOT}/test/subtract_test.cc"
"${AOM_ROOT}/test/sum_squares_test.cc"
"${AOM_ROOT}/test/variance_test.cc")
if (NOT CONFIG_AOM_QM AND NOT CONFIG_NEW_QUANT)
set(AOM_UNIT_TEST_ENCODER_SOURCES
${AOM_UNIT_TEST_ENCODER_SOURCES}
"${AOM_ROOT}/test/quantize_func_test.cc")
endif ()
if (CONFIG_CONVOLVE_ROUND)
set(AOM_UNIT_TEST_ENCODER_SOURCES
${AOM_UNIT_TEST_ENCODER_SOURCES}
......
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