drm_hwcomposer: CI: Use aospext to provide headers for clang-tidy
Since we're now using aospless archive for meson.build, we can use
headers from there and remove .ci/android_headers/ directory completely.
Adding aospless cflags also raised some new tidy checks fails,
which were fixed by this commit.
Since clang-tidy now relies on aospless files, running CI on the host
can't be supported and removed. Running CI within the docker container
is the only option left.
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
diff --git a/.clang-tidy b/.clang-tidy
index 3731a29..8336d3f 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -58,3 +58,5 @@
value: "LOG_TAG|ATRACE_TAG"
- key: readability-magic-numbers.IgnoredFloatingPointValues
value: '1000.0'
+ - key: readability-function-cognitive-complexity.IgnoreMacros
+ value: 1