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