Add timed out test files to tidy_timeout_srcs
* Timed out runs do not show any warning messages.
* These test files cannot finish clang-tidy runs with
the following settings:
TIDY_TIMEOUT=90
WITH_TIDY=1
CLANG_ANALYZER_CHECKS=1
* When TIDY_TIMEOUT is set, in Android continuous builds,
tidy_timeout_srcs files will not be compiled by clang-tidy.
When developers build locally without TIDY_TIMEOUT,
tidy_timeout_srcs files will be compiled.
* Some of these test modules may be split into smaller ones,
or disable some time consuming checks, and then
enable clang-tidy to run within limited time.
Bug: 201099167
Test: make droid tidy-art_subset
Change-Id: I2b26507d6d8843fadad1dfe2406db6c412bd5610
diff --git a/libdexfile/Android.bp b/libdexfile/Android.bp
index bc722d8..fdc57d0 100644
--- a/libdexfile/Android.bp
+++ b/libdexfile/Android.bp
@@ -27,6 +27,9 @@
name: "libdexfile_defaults",
defaults: ["art_defaults"],
host_supported: true,
+ tidy_timeout_srcs: [
+ "dex/dex_file_verifier.cc",
+ ],
srcs: [
"dex/art_dex_file_loader.cc",
"dex/compact_dex_file.cc",
@@ -262,6 +265,9 @@
art_cc_defaults {
name: "art_libdexfile_tests_defaults",
+ tidy_timeout_srcs: [
+ "dex/dex_file_verifier_test.cc",
+ ],
srcs: [
"dex/art_dex_file_loader_test.cc",
"dex/class_accessor_test.cc",