Commit 1d179187 authored by Tom Finegan's avatar Tom Finegan

Fix CONFIG_ANS builds with CMake.

Exclude test/binary_codes_test.cc from the build when
CONFIG_ANS is enabled to mimic the configure build.

BUG=aomedia:683

Change-Id: Ia40dcc667173d50efb55a09b6ae863bf44e15608
parent 4b92ab86
......@@ -278,7 +278,6 @@ if (NOT BUILD_SHARED_LIBS)
if (CONFIG_AV1_DECODER AND CONFIG_AV1_ENCODER)
set(AOM_UNIT_TEST_COMMON_SOURCES
${AOM_UNIT_TEST_COMMON_SOURCES}
"${AOM_ROOT}/test/binary_codes_test.cc"
"${AOM_ROOT}/test/divu_small_test.cc"
"${AOM_ROOT}/test/ethread_test.cc"
"${AOM_ROOT}/test/idct8x8_test.cc"
......@@ -294,6 +293,7 @@ if (NOT BUILD_SHARED_LIBS)
else ()
set(AOM_UNIT_TEST_COMMON_SOURCES
${AOM_UNIT_TEST_COMMON_SOURCES}
"${AOM_ROOT}/test/binary_codes_test.cc"
"${AOM_ROOT}/test/boolcoder_test.cc")
endif ()
......
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