Adding NOLINT for typedefs.h and common_types.h
Now that we have moved WebRTC from src/webrtc to src/, common_types.h
and typedefs.h are triggering a cpplint error.
The cpplint complaint is:
Include the directory when naming .h files [build/include] [4]
This CL disables the error but we have to remove these two headers
from the root directory.
NOPRESUBMIT=true
Bug: webrtc:5876
Change-Id: I08e1b69aadcc4b28ab83bf25e3819d135d41d333
Reviewed-on: https://webrtc-review.googlesource.com/1577
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Henrik Kjellander <kjellander@google.com>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19859}
diff --git a/call/audio_receive_stream.h b/call/audio_receive_stream.h
index 1dd59ae..096f196 100644
--- a/call/audio_receive_stream.h
+++ b/call/audio_receive_stream.h
@@ -22,9 +22,9 @@
#include "api/rtpparameters.h"
#include "api/rtpreceiverinterface.h"
#include "call/rtp_config.h"
-#include "common_types.h"
+#include "common_types.h" // NOLINT(build/include)
#include "rtc_base/scoped_ref_ptr.h"
-#include "typedefs.h"
+#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {
class AudioSinkInterface;
diff --git a/call/audio_send_stream.h b/call/audio_send_stream.h
index 8160318..9b0f081 100644
--- a/call/audio_send_stream.h
+++ b/call/audio_send_stream.h
@@ -23,7 +23,7 @@
#include "api/rtpparameters.h"
#include "call/rtp_config.h"
#include "rtc_base/scoped_ref_ptr.h"
-#include "typedefs.h"
+#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {
diff --git a/call/call.h b/call/call.h
index 9901745..f26d9d6 100644
--- a/call/call.h
+++ b/call/call.h
@@ -23,7 +23,7 @@
#include "call/rtp_transport_controller_send_interface.h"
#include "call/video_receive_stream.h"
#include "call/video_send_stream.h"
-#include "common_types.h"
+#include "common_types.h" // NOLINT(build/include)
#include "rtc_base/networkroute.h"
#include "rtc_base/platform_file.h"
#include "rtc_base/socket.h"
diff --git a/call/fake_rtp_transport_controller_send.h b/call/fake_rtp_transport_controller_send.h
index b6174c6..dda2e5f 100644
--- a/call/fake_rtp_transport_controller_send.h
+++ b/call/fake_rtp_transport_controller_send.h
@@ -12,7 +12,7 @@
#define CALL_FAKE_RTP_TRANSPORT_CONTROLLER_SEND_H_
#include "call/rtp_transport_controller_send_interface.h"
-#include "common_types.h"
+#include "common_types.h" // NOLINT(build/include)
#include "modules/congestion_controller/include/send_side_congestion_controller.h"
#include "modules/pacing/packet_router.h"
diff --git a/call/flexfec_receive_stream.h b/call/flexfec_receive_stream.h
index ee83c26..a0b7a11 100644
--- a/call/flexfec_receive_stream.h
+++ b/call/flexfec_receive_stream.h
@@ -19,7 +19,7 @@
#include "api/call/transport.h"
#include "api/rtpparameters.h"
#include "call/rtp_packet_sink_interface.h"
-#include "common_types.h"
+#include "common_types.h" // NOLINT(build/include)
namespace webrtc {
diff --git a/call/rtcp_demuxer.cc b/call/rtcp_demuxer.cc
index 6533599..0adbdf3 100644
--- a/call/rtcp_demuxer.cc
+++ b/call/rtcp_demuxer.cc
@@ -12,7 +12,7 @@
#include "call/rtcp_packet_sink_interface.h"
#include "call/rtp_rtcp_demuxer_helper.h"
-#include "common_types.h"
+#include "common_types.h" // NOLINT(build/include)
#include "rtc_base/checks.h"
namespace webrtc {
diff --git a/call/rtcp_demuxer_unittest.cc b/call/rtcp_demuxer_unittest.cc
index 9125f0e..dd5aa55 100644
--- a/call/rtcp_demuxer_unittest.cc
+++ b/call/rtcp_demuxer_unittest.cc
@@ -14,7 +14,7 @@
#include <set>
#include "call/rtcp_packet_sink_interface.h"
-#include "common_types.h"
+#include "common_types.h" // NOLINT(build/include)
#include "modules/rtp_rtcp/source/rtcp_packet/bye.h"
#include "rtc_base/arraysize.h"
#include "rtc_base/basictypes.h"
diff --git a/call/rtp_demuxer_unittest.cc b/call/rtp_demuxer_unittest.cc
index 6202413..edb27ff 100644
--- a/call/rtp_demuxer_unittest.cc
+++ b/call/rtp_demuxer_unittest.cc
@@ -16,7 +16,7 @@
#include "call/ssrc_binding_observer.h"
#include "call/test/mock_rtp_packet_sink_interface.h"
-#include "common_types.h"
+#include "common_types.h" // NOLINT(build/include)
#include "modules/rtp_rtcp/include/rtp_header_extension_map.h"
#include "modules/rtp_rtcp/source/rtp_header_extensions.h"
#include "modules/rtp_rtcp/source/rtp_packet_received.h"
diff --git a/call/rtp_transport_controller_send.h b/call/rtp_transport_controller_send.h
index c50ea11..65990bb 100644
--- a/call/rtp_transport_controller_send.h
+++ b/call/rtp_transport_controller_send.h
@@ -12,7 +12,7 @@
#define CALL_RTP_TRANSPORT_CONTROLLER_SEND_H_
#include "call/rtp_transport_controller_send_interface.h"
-#include "common_types.h"
+#include "common_types.h" // NOLINT(build/include)
#include "modules/congestion_controller/include/send_side_congestion_controller.h"
#include "rtc_base/constructormagic.h"
diff --git a/call/video_config.h b/call/video_config.h
index 5f660b7..52a3e9a 100644
--- a/call/video_config.h
+++ b/call/video_config.h
@@ -15,11 +15,11 @@
#include <vector>
#include "api/optional.h"
-#include "common_types.h"
+#include "common_types.h" // NOLINT(build/include)
#include "rtc_base/basictypes.h"
#include "rtc_base/refcount.h"
#include "rtc_base/scoped_ref_ptr.h"
-#include "typedefs.h"
+#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {
diff --git a/call/video_receive_stream.h b/call/video_receive_stream.h
index 4a8eca0c..7d996ab 100644
--- a/call/video_receive_stream.h
+++ b/call/video_receive_stream.h
@@ -19,7 +19,7 @@
#include "api/call/transport.h"
#include "api/rtpparameters.h"
#include "call/rtp_config.h"
-#include "common_types.h"
+#include "common_types.h" // NOLINT(build/include)
#include "common_video/include/frame_callback.h"
#include "media/base/videosinkinterface.h"
#include "rtc_base/platform_file.h"
diff --git a/call/video_send_stream.h b/call/video_send_stream.h
index d4bd981..c8f41fb 100644
--- a/call/video_send_stream.h
+++ b/call/video_send_stream.h
@@ -20,7 +20,7 @@
#include "api/rtpparameters.h"
#include "call/rtp_config.h"
#include "call/video_config.h"
-#include "common_types.h"
+#include "common_types.h" // NOLINT(build/include)
#include "common_video/include/frame_callback.h"
#include "media/base/videosinkinterface.h"
#include "media/base/videosourceinterface.h"