hidl: thermal: Migrate to `tidy_checks_as_errors`
authorLuK1337 <priv.luk@gmail.com>
Sat, 21 Oct 2023 12:12:18 +0000 (14:12 +0200)
committerLuK1337 <priv.luk@gmail.com>
Sat, 21 Oct 2023 12:12:18 +0000 (14:12 +0200)
Change-Id: If59ddc2d3b6c08308422b4a8a9ce1003541bd0ec

hidl/thermal/Android.bp

index f5e06463e1fffae67daa9bccaf0147782eeb7fea..5d6045b805919d41ddd5e4fb4f106ddce887d8f1 100644 (file)
@@ -35,14 +35,11 @@ cc_binary {
     "-Wunused",
   ],
   tidy: true,
-  tidy_checks: [
+  tidy_checks_as_errors: [
     "android-*",
     "cert-*",
     "clang-analyzer-security*",
   ],
-  tidy_flags: [
-    "-warnings-as-errors=android-*,clang-analyzer-security*,cert-*"
-  ],
 }
 
 sh_binary {