blob: e48b5689d167605ca0933479ab2c5c25fe68d635 [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
kwiberg087bd342017-02-10 08:15:44 -080024 # We allow .cc files in webrtc/api/ to #include a bunch of stuff
25 # that's off-limits for the .h files. That's because .h files leak
26 # their #includes to whoever's #including them, but .cc files do not
27 # since no one #includes them.
28 ".*\.cc": [
29 "+webrtc/modules/audio_coding",
kwiberg1e4e8cb2017-01-31 01:48:08 -080030 ],
kjellander@webrtc.org94a23f02016-03-17 12:05:36 +010031}