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 "+testing", | 10 "+testing", |
11 "-webrtc", # Has to be disabled; otherwise all dirs below will be allowed. | 11 "-webrtc", # Has to be disabled; otherwise all dirs below will be allowed. |
12 # Individual headers that will be moved out of here, see webrtc: | 12 # Individual headers that will be moved out of here, see webrtc:4243. |
13 "+webrtc/audio_receive_stream.h", | |
14 "+webrtc/audio_send_stream.h", | |
15 "+webrtc/audio_sink.h", | |
16 "+webrtc/audio_state.h", | |
17 "+webrtc/call.h", | 13 "+webrtc/call.h", |
18 "+webrtc/common.h", | 14 "+webrtc/common.h", |
19 "+webrtc/common_types.h", | 15 "+webrtc/common_types.h", |
20 "+webrtc/config.h", | 16 "+webrtc/config.h", |
21 "+webrtc/engine_configurations.h", | 17 "+webrtc/engine_configurations.h", |
22 "+webrtc/transport.h", | 18 "+webrtc/transport.h", |
23 "+webrtc/typedefs.h", | 19 "+webrtc/typedefs.h", |
24 "+webrtc/video_decoder.h", | 20 "+webrtc/video_decoder.h", |
25 "+webrtc/video_encoder.h", | 21 "+webrtc/video_encoder.h", |
26 "+webrtc/video_frame.h", | 22 "+webrtc/video_frame.h", |
27 "+webrtc/video_receive_stream.h", | 23 "+webrtc/video_receive_stream.h", |
28 "+webrtc/video_renderer.h", | 24 "+webrtc/video_renderer.h", |
29 "+webrtc/video_send_stream.h", | 25 "+webrtc/video_send_stream.h", |
30 | 26 |
31 "+WebRTC", | 27 "+WebRTC", |
| 28 "+webrtc/api", |
32 "+webrtc/base", | 29 "+webrtc/base", |
33 "+webrtc/modules/include", | 30 "+webrtc/modules/include", |
34 "+webrtc/test", | 31 "+webrtc/test", |
35 "+webrtc/tools", | 32 "+webrtc/tools", |
36 ] | 33 ] |
37 | 34 |
38 # The below rules will be removed when webrtc: is fixed. | 35 # The below rules will be removed when webrtc:4243 is fixed. |
39 specific_include_rules = { | 36 specific_include_rules = { |
40 "audio_send_stream\.h": [ | |
41 "+webrtc/modules/audio_coding", | |
42 ], | |
43 "audio_receive_stream\.h": [ | |
44 "+webrtc/modules/audio_coding/codecs/audio_decoder_factory.h", | |
45 ], | |
46 "video_frame\.h": [ | 37 "video_frame\.h": [ |
47 "+webrtc/common_video", | 38 "+webrtc/common_video", |
48 ], | 39 ], |
49 "video_receive_stream\.h": [ | 40 "video_receive_stream\.h": [ |
50 "+webrtc/common_video/include", | 41 "+webrtc/common_video/include", |
51 "+webrtc/media/base", | 42 "+webrtc/media/base", |
52 ], | 43 ], |
53 "video_send_stream\.h": [ | 44 "video_send_stream\.h": [ |
54 "+webrtc/common_video/include", | 45 "+webrtc/common_video/include", |
55 "+webrtc/media/base", | 46 "+webrtc/media/base", |
56 ], | 47 ], |
57 } | 48 } |
OLD | NEW |