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", | |
17 "+webrtc/video_send_stream.h", | |
18 "+webrtc/voice_engine_configurations.h", | 16 "+webrtc/voice_engine_configurations.h", |
19 | 17 |
20 "+WebRTC", | 18 "+WebRTC", |
21 "+webrtc/api", | 19 "+webrtc/api", |
22 "+webrtc/base", | 20 "+webrtc/base", |
23 "+webrtc/modules/include", | 21 "+webrtc/modules/include", |
24 "+webrtc/rtc_base", | 22 "+webrtc/rtc_base", |
25 "+webrtc/test", | 23 "+webrtc/test", |
26 "+webrtc/rtc_tools", | 24 "+webrtc/rtc_tools", |
27 ] | 25 ] |
28 | 26 |
29 # The below rules will be removed when webrtc:4243 is fixed. | 27 # The below rules will be removed when webrtc:4243 is fixed. |
30 specific_include_rules = { | 28 specific_include_rules = { |
31 "video_receive_stream\.h": [ | 29 "video_receive_stream\.h": [ |
32 "+webrtc/call/video_receive_stream.h", | 30 "+webrtc/call/video_receive_stream.h", |
33 ], | 31 ], |
34 "video_send_stream\.h": [ | 32 "video_send_stream\.h": [ |
35 "+webrtc/call/video_send_stream.h", | 33 "+webrtc/call/video_send_stream.h", |
36 ], | 34 ], |
37 } | 35 } |
OLD | NEW |