diff options
| author | 2021-04-08 11:47:00 +0100 | |
|---|---|---|
| committer | 2021-04-13 12:42:44 +0100 | |
| commit | 6ef5779c988af610e5ff18866479e5a8ff296d9d (patch) | |
| tree | 4fc019c1e63637d4ebbebf5c26999da7a2ce1dbc /tools/warn/java_warn_patterns.py | |
| parent | d58ae982cf87f8a9db0fae74ebeabe423a12582a (diff) | |
Don't expect all Java modules to have a manifest.
Some libraries that go through manifest_check do not have a manifest or
APK, so there is nothing to check LOCAL_USES_LIBRARIES and
LOCAL_OPTIONAL_USES_LIBRARIES against. Handle it as if the manifest had
zero <uses-library> tags: don't fail the build unless the module has
non-empty LOCAL_USES_LIBRARIES or LOCAL_OPTIONAL_USES_LIBRARIES.
Bug: 132357300
Test: lunch cf_x86_64_phone-userdebug && m
Change-Id: I4b1317cfbd93cb6129caba51b56081307a564442
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions