* IWYU export <sys/socket.h> from rtc_base/net_helpers.h. * Add a presubmit check to ensures that <sys/socket.h> is included through net_helpers.h (expect if there is a IWYU pragma or a no-presubmit-check). * Clean up existing includes of <sys/socket.h> Change-Id: I4bc6cce045c046287f8f74f89edfc9321293b274 Bug: b/236227627 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/362082 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Jeremy Leconte <jleconte@google.com> Cr-Commit-Position: refs/heads/main@{#42996}
9 lines
175 B
Python
9 lines
175 B
Python
specific_include_rules = {
|
|
"stun\.h": [
|
|
"+rtc_base/byte_buffer.h",
|
|
"+rtc_base/ip_address.h",
|
|
"+rtc_base/net_helpers.h",
|
|
"+rtc_base/socket_address.h",
|
|
],
|
|
}
|