blob: 245c31c0282978182a4985506836c09af2fe7fa4 [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": [
18 "+webrtc/modules/audio_coding/codecs/audio_encoder_factory.h",
19 "+webrtc/modules/audio_coding/codecs/builtin_audio_encoder_factory.h",
20 ],
21
kwiberg087bd342017-02-10 08:15:44 -080022 # We allow .cc files in webrtc/api/ to #include a bunch of stuff
23 # that's off-limits for the .h files. That's because .h files leak
24 # their #includes to whoever's #including them, but .cc files do not
25 # since no one #includes them.
26 ".*\.cc": [
27 "+webrtc/modules/audio_coding",
kwiberg1e4e8cb2017-01-31 01:48:08 -080028 ],
kjellander@webrtc.org94a23f02016-03-17 12:05:36 +010029}