Commit 82a1340e authored by Tom Finegan's avatar Tom Finegan

Disallow combining CONFIG_ANS and CONFIG_DAALA_EC in the cmake build.

- Report error and kill generation. The two features collide.

BUG=https://bugs.chromium.org/p/aomedia/issues/detail?id=76

Change-Id: I5df034befb4e2db076a6882444160e1fd6529c98
parent 15580c52
......@@ -141,6 +141,11 @@ aom_check_source_compiles("aom_ports_check"
aom_check_source_compiles("pthread_check" "#include <pthread.h>" HAVE_PTHREAD_H)
aom_check_source_compiles("unistd_check" "#include <unistd.h>" HAVE_UNISTD_H)
if (CONFIG_ANS AND CONFIG_DAALA_EC)
message(FATAL_ERROR
"CONFIG_ANS and CONFIG_DAALA_EC cannot be enabled together.")
endif ()
# TODO(tomfinegan): consume trailing whitespace after configure_file() when
# target platform check produces empty INLINE and RESTRICT values (aka empty
# values require special casing).
......
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