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