kjellander@webrtc.org | 94a23f0 | 2016-03-17 12:05:36 +0100 | [diff] [blame] | 1 | include_rules = [ |
| 2 | "+third_party/libyuv", |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 3 | "+common_video", |
| 4 | "+media", |
| 5 | "+p2p", |
| 6 | "+pc", |
kjellander@webrtc.org | 94a23f0 | 2016-03-17 12:05:36 +0100 | [diff] [blame] | 7 | ] |
| 8 | |
| 9 | specific_include_rules = { |
kjellander@webrtc.org | 94a23f0 | 2016-03-17 12:05:36 +0100 | [diff] [blame] | 10 | "peerconnection_jni\.cc": [ |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 11 | "+voice_engine", |
ossu | 29b1a8d | 2016-06-13 07:34:51 -0700 | [diff] [blame] | 12 | ], |
kwiberg | 1e4e8cb | 2017-01-31 01:48:08 -0800 | [diff] [blame] | 13 | |
ossu | a1a040a | 2017-04-06 10:03:21 -0700 | [diff] [blame] | 14 | # TODO(ossu): Remove this exception when {builtin_,}audio_encoder_factory.h |
| 15 | # has moved to api/. |
| 16 | "peerconnectioninterface\.h": [ |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 17 | "+call/callfactoryinterface.h", |
| 18 | "+logging/rtc_event_log/rtc_event_log_factory_interface.h", |
| 19 | "+modules/audio_coding/codecs/audio_encoder_factory.h", |
| 20 | "+modules/audio_coding/codecs/builtin_audio_encoder_factory.h", |
ossu | a1a040a | 2017-04-06 10:03:21 -0700 | [diff] [blame] | 21 | ], |
| 22 | |
kwiberg | 96da011 | 2017-06-30 04:23:22 -0700 | [diff] [blame] | 23 | # Needed because AudioEncoderOpus is in the wrong place for |
| 24 | # backwards compatibilty reasons. See |
| 25 | # https://bugs.chromium.org/p/webrtc/issues/detail?id=7847 |
| 26 | "audio_encoder_opus\.h": [ |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 27 | "+modules/audio_coding/codecs/opus/audio_encoder_opus.h", |
kwiberg | 96da011 | 2017-06-30 04:23:22 -0700 | [diff] [blame] | 28 | ], |
| 29 | |
kwiberg | 087bd34 | 2017-02-10 08:15:44 -0800 | [diff] [blame] | 30 | # We allow .cc files in webrtc/api/ to #include a bunch of stuff |
| 31 | # that's off-limits for the .h files. That's because .h files leak |
| 32 | # their #includes to whoever's #including them, but .cc files do not |
| 33 | # since no one #includes them. |
| 34 | ".*\.cc": [ |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 35 | "+modules/audio_coding", |
kwiberg | 1e4e8cb | 2017-01-31 01:48:08 -0800 | [diff] [blame] | 36 | ], |
Mirko Bonadei | 9c66aee | 2017-09-14 16:26:07 +0200 | [diff] [blame] | 37 | |
| 38 | ".*i420_buffer\.h": [ |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 39 | "+system_wrappers/include/aligned_malloc.h", |
Mirko Bonadei | 9c66aee | 2017-09-14 16:26:07 +0200 | [diff] [blame] | 40 | ], |
kjellander@webrtc.org | 94a23f0 | 2016-03-17 12:05:36 +0100 | [diff] [blame] | 41 | } |