`tidy: true` always runs clang-tidy. If you only want to run it on specific
builds, you can omit that property and instead set WITH_TIDY=true in your
environment. Unfortunately, that doesn't let you select which code to run
tidy on, it'll be run on anything that is built whenever that environment
variable is set.

- Dan

On Fri, Jun 19, 2020 at 8:29 AM 'Wesolowski, Krzysztof' via Android
Building <[email protected]> wrote:

> Hello,
>
> I have pretty big codebase, with most of BP modules specifying tidy: true.
>
> This codebase is then included in multiple product variants, and tidy
> checks are repeated numerous times for no good reason.
>
> Is there a ways to separate running tidy checks from actual build?
> Sth like:
> NO_TIDY=1 make flashfiles (called for 10 product variants)
> ONLY_TIDY=1 cd vendor/... && mma (validates common codebase clang tidy,
> would run on 11th machine)
>
> BR,
>
> Krzysztof Wesolowski
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Building" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-building/VI1P174MB00150A3D4ADDC5ABC91DE86B91980%40VI1P174MB0015.EURP174.PROD.OUTLOOK.COM
> <https://groups.google.com/d/msgid/android-building/VI1P174MB00150A3D4ADDC5ABC91DE86B91980%40VI1P174MB0015.EURP174.PROD.OUTLOOK.COM?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/CALQgHdkBi0G76__wOcU2QfGyOpzfW2p5rdLhc8zgwpBPY2S83A%40mail.gmail.com.

Reply via email to