Use tidy_checks_as_errors not -warnings-as-errors

The flag -warnings-as-errors embedded in tidy_flags
is difficult to process and error-prone.
They should be replaced with the new tidy_checks_as_errors list.

Bug: 229801437
Test: make tidy-system-netd
Change-Id: I37cace79dbbfddc8156dd7140f71a02e4ed5fb5e
1 file changed
tree: b8681a6dec36df19df4677f1cb4b7a7b467fa830
  1. client/
  2. include/
  3. netutils_wrappers/
  4. server/
  5. tests/
  6. .editorconfig
  7. Android.bp
  8. NOTICE
  9. OWNERS
  10. PREUPLOAD.cfg
  11. TEST_MAPPING