Commit 7d163c50 authored by Tom Finegan's avatar Tom Finegan

cmake: Silence warnings when daala_tx is disabled.

daala_fwd_txfm and daala_inv_txfm export no symbols when
CONFIG_DAALA_TX is disabled. Don't build them.

Change-Id: I0b991248e4151de51c41fc1006ba3065d1b8d36b
parent 52d6c895
......@@ -35,8 +35,6 @@ set(AOM_AV1_COMMON_SOURCES
"${AOM_ROOT}/av1/common/convolve.h"
"${AOM_ROOT}/av1/common/daala_tx.c"
"${AOM_ROOT}/av1/common/daala_tx.h"
"${AOM_ROOT}/av1/common/daala_inv_txfm.c"
"${AOM_ROOT}/av1/common/daala_inv_txfm.h"
"${AOM_ROOT}/av1/common/debugmodes.c"
"${AOM_ROOT}/av1/common/entropy.c"
"${AOM_ROOT}/av1/common/entropy.h"
......@@ -78,6 +76,13 @@ set(AOM_AV1_COMMON_SOURCES
"${AOM_ROOT}/av1/common/tile_common.c"
"${AOM_ROOT}/av1/common/tile_common.h")
if (CONFIG_DAALA_TX)
set(AOM_AV1_COMMON_SOURCES
${AOM_AV1_COMMON_SOURCES}
"${AOM_ROOT}/av1/common/daala_inv_txfm.c"
"${AOM_ROOT}/av1/common/daala_inv_txfm.h")
endif ()
set(AOM_AV1_DECODER_SOURCES
"${AOM_ROOT}/av1/av1_dx_iface.c"
"${AOM_ROOT}/av1/decoder/decodeframe.c"
......@@ -111,8 +116,6 @@ set(AOM_AV1_ENCODER_SOURCES
"${AOM_ROOT}/av1/encoder/context_tree.h"
"${AOM_ROOT}/av1/encoder/cost.c"
"${AOM_ROOT}/av1/encoder/cost.h"
"${AOM_ROOT}/av1/encoder/daala_fwd_txfm.c"
"${AOM_ROOT}/av1/encoder/daala_fwd_txfm.h"
"${AOM_ROOT}/av1/encoder/dct.c"
"${AOM_ROOT}/av1/encoder/encodeframe.c"
"${AOM_ROOT}/av1/encoder/encodeframe.h"
......@@ -161,6 +164,13 @@ set(AOM_AV1_ENCODER_SOURCES
"${AOM_ROOT}/av1/encoder/treewriter.c"
"${AOM_ROOT}/av1/encoder/treewriter.h")
if (CONFIG_DAALA_TX)
set(AOM_AV1_ENCODER_SOURCES
${AOM_AV1_ENCODER_SOURCES}
"${AOM_ROOT}/av1/encoder/daala_fwd_txfm.c"
"${AOM_ROOT}/av1/encoder/daala_fwd_txfm.h")
endif ()
set(AOM_AV1_COMMON_INTRIN_SSE2
"${AOM_ROOT}/av1/common/x86/idct_intrin_sse2.c")
......
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