Skip to content

Commit 2e4bb62

Browse files
committed
intel_adsp_ace15_mtpm.conf: replace blanket _STUBS with focused RTC MOCK
CONFIG_COMP_STUBS=y was enabled in #8722 / commit 8e34109 ("AEC: Enable Google AEC with Mock compliation"). CONFIG_COMP_STUBS indirectly enables CONFIG_GOOGLE_RTC_AUDIO_PROCESSING_MOCK which was the desired effect. However it also automatically and silently "mocks" all other 3rd party modules which is not desirable. So, replace it with the more focused `CONFIG_GOOGLE_RTC_AUDIO_PROCESSING_MOCK`. `src/audio/Kconfig` says "CONFIG_STUBS: This should only be used in testing environments like fuzzers or CI." Official sof-bin releases include `google_rtc_audio_processing_mock.c` because the CI that uses it can't use extra CONFIGS. That's another topic for another day, see #9410. build-mtl/zephyr.strip is identical before versus after this commit. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
1 parent 7b021f6 commit 2e4bb62

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

app/boards/intel_adsp_ace15_mtpm.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ CONFIG_PROBE=y
104104
CONFIG_PROBE_DMA_MAX=2
105105
CONFIG_LOG_TIMESTAMP_64BIT=y
106106

107+
# This mock is part of official sof-bin releases because the CI that
108+
# tests it can't use extra CONFIGs. See #9410, #8722 and #9386
107109
CONFIG_COMP_GOOGLE_RTC_AUDIO_PROCESSING=y
108-
CONFIG_COMP_STUBS=y
110+
CONFIG_GOOGLE_RTC_AUDIO_PROCESSING_MOCK=y
109111

110112
CONFIG_KCPS_DYNAMIC_CLOCK_CONTROL=y

0 commit comments

Comments
 (0)