kjellander@webrtc.org | 94a23f0 | 2016-03-17 12:05:36 +0100 | [diff] [blame] | 1 | include_rules = [ |
| 2 | "+third_party/libyuv", |
| 3 | "+webrtc/base", |
| 4 | "+webrtc/common_video", |
| 5 | "+webrtc/media", |
| 6 | "+webrtc/p2p", |
| 7 | "+webrtc/pc", |
kjellander@webrtc.org | 94a23f0 | 2016-03-17 12:05:36 +0100 | [diff] [blame] | 8 | ] |
| 9 | |
| 10 | specific_include_rules = { |
kjellander@webrtc.org | 94a23f0 | 2016-03-17 12:05:36 +0100 | [diff] [blame] | 11 | "peerconnection_jni\.cc": [ |
| 12 | "+webrtc/voice_engine", |
ossu | 29b1a8d | 2016-06-13 07:34:51 -0700 | [diff] [blame] | 13 | ], |
kwiberg | 1e4e8cb | 2017-01-31 01:48:08 -0800 | [diff] [blame] | 14 | |
ossu | a1a040a | 2017-04-06 10:03:21 -0700 | [diff] [blame] | 15 | # 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 | |
kwiberg | 087bd34 | 2017-02-10 08:15:44 -0800 | [diff] [blame] | 22 | # 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", |
kwiberg | 1e4e8cb | 2017-01-31 01:48:08 -0800 | [diff] [blame] | 28 | ], |
kjellander@webrtc.org | 94a23f0 | 2016-03-17 12:05:36 +0100 | [diff] [blame] | 29 | } |