diff options
author | MÃ¥rten Kongstad <marten.kongstad@sony.com> | 2018-11-19 08:26:16 +0100 |
---|---|---|
committer | Todd Kennedy <toddke@google.com> | 2018-12-20 14:55:49 -0800 |
commit | 3c9bc617ca24e20dfd3614eb8719903046bdda61 (patch) | |
tree | 998da2dc0f1f0e43d197f131cb1029468910830d /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 222a0f4e21fb034d09257380c0a97da855657727 (diff) |
idmap2: improve Android.bp
Improve Android.bp in a few ways:
- add cc_defaults
- remove the tidy_flag "-warnings-as-errors=*"
A note on warnings-as-errors: the default set of tidy checks are
inherited from the lists in build/soong/cc/config/tidy.go. This set is
modified by the local Android.bp's tidy_checks. If a new check is
enabled as default, and idmap2 specifies warnings-as-errors, idmap2 will
potentially break the build. In light of this, keep warnings as
warnings.
Also add a few non-default tidy checks. This version of idmap2 doesn't
compile cleanly: fixes will come in future CLs.
Also exempt the auto-generated code from IIdmap2.aidl from clang-tidy by
containing it in a separate cc_library_static block.
Bug: 120024673
Test: mmm frameworks/base/cmds/idmap2
Change-Id: I589fce792075a44a77b79117aa16b63ef0bec142
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions