summaryrefslogtreecommitdiff
path: root/cmds/idmap2
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2020-06-10 23:09:09 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-06-10 23:09:09 +0000
commit1588869c9772fb8f42fff6b82f16e3478169b9c6 (patch)
tree71fb8b39cc902d43b4fb0fc086d6ba2763179367 /cmds/idmap2
parent30caf1ed99e53e0c50d9b69bc158219a163209f4 (diff)
parent52a2ca94a83b4160e0d7d9904ee04c5ead54ecfa (diff)
Use `tidy_checks_as_errors` list instead of `-warnings-as-errors=*` am: ab17065423 am: 52a2ca94a8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1326398 Change-Id: If4d0a362ec646adabf135769c75fbce64a86a624
Diffstat (limited to 'cmds/idmap2')
-rw-r--r--cmds/idmap2/Android.bp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmds/idmap2/Android.bp b/cmds/idmap2/Android.bp
index f452c797f6f1..67a7930fbe5d 100644
--- a/cmds/idmap2/Android.bp
+++ b/cmds/idmap2/Android.bp
@@ -15,7 +15,7 @@
cc_defaults {
name: "idmap2_defaults",
tidy: true,
- tidy_checks: [
+ tidy_checks_as_errors: [
"modernize-*",
"-modernize-avoid-c-arrays",
"-modernize-use-trailing-return-type",
@@ -25,7 +25,6 @@ cc_defaults {
],
tidy_flags: [
"-system-headers",
- "-warnings-as-errors=*,-bugprone*",
],
}