Add check_deps rules in DEPS files.
Add fine-grained check_deps rules for all of WebRTC. This will help both maintaining sane dependencies and provides a way to visualize dependency graphs using the buildtools/checkdeps/graphdeps.py script. Example: buildtools/checkdeps/graphdeps.py --root=. --format=png \ --out=./webrtc.png --incl='^webrtc/modules/bitrate_controller->' \ --excl='chromium|base|external|testing|webrtc/test|\.h$|\.cc$' will produce a neat webrtc.png image showcasing the dependencies (according to the DEPS file) for the bitrate_controller module. Some dependencies are filtered out for readability. BUG=webrtc:5623 TESTED=Passing runs using: buildtools/checkdeps/checkdeps.py --root=. talk buildtools/checkdeps/checkdeps.py --root=. webrtc R=tommi@webrtc.org Review URL: https://codereview.webrtc.org/1796413002 . Cr-Commit-Position: refs/heads/master@{#12008}
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
#include "vpx/vpx_encoder.h"
|
||||
#include "vpx/vp8cx.h"
|
||||
#include "webrtc/modules/video_coding/include/video_codec_interface.h"
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
#include "webrtc/base/checks.h"
|
||||
#include "webrtc/common_video/libyuv/include/webrtc_libyuv.h"
|
||||
#include "webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h"
|
||||
@ -22,8 +23,6 @@
|
||||
#include "webrtc/modules/video_coding/codecs/vp8/temporal_layers.h"
|
||||
#include "webrtc/video_frame.h"
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
using ::testing::_;
|
||||
using ::testing::AllOf;
|
||||
using ::testing::Field;
|
||||
|
||||
Reference in New Issue
Block a user