diff options
Diffstat (limited to 'adb/Android.bp')
| -rw-r--r-- | adb/Android.bp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/adb/Android.bp b/adb/Android.bp index 2fc205faed..87ac54d06e 100644 --- a/adb/Android.bp +++ b/adb/Android.bp @@ -12,6 +12,11 @@ // See the License for the specific language governing permissions and // limitations under the License. +tidy_errors = [ + "-*", + "bugprone-inaccurate-erase", +] + cc_defaults { name: "adb_defaults", @@ -73,6 +78,10 @@ cc_defaults { ], }, }, + + tidy: true, + tidy_checks: tidy_errors, + tidy_checks_as_errors: tidy_errors, } cc_defaults { |
