2016-03-17 12:05:36 +01:00
|
|
|
# Define rules for which include paths are allowed in our source.
|
|
|
|
|
include_rules = [
|
|
|
|
|
# Base is only used to build Android APK tests and may not be referenced by
|
|
|
|
|
# WebRTC production code.
|
|
|
|
|
"-base",
|
|
|
|
|
"-chromium",
|
|
|
|
|
"+external/webrtc/webrtc", # Android platform build.
|
|
|
|
|
"+gflags",
|
|
|
|
|
"+libyuv",
|
|
|
|
|
"-webrtc", # Has to be disabled; otherwise all dirs below will be allowed.
|
2016-08-31 07:33:05 -07:00
|
|
|
# Individual headers that will be moved out of here, see webrtc:4243.
|
2016-03-17 12:05:36 +01:00
|
|
|
"+webrtc/call.h",
|
|
|
|
|
"+webrtc/common_types.h",
|
|
|
|
|
"+webrtc/config.h",
|
|
|
|
|
"+webrtc/transport.h",
|
|
|
|
|
"+webrtc/typedefs.h",
|
2017-04-03 09:15:52 -07:00
|
|
|
"+webrtc/video_decoder.h",
|
|
|
|
|
"+webrtc/video_encoder.h",
|
2016-03-17 12:05:36 +01:00
|
|
|
"+webrtc/video_frame.h",
|
|
|
|
|
"+webrtc/video_receive_stream.h",
|
|
|
|
|
"+webrtc/video_send_stream.h",
|
2016-10-07 07:07:28 +02:00
|
|
|
"+webrtc/voice_engine_configurations.h",
|
2016-03-17 12:05:36 +01:00
|
|
|
|
2016-04-27 01:54:20 -07:00
|
|
|
"+WebRTC",
|
2016-08-31 07:33:05 -07:00
|
|
|
"+webrtc/api",
|
2016-03-17 12:05:36 +01:00
|
|
|
"+webrtc/base",
|
|
|
|
|
"+webrtc/modules/include",
|
|
|
|
|
"+webrtc/test",
|
|
|
|
|
"+webrtc/tools",
|
|
|
|
|
]
|
|
|
|
|
|
2016-08-31 07:33:05 -07:00
|
|
|
# The below rules will be removed when webrtc:4243 is fixed.
|
2016-03-17 12:05:36 +01:00
|
|
|
specific_include_rules = {
|
2016-12-07 04:52:58 -08:00
|
|
|
# The call/call.h exception is here only until the peerconnection
|
|
|
|
|
# implementation has been moved out of api/. See:
|
|
|
|
|
# http://bugs.webrtc.org/5883
|
|
|
|
|
"call\.h": [
|
|
|
|
|
"+webrtc/call/call.h"
|
|
|
|
|
],
|
2016-03-17 12:05:36 +01:00
|
|
|
"video_frame\.h": [
|
|
|
|
|
"+webrtc/common_video",
|
|
|
|
|
],
|
2016-03-23 04:48:10 -07:00
|
|
|
"video_receive_stream\.h": [
|
2016-04-18 21:12:48 -07:00
|
|
|
"+webrtc/common_video/include",
|
2016-03-23 04:48:10 -07:00
|
|
|
"+webrtc/media/base",
|
|
|
|
|
],
|
|
|
|
|
"video_send_stream\.h": [
|
2016-04-18 21:12:48 -07:00
|
|
|
"+webrtc/common_video/include",
|
2016-03-21 01:27:56 -07:00
|
|
|
"+webrtc/media/base",
|
|
|
|
|
],
|
2016-03-17 12:05:36 +01:00
|
|
|
}
|