butter
2018-03-31 02:12:52 UTC
Hi,
I want to run clang-tidy in Android build and want to integrated to
my CI , the question I meet is that there seems no quick way to run itïŒ I
triedïŒ
1. manually scan files and add -I ïŒbut that not good way for many repos to
generate
2. tried with run run-clang-tidy.py in prebuilts but seem it need compile_commands.json
file for input, and all instruction I googled are for Cmake or
makefile(bear)
3.tried ninja -t compdb way from LLVM website
<https://sarcasm.github.io/notes/dev/compilation-database.html> ïŒ and it
turns out phrase nothing out in my build.ninja file in out/ generated from
Android build
Is there any good way to run clang tidy in Android buildïŒ
BRs,
butter
I want to run clang-tidy in Android build and want to integrated to
my CI , the question I meet is that there seems no quick way to run itïŒ I
triedïŒ
1. manually scan files and add -I ïŒbut that not good way for many repos to
generate
2. tried with run run-clang-tidy.py in prebuilts but seem it need compile_commands.json
file for input, and all instruction I googled are for Cmake or
makefile(bear)
3.tried ninja -t compdb way from LLVM website
<https://sarcasm.github.io/notes/dev/compilation-database.html> ïŒ and it
turns out phrase nothing out in my build.ninja file in out/ generated from
Android build
Is there any good way to run clang tidy in Android buildïŒ
BRs,
butter
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/f16175fa-7c67-4b59-975e-9c4c6660083f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/f16175fa-7c67-4b59-975e-9c4c6660083f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.