summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-04-28 15:56:04 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-04-28 15:56:04 +0000
commitfc4dd9fb52ce97dfc4fc7c02f6dd31172f2cc9eb (patch)
treee87116ab6a8bea17909f854bee2d99361387d013
parent06eea4b86dc8c073491961c099ec227507687885 (diff)
parent78444cbb65297f7fe5ff18adaecd03f46e72290e (diff)
downloadandroid-clat-android13-frc-media-release.tar.gz
Snap for 8512216 from 78444cbb65297f7fe5ff18adaecd03f46e72290e to tm-frc-media-releaset_frc_med_330443030android13-frc-media-release
Change-Id: Id6141176313975a7dc28d5851d2fa606d9534d01
-rw-r--r--Android.bp10
1 files changed, 8 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 7a8ba03..982e656 100644
--- a/Android.bp
+++ b/Android.bp
@@ -77,10 +77,16 @@ cc_binary {
"-*",
"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,