Snap for 8414339 from 3f1d250e545d30a05c94b34145a39ef0826efbba to tm-qpr1-release
Change-Id: I6cbc64930d18ae599ef43b73266cbe7175fe9782
diff --git a/Android.bp b/Android.bp
index 7a8ba03..982e656 100644
--- a/Android.bp
+++ b/Android.bp
@@ -77,10 +77,16 @@
"-*",
"cert-*",
"clang-analyzer-security*",
+ // b/2043314, warnings on memcpy_s, memset_s, snprintf_s calls
+ // are blocking the migration from gnu99 to gnu11.
+ // Until those warnings are fixed, disable these checks.
+ "-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling",
"android-*",
],
- tidy_flags: [
- "-warnings-as-errors=clang-analyzer-security*,cert-*,android-*",
+ tidy_checks_as_errors: [
+ "clang-analyzer-security*",
+ "cert-*",
+ "android-*",
],
sanitize: {
memtag_heap: true,