diff options
| author | 2020-11-16 07:48:58 +0000 | |
|---|---|---|
| committer | 2020-11-16 07:48:58 +0000 | |
| commit | 6675ea299d1eb71433db4c92df8dcd16e4d7c963 (patch) | |
| tree | 4268b9b57111216ee5395e74d8925485d5a60dcd /libs | |
| parent | eb4d3a3a11f9cac27f56484fc204720ed53488be (diff) | |
| parent | 1331daf027006506055b9aca10866999ed116b89 (diff) | |
Merge "binder: enable tidy" am: 270193009f am: e22858a2a3 am: 1331daf027
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1498620
Change-Id: I2b2c9696814d57cf31c4522fda85f491c83bf8f9
Diffstat (limited to 'libs')
| -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 |