blob: b0493fab54196fdf4a5bd3e18b9954815afbc256 [file] [log] [blame]
kjellander@webrtc.org94a23f02016-03-17 12:05:36 +01001include_rules = [
2 "+third_party/libyuv",
3 "+webrtc/base",
4 "+webrtc/common_video",
5 "+webrtc/media",
6 "+webrtc/p2p",
7 "+webrtc/pc",
kjellander@webrtc.org94a23f02016-03-17 12:05:36 +01008]
9
10specific_include_rules = {
kjellander@webrtc.org94a23f02016-03-17 12:05:36 +010011 "peerconnection_jni\.cc": [
12 "+webrtc/voice_engine",
ossu29b1a8d2016-06-13 07:34:51 -070013 ],
kwiberg1e4e8cb2017-01-31 01:48:08 -080014
ossua1a040a2017-04-06 10:03:21 -070015 # TODO(ossu): Remove this exception when {builtin_,}audio_encoder_factory.h
16 # has moved to api/.
17 "peerconnectioninterface\.h": [
zhihuang38ede132017-06-15 12:52:32 -070018 "+webrtc/call/callfactoryinterface.h",
19 "+webrtc/logging/rtc_event_log/rtc_event_log_factory_interface.h",
ossua1a040a2017-04-06 10:03:21 -070020 "+webrtc/modules/audio_coding/codecs/audio_encoder_factory.h",
21 "+webrtc/modules/audio_coding/codecs/builtin_audio_encoder_factory.h",
22 ],
23
kwiberg96da0112017-06-30 04:23:22 -070024 # Needed because AudioEncoderOpus is in the wrong place for
25 # backwards compatibilty reasons. See
26 # https://bugs.chromium.org/p/webrtc/issues/detail?id=7847
27 "audio_encoder_opus\.h": [
28 "+webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.h",
29 ],
30
kwiberg087bd342017-02-10 08:15:44 -080031 # We allow .cc files in webrtc/api/ to #include a bunch of stuff
32 # that's off-limits for the .h files. That's because .h files leak
33 # their #includes to whoever's #including them, but .cc files do not
34 # since no one #includes them.
35 ".*\.cc": [
36 "+webrtc/modules/audio_coding",
kwiberg1e4e8cb2017-01-31 01:48:08 -080037 ],
kjellander@webrtc.org94a23f02016-03-17 12:05:36 +010038}