kjellander@webrtc.org | 94a23f0 | 2016-03-17 11:05:36 | [diff] [blame] | 1 | # Define rules for which include paths are allowed in our source. |
| 2 | include_rules = [ |
| 3 | # Base is only used to build Android APK tests and may not be referenced by |
| 4 | # WebRTC production code. |
| 5 | "-base", |
| 6 | "-chromium", |
| 7 | "+external/webrtc/webrtc", # Android platform build. |
| 8 | "+gflags", |
| 9 | "+libyuv", |
| 10 | "+testing", |
| 11 | "-webrtc", # Has to be disabled; otherwise all dirs below will be allowed. |
| 12 | # Individual headers that will be moved out of here, see webrtc: |
| 13 | "+webrtc/audio_receive_stream.h", |
| 14 | "+webrtc/audio_send_stream.h", |
| 15 | "+webrtc/audio_sink.h", |
| 16 | "+webrtc/audio_state.h", |
| 17 | "+webrtc/call.h", |
| 18 | "+webrtc/common.h", |
| 19 | "+webrtc/common_types.h", |
| 20 | "+webrtc/config.h", |
| 21 | "+webrtc/engine_configurations.h", |
kjellander@webrtc.org | 94a23f0 | 2016-03-17 11:05:36 | [diff] [blame] | 22 | "+webrtc/transport.h", |
| 23 | "+webrtc/typedefs.h", |
| 24 | "+webrtc/video_decoder.h", |
| 25 | "+webrtc/video_encoder.h", |
| 26 | "+webrtc/video_frame.h", |
| 27 | "+webrtc/video_receive_stream.h", |
| 28 | "+webrtc/video_renderer.h", |
| 29 | "+webrtc/video_send_stream.h", |
| 30 | |
tkchin | 9eeb624 | 2016-04-27 08:54:20 | [diff] [blame] | 31 | "+WebRTC", |
kjellander@webrtc.org | 94a23f0 | 2016-03-17 11:05:36 | [diff] [blame] | 32 | "+webrtc/base", |
| 33 | "+webrtc/modules/include", |
| 34 | "+webrtc/test", |
| 35 | "+webrtc/tools", |
| 36 | ] |
| 37 | |
| 38 | # The below rules will be removed when webrtc: is fixed. |
| 39 | specific_include_rules = { |
| 40 | "audio_send_stream\.h": [ |
| 41 | "+webrtc/modules/audio_coding", |
| 42 | ], |
ossu | 29b1a8d | 2016-06-13 14:34:51 | [diff] [blame] | 43 | "audio_receive_stream\.h": [ |
| 44 | "+webrtc/modules/audio_coding/codecs/audio_decoder_factory.h", |
| 45 | ], |
kjellander@webrtc.org | 94a23f0 | 2016-03-17 11:05:36 | [diff] [blame] | 46 | "video_frame\.h": [ |
| 47 | "+webrtc/common_video", |
| 48 | ], |
nisse | 7ade7b3 | 2016-03-23 11:48:10 | [diff] [blame] | 49 | "video_receive_stream\.h": [ |
pbos | a96b60b | 2016-04-19 04:12:48 | [diff] [blame] | 50 | "+webrtc/common_video/include", |
nisse | 7ade7b3 | 2016-03-23 11:48:10 | [diff] [blame] | 51 | "+webrtc/media/base", |
| 52 | ], |
| 53 | "video_send_stream\.h": [ |
pbos | a96b60b | 2016-04-19 04:12:48 | [diff] [blame] | 54 | "+webrtc/common_video/include", |
nisse | eb83a1a | 2016-03-21 08:27:56 | [diff] [blame] | 55 | "+webrtc/media/base", |
| 56 | ], |
kjellander@webrtc.org | 94a23f0 | 2016-03-17 11:05:36 | [diff] [blame] | 57 | } |