summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Lin <danny@kdrag0n.dev>2021-03-01 23:11:06 -0800
committeralk3pInjection <webmaster@raspii.tech>2021-09-27 21:17:05 +0800
commite2846c06cf8076f2cb64a61244e1bf6e4080b029 (patch)
tree903eb6cdbd12d190b6d304bded536de67e6595f4
parentef3b7660a27dd6bc6af9a7bbadda44d28f0a6d4b (diff)
[ProtonAOSP] soong: Disable clang-tidy
Running clang-tidy on all the AOSP code is of little use for us, but it takes a substantial amount of build time. Disable it to reduce build times for native code. Change-Id: Idc3d97bf0a08db31e66ab6ad018749575906ca1e
-rw-r--r--cc/tidy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/tidy.go b/cc/tidy.go
index 364e56c5d..476d14b99 100644
--- a/cc/tidy.go
+++ b/cc/tidy.go
@@ -65,7 +65,7 @@ func (tidy *tidyFeature) flags(ctx ModuleContext, flags Flags) Flags {
return flags
}
- flags.Tidy = true
+ flags.Tidy = false
// Add global WITH_TIDY_FLAGS and local tidy_flags.
withTidyFlags := ctx.Config().Getenv("WITH_TIDY_FLAGS")