Move AudioDecoder and related stuff to the api/ directory
BUG=webrtc:5805, webrtc:6725
Review-Url: https://codereview.webrtc.org/2668523004
Cr-Commit-Position: refs/heads/master@{#16534}
diff --git a/webrtc/api/DEPS b/webrtc/api/DEPS
index 4543a44..0b3778b 100644
--- a/webrtc/api/DEPS
+++ b/webrtc/api/DEPS
@@ -12,9 +12,11 @@
"+webrtc/voice_engine",
],
- # TODO(kwiberg): Remove this exception when audio_decoder_factory.h
- # has moved to api/.
- "peerconnectioninterface\.h": [
- "+webrtc/modules/audio_coding/codecs/audio_decoder_factory.h",
+ # We allow .cc files in webrtc/api/ to #include a bunch of stuff
+ # that's off-limits for the .h files. That's because .h files leak
+ # their #includes to whoever's #including them, but .cc files do not
+ # since no one #includes them.
+ ".*\.cc": [
+ "+webrtc/modules/audio_coding",
],
}