| OLD | NEW |
| 1 # Define rules for which include paths are allowed in our source. | 1 # Define rules for which include paths are allowed in our source. |
| 2 include_rules = [ | 2 include_rules = [ |
| 3 # Base is only used to build Android APK tests and may not be referenced by | 3 # Base is only used to build Android APK tests and may not be referenced by |
| 4 # WebRTC production code. | 4 # WebRTC production code. |
| 5 "-base", | 5 "-base", |
| 6 "-chromium", | 6 "-chromium", |
| 7 "+external/webrtc/webrtc", # Android platform build. | 7 "+external/webrtc/webrtc", # Android platform build. |
| 8 "+gflags", | 8 "+gflags", |
| 9 "+libyuv", | 9 "+libyuv", |
| 10 "-webrtc", # Has to be disabled; otherwise all dirs below will be allowed. | 10 "-webrtc", # Has to be disabled; otherwise all dirs below will be allowed. |
| 11 # Individual headers that will be moved out of here, see webrtc:4243. | 11 # Individual headers that will be moved out of here, see webrtc:4243. |
| 12 "+webrtc/common_types.h", | 12 "+webrtc/common_types.h", |
| 13 "+webrtc/config.h", | 13 "+webrtc/config.h", |
| 14 "+webrtc/transport.h", | 14 "+webrtc/transport.h", |
| 15 "+webrtc/typedefs.h", | 15 "+webrtc/typedefs.h", |
| 16 "+webrtc/video_receive_stream.h", | 16 "+webrtc/video_receive_stream.h", |
| 17 "+webrtc/video_send_stream.h", | 17 "+webrtc/video_send_stream.h", |
| 18 "+webrtc/voice_engine_configurations.h", | 18 "+webrtc/voice_engine_configurations.h", |
| 19 | 19 |
| 20 "+WebRTC", | 20 "+WebRTC", |
| 21 "+webrtc/api", | 21 "+webrtc/api", |
| 22 "+webrtc/base", | 22 "+webrtc/base", |
| 23 "+webrtc/modules/include", | 23 "+webrtc/modules/include", |
| 24 "+webrtc/rtc_base", | 24 "+webrtc/rtc_base", |
| 25 "+webrtc/test", | 25 "+webrtc/test", |
| 26 "+webrtc/tools", | 26 "+webrtc/rtc_tools", |
| 27 ] | 27 ] |
| 28 | 28 |
| 29 # The below rules will be removed when webrtc:4243 is fixed. | 29 # The below rules will be removed when webrtc:4243 is fixed. |
| 30 specific_include_rules = { | 30 specific_include_rules = { |
| 31 "video_receive_stream\.h": [ | 31 "video_receive_stream\.h": [ |
| 32 "+webrtc/common_video/include", | 32 "+webrtc/common_video/include", |
| 33 "+webrtc/media/base", | 33 "+webrtc/media/base", |
| 34 ], | 34 ], |
| 35 "video_send_stream\.h": [ | 35 "video_send_stream\.h": [ |
| 36 "+webrtc/common_video/include", | 36 "+webrtc/common_video/include", |
| 37 "+webrtc/media/base", | 37 "+webrtc/media/base", |
| 38 ], | 38 ], |
| 39 } | 39 } |
| OLD | NEW |