blob: 847cce259f9ae63a020e0d62a24201bca72457a2 [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",
Niels Möller8366e172018-02-14 12:20:13 +01007 "+logging/rtc_event_log/rtc_event_log_factory_interface.h",
Ivo Creusen2cb41052018-03-15 12:22:52 +01008 "+modules/audio_processing/include",
Anders Carlssondd3e0ab2018-06-12 11:15:56 +02009 "+system_wrappers/include",
kjellander@webrtc.org94a23f02016-03-17 12:05:36 +010010]
11
12specific_include_rules = {
kwiberg96da0112017-06-30 04:23:22 -070013 # Needed because AudioEncoderOpus is in the wrong place for
14 # backwards compatibilty reasons. See
15 # https://bugs.chromium.org/p/webrtc/issues/detail?id=7847
16 "audio_encoder_opus\.h": [
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020017 "+modules/audio_coding/codecs/opus/audio_encoder_opus.h",
kwiberg96da0112017-06-30 04:23:22 -070018 ],
19
kwiberg087bd342017-02-10 08:15:44 -080020 # We allow .cc files in webrtc/api/ to #include a bunch of stuff
21 # that's off-limits for the .h files. That's because .h files leak
22 # their #includes to whoever's #including them, but .cc files do not
23 # since no one #includes them.
24 ".*\.cc": [
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020025 "+modules/audio_coding",
Gustaf Ullberg0efa9412018-02-27 13:58:45 +010026 "+modules/audio_processing",
Kári Tristan Helgason169005d2018-05-22 13:34:14 +020027 "+modules/video_coding",
kwiberg1e4e8cb2017-01-31 01:48:08 -080028 ],
kjellander@webrtc.org94a23f02016-03-17 12:05:36 +010029}