kjellander@webrtc.org | 0b54e5a | 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", |
kjellander@webrtc.org | 0b54e5a | 2016-03-17 11:05:36 | [diff] [blame] | 10 | "-webrtc", # Has to be disabled; otherwise all dirs below will be allowed. |
kjellander | cf82062 | 2016-08-31 14:33:05 | [diff] [blame] | 11 | # Individual headers that will be moved out of here, see webrtc:4243. |
kjellander@webrtc.org | 0b54e5a | 2016-03-17 11:05:36 | [diff] [blame] | 12 | "+webrtc/call.h", |
kjellander@webrtc.org | 0b54e5a | 2016-03-17 11:05:36 | [diff] [blame] | 13 | "+webrtc/common_types.h", |
| 14 | "+webrtc/config.h", |
kjellander@webrtc.org | 0b54e5a | 2016-03-17 11:05:36 | [diff] [blame] | 15 | "+webrtc/transport.h", |
| 16 | "+webrtc/typedefs.h", |
| 17 | "+webrtc/video_decoder.h", |
| 18 | "+webrtc/video_encoder.h", |
| 19 | "+webrtc/video_frame.h", |
| 20 | "+webrtc/video_receive_stream.h", |
kjellander@webrtc.org | 0b54e5a | 2016-03-17 11:05:36 | [diff] [blame] | 21 | "+webrtc/video_send_stream.h", |
mflodman | c859ded | 2016-10-07 05:07:28 | [diff] [blame] | 22 | "+webrtc/voice_engine_configurations.h", |
kjellander@webrtc.org | 0b54e5a | 2016-03-17 11:05:36 | [diff] [blame] | 23 | |
tkchin | 09716bd | 2016-04-27 08:54:20 | [diff] [blame] | 24 | "+WebRTC", |
kjellander | cf82062 | 2016-08-31 14:33:05 | [diff] [blame] | 25 | "+webrtc/api", |
kjellander@webrtc.org | 0b54e5a | 2016-03-17 11:05:36 | [diff] [blame] | 26 | "+webrtc/base", |
| 27 | "+webrtc/modules/include", |
| 28 | "+webrtc/test", |
| 29 | "+webrtc/tools", |
| 30 | ] |
| 31 | |
kjellander | cf82062 | 2016-08-31 14:33:05 | [diff] [blame] | 32 | # The below rules will be removed when webrtc:4243 is fixed. |
kjellander@webrtc.org | 0b54e5a | 2016-03-17 11:05:36 | [diff] [blame] | 33 | specific_include_rules = { |
ossu | 31212ba | 2016-12-07 12:52:58 | [diff] [blame] | 34 | # The call/call.h exception is here only until the peerconnection |
| 35 | # implementation has been moved out of api/. See: |
| 36 | # http://bugs.webrtc.org/5883 |
| 37 | "call\.h": [ |
| 38 | "+webrtc/call/call.h" |
| 39 | ], |
kjellander@webrtc.org | 0b54e5a | 2016-03-17 11:05:36 | [diff] [blame] | 40 | "video_frame\.h": [ |
| 41 | "+webrtc/common_video", |
| 42 | ], |
nisse | a2761a5 | 2016-03-23 11:48:10 | [diff] [blame] | 43 | "video_receive_stream\.h": [ |
pbos | a4df1d6 | 2016-04-19 04:12:48 | [diff] [blame] | 44 | "+webrtc/common_video/include", |
nisse | a2761a5 | 2016-03-23 11:48:10 | [diff] [blame] | 45 | "+webrtc/media/base", |
| 46 | ], |
| 47 | "video_send_stream\.h": [ |
pbos | a4df1d6 | 2016-04-19 04:12:48 | [diff] [blame] | 48 | "+webrtc/common_video/include", |
nisse | f8e52ce | 2016-03-21 08:27:56 | [diff] [blame] | 49 | "+webrtc/media/base", |
| 50 | ], |
kjellander@webrtc.org | 0b54e5a | 2016-03-17 11:05:36 | [diff] [blame] | 51 | } |