Moved the headers video_receive_stream.h and video_send_stream.h from webrtc/ into webrtc/call/ as part of the Slim and Modular work. The GN target webrtc:video_stream_api has moved to webrtc/call:video_stream_api. There are headers left in webrtc/ with the same name including the moved headers in webrtc/call/ for not breaking external projects depending on WebRTC. At the same time, some minor cleanup is done: Non-pure-virtual functions declared in the two affected headers now have definitions in the same target. After making this change, our 'chromium-style' plugin detected some style violations that have now been fixed: non-inlined constructors and destructors have been added to a number of classes, both inside the GN target of the two affected headers, and in other targets. BUG=webrtc:8107 Review-Url: https://codereview.webrtc.org/3000253002 Cr-Commit-Position: refs/heads/master@{#19448}
38 lines
1.0 KiB
Python
38 lines
1.0 KiB
Python
# 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.
|
|
# Individual headers that will be moved out of here, see webrtc:4243.
|
|
"+webrtc/common_types.h",
|
|
"+webrtc/config.h",
|
|
"+webrtc/transport.h",
|
|
"+webrtc/typedefs.h",
|
|
"+webrtc/video_receive_stream.h",
|
|
"+webrtc/video_send_stream.h",
|
|
"+webrtc/voice_engine_configurations.h",
|
|
|
|
"+WebRTC",
|
|
"+webrtc/api",
|
|
"+webrtc/base",
|
|
"+webrtc/modules/include",
|
|
"+webrtc/rtc_base",
|
|
"+webrtc/test",
|
|
"+webrtc/rtc_tools",
|
|
]
|
|
|
|
# The below rules will be removed when webrtc:4243 is fixed.
|
|
specific_include_rules = {
|
|
"video_receive_stream\.h": [
|
|
"+webrtc/call/video_receive_stream.h",
|
|
],
|
|
"video_send_stream\.h": [
|
|
"+webrtc/call/video_send_stream.h",
|
|
],
|
|
}
|