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. |
(...skipping 14 matching lines...) Expand all Loading... |
25 "+WebRTC", | 25 "+WebRTC", |
26 "+webrtc/api", | 26 "+webrtc/api", |
27 "+webrtc/base", | 27 "+webrtc/base", |
28 "+webrtc/modules/include", | 28 "+webrtc/modules/include", |
29 "+webrtc/test", | 29 "+webrtc/test", |
30 "+webrtc/tools", | 30 "+webrtc/tools", |
31 ] | 31 ] |
32 | 32 |
33 # The below rules will be removed when webrtc:4243 is fixed. | 33 # The below rules will be removed when webrtc:4243 is fixed. |
34 specific_include_rules = { | 34 specific_include_rules = { |
| 35 # The call/call.h exception is here only until the peerconnection |
| 36 # implementation has been moved out of api/. See: |
| 37 # http://bugs.webrtc.org/5883 |
| 38 "call\.h": [ |
| 39 "+webrtc/call/call.h" |
| 40 ], |
35 "video_frame\.h": [ | 41 "video_frame\.h": [ |
36 "+webrtc/common_video", | 42 "+webrtc/common_video", |
37 ], | 43 ], |
38 "video_receive_stream\.h": [ | 44 "video_receive_stream\.h": [ |
39 "+webrtc/common_video/include", | 45 "+webrtc/common_video/include", |
40 "+webrtc/media/base", | 46 "+webrtc/media/base", |
41 ], | 47 ], |
42 "video_send_stream\.h": [ | 48 "video_send_stream\.h": [ |
43 "+webrtc/common_video/include", | 49 "+webrtc/common_video/include", |
44 "+webrtc/media/base", | 50 "+webrtc/media/base", |
45 ], | 51 ], |
46 } | 52 } |
OLD | NEW |