ossu a1a040a4a4 Injectable audio encoders: BuiltinAudioEncoderFactory
This CL contains all the changes made to audio_coding while making
audio encoders injectable. Apart from some small changes to
webrtcvoiceengine, nothing here is hooked up to the outside
world. Those changes will be added to a follow-up CL.

BUG=webrtc:5806

Review-Url: https://codereview.webrtc.org/2695243005
Cr-Commit-Position: refs/heads/master@{#17569}
2017-04-06 17:03:21 +00:00

30 lines
813 B
Python

include_rules = [
"+third_party/libyuv",
"+webrtc/base",
"+webrtc/common_video",
"+webrtc/media",
"+webrtc/p2p",
"+webrtc/pc",
]
specific_include_rules = {
"peerconnection_jni\.cc": [
"+webrtc/voice_engine",
],
# TODO(ossu): Remove this exception when {builtin_,}audio_encoder_factory.h
# has moved to api/.
"peerconnectioninterface\.h": [
"+webrtc/modules/audio_coding/codecs/audio_encoder_factory.h",
"+webrtc/modules/audio_coding/codecs/builtin_audio_encoder_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",
],
}