blob: a537633981d29e3068ba9f6cd562f16810a64e8e [file] [log] [blame]
kjellander@webrtc.org94a23f02016-03-17 12:05:36 +01001include_rules = [
2 "+third_party/libyuv",
Mirko Bonadei92ea95e2017-09-15 06:47:31 +02003 "+common_video",
4 "+media",
5 "+p2p",
6 "+pc",
kjellander@webrtc.org94a23f02016-03-17 12:05:36 +01007]
8
9specific_include_rules = {
kjellander@webrtc.org94a23f02016-03-17 12:05:36 +010010 "peerconnection_jni\.cc": [
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020011 "+voice_engine",
ossu29b1a8d2016-06-13 07:34:51 -070012 ],
kwiberg1e4e8cb2017-01-31 01:48:08 -080013
ossua1a040a2017-04-06 10:03:21 -070014 # TODO(ossu): Remove this exception when {builtin_,}audio_encoder_factory.h
15 # has moved to api/.
16 "peerconnectioninterface\.h": [
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020017 "+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",
ossua1a040a2017-04-06 10:03:21 -070021 ],
22
kwiberg96da0112017-06-30 04:23:22 -070023 # 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 Bonadei92ea95e2017-09-15 06:47:31 +020027 "+modules/audio_coding/codecs/opus/audio_encoder_opus.h",
kwiberg96da0112017-06-30 04:23:22 -070028 ],
29
kwiberg087bd342017-02-10 08:15:44 -080030 # 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 Bonadei92ea95e2017-09-15 06:47:31 +020035 "+modules/audio_coding",
kwiberg1e4e8cb2017-01-31 01:48:08 -080036 ],
Mirko Bonadei9c66aee2017-09-14 16:26:07 +020037
38 ".*i420_buffer\.h": [
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020039 "+system_wrappers/include/aligned_malloc.h",
Mirko Bonadei9c66aee2017-09-14 16:26:07 +020040 ],
Ivo Creusen56d46092017-11-24 17:29:59 +010041
42 # Needed to use the APM statistics.
43 "mediastreaminterface.h": [
44 "+modules/audio_processing/include/audio_processing_statistics.h",
45 ],
kjellander@webrtc.org94a23f02016-03-17 12:05:36 +010046}