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/call.h", | |
13 "+webrtc/common_types.h", | 12 "+webrtc/common_types.h", |
14 "+webrtc/config.h", | 13 "+webrtc/config.h", |
15 "+webrtc/transport.h", | 14 "+webrtc/transport.h", |
16 "+webrtc/typedefs.h", | 15 "+webrtc/typedefs.h", |
17 "+webrtc/video_receive_stream.h", | 16 "+webrtc/video_receive_stream.h", |
18 "+webrtc/video_send_stream.h", | 17 "+webrtc/video_send_stream.h", |
19 "+webrtc/voice_engine_configurations.h", | 18 "+webrtc/voice_engine_configurations.h", |
20 | 19 |
21 "+WebRTC", | 20 "+WebRTC", |
22 "+webrtc/api", | 21 "+webrtc/api", |
23 "+webrtc/base", | 22 "+webrtc/base", |
24 "+webrtc/modules/include", | 23 "+webrtc/modules/include", |
25 "+webrtc/test", | 24 "+webrtc/test", |
26 "+webrtc/tools", | 25 "+webrtc/tools", |
27 ] | 26 ] |
28 | 27 |
29 # The below rules will be removed when webrtc:4243 is fixed. | 28 # The below rules will be removed when webrtc:4243 is fixed. |
30 specific_include_rules = { | 29 specific_include_rules = { |
31 # The call/call.h exception is here only until the peerconnection | |
32 # implementation has been moved out of api/. See: | |
33 # http://bugs.webrtc.org/5883 | |
34 "call\.h": [ | |
35 "+webrtc/call/call.h" | |
36 ], | |
37 "video_frame\.h": [ | 30 "video_frame\.h": [ |
38 "+webrtc/common_video", | 31 "+webrtc/common_video", |
39 ], | 32 ], |
40 "video_receive_stream\.h": [ | 33 "video_receive_stream\.h": [ |
41 "+webrtc/common_video/include", | 34 "+webrtc/common_video/include", |
42 "+webrtc/media/base", | 35 "+webrtc/media/base", |
43 ], | 36 ], |
44 "video_send_stream\.h": [ | 37 "video_send_stream\.h": [ |
45 "+webrtc/common_video/include", | 38 "+webrtc/common_video/include", |
46 "+webrtc/media/base", | 39 "+webrtc/media/base", |
47 ], | 40 ], |
48 } | 41 } |
OLD | NEW |