Exercise clang-tidy in the PGO collection pipeline
Also removed libLLVM_android-host64 since other targets already captured
compiling for host behaviour.
Test: Check TOOLCHAIN_RUSAGE_OUTPUT
Bug: 229569414
Change-Id: Ic31c9d7510a307690a841eab9964387fd73f86bb
diff --git a/do_test_compiler.py b/do_test_compiler.py
index df04dcf..b09b8f5 100755
--- a/do_test_compiler.py
+++ b/do_test_compiler.py
@@ -271,7 +271,8 @@
if profiler is not None:
# Build only a subset of targets and collect profiles
- modules = ['libart', 'libc', 'libLLVM_android-host64']
+ env['CLANG_ANALYZER_CHECKS'] = '1'
+ modules = ['libart', 'libc', 'adb-tidy']
# Set the environment variable specifying where the profile file gets
# written.