diff options
| -rw-r--r-- | libs/binder/Android.bp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/binder/Android.bp b/libs/binder/Android.bp index 1800481343..eef4e74f48 100644 --- a/libs/binder/Android.bp +++ b/libs/binder/Android.bp @@ -189,6 +189,9 @@ cc_library { // Only check our headers "--header-filter=^.*frameworks/native/libs/binder/.*.h$", ], + tidy_checks: [ + "-performance-no-int-to-ptr", + ], tidy_checks_as_errors: [ // Explicitly list the checks that should not occur in this module. "abseil-*", @@ -209,7 +212,6 @@ cc_library { "-misc-redundant-expression", "-misc-unused-using-decls", "performance*", - "-performance-no-int-to-ptr", "portability*", ], |