diff options
| -rw-r--r-- | libs/binder/Android.bp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libs/binder/Android.bp b/libs/binder/Android.bp index e0d5378b19..d4cc907bde 100644 --- a/libs/binder/Android.bp +++ b/libs/binder/Android.bp @@ -172,6 +172,20 @@ cc_library { misc_undefined: ["integer"], }, min_sdk_version: "29", + + tidy: true, + tidy_flags: [ + // Only check our headers + "--header-filter=^.*frameworks/native/libs/binder/.*.h$", + ], + tidy_checks_as_errors: [ + "*", + "-google-build-using-namespace", + "-google-default-arguments", + "-google-explicit-constructor", + "-google-runtime-int", + "-performance-unnecessary-value-param", + ], } // AIDL interface between libbinder and framework.jar |