Revert of Don't link with audio codecs that we don't use (patchset #4 id:60001 of https://codereview.webrtc.org/1349393003/ )
Reason for revert: Breaking Chromium FYI bots. Original issue's description: > Don't link with audio codecs that we don't use > > We used to link with all audio codecs unconditionally (except Opus); > this patch makes gyp and gn only link to the ones that are used. > > (This unfortunately fails to have a measurable impact on Chromium > binary size, at least on x86_64 Linux; it turns out that iLBC and iSAC > fix were already being excluded from Chromium by some other means > (likely just the linker omitting compilation units with no incoming > references).) > > BUG=webrtc:4557 > > Committed: https://crrev.com/f66a9251424351ea6d631c54dd1feb64cc13d809 > Cr-Commit-Position: refs/heads/master@{#10046} TBR=henrik.lundin@webrtc.org,tina.legrand@webrtc.org,kjellander@webrtc.org,kwiberg@webrtc.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=webrtc:4557 Review URL: https://codereview.webrtc.org/1368933002 Cr-Commit-Position: refs/heads/master@{#10069}
This commit is contained in:
@ -13,7 +13,11 @@
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#ifndef AUDIO_DECODER_UNITTEST
|
||||
// If this is compiled as a part of the audio_deoder_unittest, the codec
|
||||
// selection is made in the gypi file instead of in engine_configurations.h.
|
||||
#include "webrtc/engine_configurations.h"
|
||||
#endif
|
||||
#include "webrtc/base/constructormagic.h"
|
||||
#include "webrtc/modules/audio_coding/codecs/audio_decoder.h"
|
||||
#include "webrtc/modules/audio_coding/codecs/cng/include/webrtc_cng.h"
|
||||
|
Reference in New Issue
Block a user