commit 537712670f2d9ee6060d7280bbab471ba2d3b68f
parent deb283098b0d11dc406a03b2fd86825890c6a84b
Author: Dan Baker <dbaker@mozilla.com>
Date: Wed, 22 Oct 2025 14:52:55 -0600
Bug 1995393 - Vendor libwebrtc from bddd6da943
Upstream commit: https://webrtc.googlesource.com/src/+/bddd6da943396cc9de09a2ef85d174f192d84082
clang-tidy: allow empty ruleset
which allows adding a .clang-tidy in third_party that effectively
disables tidy rules there
Bug: webrtc:424706384
Change-Id: Idf2248c801b33f03cd087e20beb4b34dd1155e11
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/403506
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Philipp Hancke <phancke@meta.com>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#45308}
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/third_party/libwebrtc/README.mozilla.last-vendor b/third_party/libwebrtc/README.mozilla.last-vendor
@@ -1,4 +1,4 @@
# ./mach python dom/media/webrtc/third_party_build/vendor-libwebrtc.py --from-local /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc --commit mozpatches libwebrtc
-libwebrtc updated from /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-10-22T20:50:24.036777+00:00.
+libwebrtc updated from /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-10-22T20:52:42.066803+00:00.
# base of lastest vendoring
-08a5f1148b
+bddd6da943
diff --git a/third_party/libwebrtc/tools_webrtc/apply_clang_tidy.py b/third_party/libwebrtc/tools_webrtc/apply_clang_tidy.py
@@ -97,8 +97,8 @@ def _generate_compile_commands(work_dir: pathlib.Path) -> None:
def _run_clang_tidy(work_dir: pathlib.Path) -> None:
clang_tidy_cmd = (work_dir / _TIDY_RUNNER, "-p", work_dir,
- "-clang-tidy-binary", work_dir / _TIDY_BINARY,
- "-clang-apply-replacements-binary",
+ "-allow-no-checks", "-clang-tidy-binary", work_dir /
+ _TIDY_BINARY, "-clang-apply-replacements-binary",
work_dir / _REPLACEMENTS_BINARY, "-fix")
subprocess.run(clang_tidy_cmd,
capture_output=False,